#include <spGUIBaseObject.hpp>
List of all members.
Public Member Functions |
| virtual | ~GUIBaseObject () |
| virtual void | setFont (video::Font *TextFont) |
| void | setID (u32 ID) |
| u32 | getID () const |
| void | setText (const io::stringc &Text) |
| io::stringc | getText () const |
| void | setColor (const video::color &Color) |
| video::color | getColor () const |
| void | setEnable (bool isEnabled) |
| bool | getEnable () const |
| video::Font * | getFont () const |
Protected Types |
| enum | EDrawTextFlags { DRAWTEXT_CENTER = 0x01,
DRAWTEXT_VCENTER = 0x02,
DRAWTEXT_RIGHT = 0x04,
DRAWTEXT_3D = 0x08
} |
Protected Member Functions |
| | GUIBaseObject () |
| void | drawFrame (const dim::rect2di &Rect, const video::color &Color, bool isFrame3D) |
| void | drawFrame (const dim::rect2di &Rect, const video::color &ColorA, const video::color &ColorB, const video::color &ColorC, const video::color &ColorD) |
| void | drawText (dim::point2di Pos, const io::stringc &Text, const video::color &Color=255, s32 Flags=DRAWTEXT_3D) |
| void | drawButton (const dim::rect2di &Rect, const video::color &Color=255, bool isMouseOver=false) |
| void | drawHatchedFace (const dim::rect2di &Rect) |
| bool | mouseOver (const dim::rect2di &Rect) const |
| bool | mouseLeft () const |
| bool | mouseRight () const |
| bool | mouseLeftUp () const |
| bool | mouseRightUp () const |
| bool | mouseLeftDown () const |
| bool | mouseRightDown () const |
| void | sendEvent (const EGUIEventObjects ObjectType, const EGUIEventTypes EventType) |
| void | sendEvent (const SGUIEvent &Event) |
Protected Attributes |
| u32 | ID_ |
| io::stringc | Text_ |
| video::color | Color_ |
| video::Font * | Font_ |
| bool | isEnabled_ |
Friends |
| class | GUIManager |
Member Enumeration Documentation
- Enumerator:
| DRAWTEXT_CENTER |
|
| DRAWTEXT_VCENTER |
|
| DRAWTEXT_RIGHT |
|
| DRAWTEXT_3D |
|
Constructor & Destructor Documentation
| virtual sp::gui::GUIBaseObject::~GUIBaseObject |
( |
|
) |
[virtual] |
| sp::gui::GUIBaseObject::GUIBaseObject |
( |
|
) |
[protected] |
Member Function Documentation
| void sp::gui::GUIBaseObject::drawButton |
( |
const dim::rect2di & |
Rect, |
|
|
const video::color & |
Color = 255, |
|
|
bool |
isMouseOver = false | |
|
) |
| | [protected] |
| void sp::gui::GUIBaseObject::drawFrame |
( |
const dim::rect2di & |
Rect, |
|
|
const video::color & |
Color, |
|
|
bool |
isFrame3D | |
|
) |
| | [protected] |
| void sp::gui::GUIBaseObject::drawHatchedFace |
( |
const dim::rect2di & |
Rect |
) |
[protected] |
| video::color sp::gui::GUIBaseObject::getColor |
( |
|
) |
const [inline] |
| bool sp::gui::GUIBaseObject::getEnable |
( |
|
) |
const [inline] |
| video::Font* sp::gui::GUIBaseObject::getFont |
( |
|
) |
const [inline] |
| u32 sp::gui::GUIBaseObject::getID |
( |
|
) |
const [inline] |
| io::stringc sp::gui::GUIBaseObject::getText |
( |
|
) |
const [inline] |
| bool sp::gui::GUIBaseObject::mouseLeft |
( |
|
) |
const [protected] |
| bool sp::gui::GUIBaseObject::mouseLeftDown |
( |
|
) |
const [protected] |
| bool sp::gui::GUIBaseObject::mouseLeftUp |
( |
|
) |
const [protected] |
| bool sp::gui::GUIBaseObject::mouseOver |
( |
const dim::rect2di & |
Rect |
) |
const [protected] |
| bool sp::gui::GUIBaseObject::mouseRight |
( |
|
) |
const [protected] |
| bool sp::gui::GUIBaseObject::mouseRightDown |
( |
|
) |
const [protected] |
| bool sp::gui::GUIBaseObject::mouseRightUp |
( |
|
) |
const [protected] |
| void sp::gui::GUIBaseObject::sendEvent |
( |
const SGUIEvent & |
Event |
) |
[protected] |
| void sp::gui::GUIBaseObject::setColor |
( |
const video::color & |
Color |
) |
[inline] |
| void sp::gui::GUIBaseObject::setEnable |
( |
bool |
isEnabled |
) |
[inline] |
| virtual void sp::gui::GUIBaseObject::setFont |
( |
video::Font * |
TextFont |
) |
[virtual] |
| void sp::gui::GUIBaseObject::setID |
( |
u32 |
ID |
) |
[inline] |
| void sp::gui::GUIBaseObject::setText |
( |
const io::stringc & |
Text |
) |
[inline] |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file:
- D:/SoftwareEntwicklung/C++/HLC/Tools/SoftPixelEngine/repository/sources/GUI/spGUIBaseObject.hpp