Inheritance diagram for os::CheckMenu:
Public Member Functions | |
CheckMenu (const String &cLabel, Message *pcMsg, bool bChecked=false) | |
CheckMenu (Menu *pcMenu, Message *pcMsg, bool bChecked=false) | |
~CheckMenu () | |
virtual void | Draw () |
Draws the os::MenuItem. | |
virtual void | SetHighlighted (bool bHighlighted) |
Tells the system to highlight or unhighlight this element. | |
virtual Point | GetContentSize () const |
bool | IsChecked () const |
Find out if the menu is currently selected. | |
void | SetChecked (bool bChecked) |
Check or uncheck a menu. | |
virtual bool | Invoked (Message *pcMessage) |
Intercept outgoing messages. | |
virtual bool | IsSelectable () const |
Tells the system whether or not this item can be selected. |
CheckMenu::~CheckMenu | ( | ) |
void CheckMenu::Draw | ( | ) | [virtual] |
Reimplemented from os::MenuItem.
void CheckMenu::SetHighlighted | ( | bool | bHighlighted | ) | [virtual] |
..
bHighlighted | - To highlight this element set this to true(default) and to unhighlight set this to false. |
Reimplemented from os::MenuItem.
Point CheckMenu::GetContentSize | ( | ) | const [virtual] |
bool CheckMenu::IsChecked | ( | ) | const |
void CheckMenu::SetChecked | ( | bool | bChecked | ) |
bChecked | - True to check the menu, or false to uncheck |
bool CheckMenu::Invoked | ( | Message * | pcMessage | ) | [virtual] |
pcMessage | Pointer to the message that is about to be sendt. You can do any modification you like to this message (but never delete it). |
Reimplemented from os::MenuItem.
bool CheckMenu::IsSelectable | ( | ) | const [virtual] |
Reimplemented from os::MenuItem.