5#ifndef NIRT_I_GUI_WINDOW_HPP_INCLUDED
6#define NIRT_I_GUI_WINDOW_HPP_INCLUDED
8#include <nirtcpp/core/engine/IGUIElement.hpp>
9#include <nirtcpp/core/engine/EMessageBoxFlags.hpp>
Axis aligned bounding box in 3d dimensional space.
Definition aabbox3d.hpp:22
Base class of all GUI elements.
Definition IGUIElement.hpp:24
virtual void draw()
Draws the element and its children.
Definition IGUIElement.hpp:331
GUI Environment. Used as factory and manager of all other GUI elements.
Definition IGUIEnvironment.hpp:73
Default moveable window GUI element with border, caption and close icons.
Definition IGUIWindow.hpp:22
virtual IGUIButton * getMaximizeButton() const =0
Returns pointer to the maximize button.
virtual bool getDrawBackground() const =0
Get if the window background will be drawn.
IGUIWindow(IGUIEnvironment *environment, IGUIElement *parent, s32 id, core::rect< s32 > rectangle)
constructor
Definition IGUIWindow.hpp:26
virtual bool isDraggable() const =0
Returns true if the window can be dragged with the mouse, false if not.
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.
virtual bool getDrawTitlebar() const =0
Get if the window titlebar will be drawn.
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 void setDrawBackground(bool draw)=0
Set if the window background will be drawn.
@ EGUIET_WINDOW
A window.
Definition EGUIElementTypes.hpp:86
As of Nirtcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
signed int s32
32 bit signed variable.
Definition irrTypes.hpp:72