#include <camenuitem.h>
Inheritance diagram for CAMenuItem:

Public Member Functions | |
| CAMenuItem (CAMenu *menu, int pos, const char *label) | |
| Constructor. | |
| virtual | ~CAMenuItem () |
| Destructor. | |
| virtual int | rtti () |
| Returns rtti of this menu item. | |
| virtual void | display (bool highlight)=0 |
| virtual void | handleKey (const CL_Key &key)=0 |
| void | setLabel (const char *l) |
| Sets a new label for this menu item. | |
Protected Attributes | |
| CAMenu * | menu |
| Pointer to menu. | |
| int | pos |
| Position of this menu item (0 is the top position). | |
| int | top |
| Top position of this menu item (in pixel). | |
| CL_String | label |
| The label of this menu item. | |
| virtual int CAMenuItem::rtti | ( | ) | [inline, virtual] |
Returns rtti of this menu item.
CA_MI_VIRTUAL for virtual menu items (should never happen).
Reimplemented in CAMenuInput, CAMenuLabel, and CAMenuSelect.
1.5.0