Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials
IGUIWindow.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2010 Nikolaus Gebhardt
2 // This file is part of the "Irrlicht Engine".
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
4 
5 #ifndef __I_GUI_WINDOW_H_INCLUDED__
6 #define __I_GUI_WINDOW_H_INCLUDED__
7 
8 #include "IGUIElement.h"
9 #include "EMessageBoxFlags.h"
10 
11 namespace irr
12 {
13 namespace gui
14 {
15  class IGUIButton;
16 
18  class IGUIWindow : public IGUIElement
19  {
20  public:
21 
23  IGUIWindow(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
24  : IGUIElement(EGUIET_WINDOW, environment, parent, id, rectangle) {}
25 
27 
28  virtual IGUIButton* getCloseButton() const = 0;
29 
31 
32  virtual IGUIButton* getMinimizeButton() const = 0;
33 
35 
36  virtual IGUIButton* getMaximizeButton() const = 0;
37 
39  virtual bool isDraggable() const = 0;
40 
42  virtual void setDraggable(bool draggable) = 0;
43 
45  virtual void setDrawBackground(bool draw) = 0;
46 
48  virtual bool getDrawBackground() const = 0;
49 
52  virtual void setDrawTitlebar(bool draw) = 0;
53 
55  virtual bool getDrawTitlebar() const = 0;
56 
58 
63  virtual core::rect<s32> getClientRect() const = 0;
64  };
65 
66 
67 } // end namespace gui
68 } // end namespace irr
69 
70 #endif
71 

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Tue Jun 5 2012 17:57:12 by Doxygen (1.8.1)