Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials

irr::gui::IGUIWindow Class Reference

Default moveable window GUI element with border, caption and close icons. More...

#include <IGUIWindow.h>

Inheritance diagram for irr::gui::IGUIWindow:

irr::gui::IGUIElement irr::io::IAttributeExchangingObject irr::IEventReceiver irr::IReferenceCounted

List of all members.

Public Member Functions

virtual IGUIButtongetCloseButton () const =0
 Returns pointer to the close button.
virtual bool getDrawBackground () const =0
 Get if the window background will be drawn.
virtual bool getDrawTitlebar () const =0
 Get if the window titlebar will be drawn.
virtual IGUIButtongetMaximizeButton () const =0
 Returns pointer to the maximize button.
virtual IGUIButtongetMinimizeButton () const =0
 Returns pointer to the minimize button.
 IGUIWindow (IGUIEnvironment *environment, IGUIElement *parent, s32 id, core::rect< s32 > rectangle)
 constructor
virtual bool isDraggable () const =0
 Returns true if the window can be dragged with the mouse, false if not.
virtual void setDraggable (bool draggable)=0
 Sets whether the window can be dragged by the mouse.
virtual void setDrawBackground (bool draw)=0
 Set if the window background will be drawn.
virtual void setDrawTitlebar (bool draw)=0


Detailed Description

Default moveable window GUI element with border, caption and close icons.

Definition at line 18 of file IGUIWindow.h.


Constructor & Destructor Documentation

irr::gui::IGUIWindow::IGUIWindow ( IGUIEnvironment environment,
IGUIElement parent,
s32  id,
core::rect< s32 rectangle 
) [inline]

constructor

Definition at line 23 of file IGUIWindow.h.


Member Function Documentation

virtual IGUIButton* irr::gui::IGUIWindow::getCloseButton (  )  const [pure virtual]

Returns pointer to the close button.

virtual bool irr::gui::IGUIWindow::getDrawBackground (  )  const [pure virtual]

Get if the window background will be drawn.

virtual bool irr::gui::IGUIWindow::getDrawTitlebar (  )  const [pure virtual]

Get if the window titlebar will be drawn.

virtual IGUIButton* irr::gui::IGUIWindow::getMaximizeButton (  )  const [pure virtual]

Returns pointer to the maximize button.

virtual IGUIButton* irr::gui::IGUIWindow::getMinimizeButton (  )  const [pure virtual]

Returns pointer to the minimize button.

virtual bool irr::gui::IGUIWindow::isDraggable (  )  const [pure virtual]

Returns true if the window can be dragged with the mouse, false if not.

virtual void irr::gui::IGUIWindow::setDraggable ( bool  draggable  )  [pure virtual]

Sets whether the window can be dragged by the mouse.

virtual void irr::gui::IGUIWindow::setDrawBackground ( bool  draw  )  [pure virtual]

Set if the window background will be drawn.

virtual void irr::gui::IGUIWindow::setDrawTitlebar ( bool  draw  )  [pure virtual]

Set if the window titlebar will be drawn Note: If the background is not drawn, then the titlebar is automatically also not drawn


The documentation for this class was generated from the following file:

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2009 by Nikolaus Gebhardt. Generated on Sun Jan 10 09:24:11 2010 by Doxygen (1.5.6)