5 #ifndef __I_GUI_WINDOW_H_INCLUDED__
6 #define __I_GUI_WINDOW_H_INCLUDED__
Base class of all GUI elements.
virtual void draw()
Draws the element and its children.
GUI Environment. Used as factory and manager of all other GUI elements.
Default moveable window GUI element with border, caption and close icons.
virtual bool isDraggable() const =0
Returns true if the window can be dragged with the mouse, false if not.
virtual bool getDrawTitlebar() const =0
Get if the window titlebar will be drawn.
virtual bool getDrawBackground() const =0
Get if the window background will be drawn.
virtual void setDrawBackground(bool draw)=0
Set if the window background will be drawn.
virtual IGUIButton * getMaximizeButton() const =0
Returns pointer to the maximize button.
IGUIWindow(IGUIEnvironment *environment, IGUIElement *parent, s32 id, core::rect< s32 > rectangle)
constructor
virtual IGUIButton * getMinimizeButton() const =0
Returns pointer to the minimize button.
virtual core::rect< s32 > getClientRect() const =0
Returns the rectangle of the drawable area (without border and without titlebar)
virtual IGUIButton * getCloseButton() const =0
Returns pointer to the close button.
virtual void setDrawTitlebar(bool draw)=0
virtual void setDraggable(bool draggable)=0
Sets whether the window can be dragged by the mouse.
Everything in the Irrlicht Engine can be found in this namespace.
signed int s32
32 bit signed variable.