Public Member Functions

sp::gui::GUIMenuItem Class Reference

#include <spGUIMenuItem.hpp>

Inheritance diagram for sp::gui::GUIMenuItem:
sp::gui::GUIBaseObject

List of all members.

Public Member Functions

 GUIMenuItem (const EMenuItemTypes Type, const io::stringc &Text="")
 ~GUIMenuItem ()
bool update (const dim::point2di &Position)
void draw ()
void setText (const io::stringc &Text)
void setParent (GUIMenuItem *Parent)
void addChild (GUIMenuItem *Child)
void removeChild (GUIMenuItem *Child)
void setColor (const video::color &Color)
EMenuItemTypes getType () const
io::stringc getText () const
io::stringc getExText () const
GUIMenuItemgetParent () const
void setExpand (bool isExpand)
bool getExpand () const
void setState (bool isChecked)
bool getState () const

Constructor & Destructor Documentation

sp::gui::GUIMenuItem::GUIMenuItem ( const EMenuItemTypes  Type,
const io::stringc Text = "" 
)
sp::gui::GUIMenuItem::~GUIMenuItem (  ) 

Member Function Documentation

void sp::gui::GUIMenuItem::addChild ( GUIMenuItem Child  ) 
void sp::gui::GUIMenuItem::draw (  ) 
bool sp::gui::GUIMenuItem::getExpand (  )  const [inline]
io::stringc sp::gui::GUIMenuItem::getExText (  )  const [inline]
GUIMenuItem* sp::gui::GUIMenuItem::getParent (  )  const [inline]
bool sp::gui::GUIMenuItem::getState (  )  const [inline]
io::stringc sp::gui::GUIMenuItem::getText (  )  const [inline]

Reimplemented from sp::gui::GUIBaseObject.

EMenuItemTypes sp::gui::GUIMenuItem::getType (  )  const [inline]
void sp::gui::GUIMenuItem::removeChild ( GUIMenuItem Child  ) 
void sp::gui::GUIMenuItem::setColor ( const video::color Color  ) 

Reimplemented from sp::gui::GUIBaseObject.

void sp::gui::GUIMenuItem::setExpand ( bool  isExpand  )  [inline]
void sp::gui::GUIMenuItem::setParent ( GUIMenuItem Parent  ) 
void sp::gui::GUIMenuItem::setState ( bool  isChecked  )  [inline]
void sp::gui::GUIMenuItem::setText ( const io::stringc Text  ) 

Reimplemented from sp::gui::GUIBaseObject.

bool sp::gui::GUIMenuItem::update ( const dim::point2di Position  ) 

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines