5#ifndef __I_GUI_WINDOW_H_INCLUDED__
6#define __I_GUI_WINDOW_H_INCLUDED__
virtual void draw()
Draws the element and its children.
IGUIElement(EGUI_ELEMENT_TYPE type, IGUIEnvironment *environment, IGUIElement *parent, s32 id, const core::rect< s32 > &rectangle)
Constructor.
GUI Environment. Used as factory and manager of all other GUI elements.
virtual IGUIButton * getMinimizeButton() const =0
Returns pointer to the minimize button.
virtual bool isDraggable() const =0
Returns true if the window can be dragged with the mouse, false if not.
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 bool getDrawBackground() const =0
Get if the window background will be drawn.
virtual IGUIButton * getMaximizeButton() const =0
Returns pointer to the maximize button.
virtual void setDrawBackground(bool draw)=0
Set if the window background will be drawn.
IGUIWindow(IGUIEnvironment *environment, IGUIElement *parent, s32 id, core::rect< s32 > rectangle)
constructor
virtual void setDrawTitlebar(bool draw)=0
virtual void setDraggable(bool draggable)=0
Sets whether the window can be dragged by the mouse.
virtual IGUIButton * getCloseButton() const =0
Returns pointer to the close button.
The gui namespace contains useful classes for easy creation of a graphical user interface.
Everything in the Irrlicht Engine can be found in this namespace.
signed int s32
32 bit signed variable.