Representation of an individual menu. More...
#include <core/ctk/ctk.h>
Data Fields | |
struct ctk_menu * | next |
Apointer to the next menu, or is NULL if this is the last menu, and should be used by the ctk-draw module when stepping through the menus when drawing them on screen. | |
char * | title |
The menu title. | |
unsigned char | titlelen |
The length of the title in characters. | |
unsigned char | nitems |
The total number of menu items in the menu. | |
unsigned char | active |
The currently active menu item. | |
struct ctk_menuitem | items [CTK_MAXMENUITEMS] |
The array which contains all the menu items. |
Representation of an individual menu.
Definition at line 585 of file ctk.h.
unsigned char ctk_menu::active |
struct ctk_menuitem ctk_menu::items[CTK_MAXMENUITEMS] [read] |
struct ctk_menu* ctk_menu::next [read] |
Apointer to the next menu, or is NULL if this is the last menu, and should be used by the ctk-draw module when stepping through the menus when drawing them on screen.
Definition at line 586 of file ctk.h.
Referenced by ctk_draw_menus(), ctk_menu_add(), and ctk_menu_remove().
unsigned char ctk_menu::nitems |
char* ctk_menu::title |
unsigned char ctk_menu::titlelen |