#include <camenuselect.h>
Inheritance diagram for CAMenuSelect:

Public Member Functions | |
| CAMenuSelect (CAMenu *menu, int pos, const char *label, const char *valueList, int *result) | |
| Constructor for selections of more than two items. | |
| CAMenuSelect (CAMenu *menu, int pos, const char *label, const char *valueList, bool *result) | |
| Constructor for selections of two items. | |
| ~CAMenuSelect () | |
| Destructor. | |
| virtual int | rtti () |
| Returns rtti of this menu item. | |
| virtual void | display (bool highlight) |
| Displays the item. | |
| virtual void | handleKey (const CL_Key &key) |
| Handles keys on this label. | |
| int | getSelectedItem () |
| void | setSelectedItem (int index) |
That's kind of a combobox, isn't it?
| CAMenuSelect::CAMenuSelect | ( | CAMenu * | menu, | |
| int | pos, | |||
| const char * | label, | |||
| const char * | valueList, | |||
| int * | result | |||
| ) |
Constructor for selections of more than two items.
| menu | Pointer to menu | |
| pos | Position of the item in the menu (0=top position) | |
| label | Menu item label. | |
| valueList | List of possible values. Format: "value1~value2~value3~..." | |
| result | Pointer to store the index of the selected item (0=first item of list) |
| CAMenuSelect::CAMenuSelect | ( | CAMenu * | menu, | |
| int | pos, | |||
| const char * | label, | |||
| const char * | valueList, | |||
| bool * | result | |||
| ) |
Constructor for selections of two items.
| menu | Pointer to menu | |
| pos | Position of the item in the menu (0=top position) | |
| label | Menu item label. | |
| valueList | List of possible values. Format: "value1~value2" | |
| result | Pointer to store the index of the selected item (0=first item of list) |
| virtual int CAMenuSelect::rtti | ( | ) | [inline, virtual] |
1.5.0