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-2012 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 
21  class IGUIWindow : public IGUIElement
22  {
23  public:
24 
26  IGUIWindow(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
27  : IGUIElement(EGUIET_WINDOW, environment, parent, id, rectangle) {}
28 
30 
31  virtual IGUIButton* getCloseButton() const = 0;
32 
34 
35  virtual IGUIButton* getMinimizeButton() const = 0;
36 
38 
39  virtual IGUIButton* getMaximizeButton() const = 0;
40 
42  virtual bool isDraggable() const = 0;
43 
45  virtual void setDraggable(bool draggable) = 0;
46 
48  virtual void setDrawBackground(bool draw) = 0;
49 
51  virtual bool getDrawBackground() const = 0;
52 
55  virtual void setDrawTitlebar(bool draw) = 0;
56 
58  virtual bool getDrawTitlebar() const = 0;
59 
61 
66  virtual core::rect<s32> getClientRect() const = 0;
67  };
68 
69 
70 } // end namespace gui
71 } // end namespace irr
72 
73 #endif
74 

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Mon May 6 2013 17:41:01 by Doxygen (1.8.3.1)