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