Inheritance diagram for Exponent::GUI::Controls::CSelectableMenuItem:
Definition at line 34 of file CSelectableMenuItem.hpp.
Exponent::GUI::Controls::CSelectableMenuItem::CSelectableMenuItem | ( | const CString & | text, | |
const long | id, | |||
const bool | selected = false | |||
) |
Construction
text | The string to display | |
id | The unique ID of this menu item | |
selected | True if item is selected, false otherwise |
virtual Exponent::GUI::Controls::CSelectableMenuItem::~CSelectableMenuItem | ( | ) | [virtual] |
Destruction
virtual IImage* Exponent::GUI::Controls::CSelectableMenuItem::getUnCheckedImage | ( | ) | const [inline, virtual] |
Get the unchecked image
IImage* | The unchecked image, may be NULL |
Definition at line 86 of file CSelectableMenuItem.hpp.
References m_unCheckedImage.
virtual bool Exponent::GUI::Controls::CSelectableMenuItem::isSelected | ( | ) | const [inline, virtual] |
Is the item selected
bool | True if the item is selected, false otherwise |
Definition at line 71 of file CSelectableMenuItem.hpp.
References m_isSelected.
virtual void Exponent::GUI::Controls::CSelectableMenuItem::setSelected | ( | const bool | selected = true |
) | [inline, virtual] |
Set the item selected
selected | True if the item is selected, false otherwise |
Definition at line 65 of file CSelectableMenuItem.hpp.
References m_isSelected.
virtual void Exponent::GUI::Controls::CSelectableMenuItem::setUnCheckedImage | ( | IImage * | unChecked | ) | [inline, virtual] |
Set the unchecked image (other images are : normal(checked) rollover(rollover)
unChecked | The unchecked image |
Definition at line 77 of file CSelectableMenuItem.hpp.
References EXCHANGE_COUNTED_OBJECTS, and m_unCheckedImage.
bool Exponent::GUI::Controls::CSelectableMenuItem::m_isSelected [protected] |
is the item currently selected
Definition at line 94 of file CSelectableMenuItem.hpp.
Referenced by isSelected(), and setSelected().
IImage* Exponent::GUI::Controls::CSelectableMenuItem::m_unCheckedImage [protected] |
the image to use to uncheck this
Definition at line 95 of file CSelectableMenuItem.hpp.
Referenced by getUnCheckedImage(), and setUnCheckedImage().