CTWM
Loading...
Searching...
No Matches
Data Fields
MenuItem Struct Reference

#include <menus.h>

Collaboration diagram for MenuItem:
[legend]

Data Fields

struct MenuItemnext
 
struct MenuItemprev
 
struct MenuRootsub
 
struct MenuRootroot
 
charitem
 
charaction
 
ColorPair normal
 
ColorPair highlight
 
short item_num
 
short x
 
short func
 
bool state
 
short strlen
 
bool user_colors
 
bool separated
 

Detailed Description

Definition at line 48 of file menus.h.

Field Documentation

◆ action

char* MenuItem::action

Definition at line 54 of file menus.h.

Referenced by f_menu_impl(), HandleButtonRelease(), and HandleKeyPress().

◆ func

short MenuItem::func

◆ highlight

ColorPair MenuItem::highlight

Definition at line 56 of file menus.h.

◆ item

char* MenuItem::item

Definition at line 53 of file menus.h.

Referenced by AddToMenu(), HandleKeyPress(), and UpdateMenu().

◆ item_num

short MenuItem::item_num

Definition at line 57 of file menus.h.

Referenced by HandleKeyPress(), MakeMenu(), and UpdateMenu().

◆ next

struct MenuItem* MenuItem::next

Definition at line 49 of file menus.h.

Referenced by AddToMenu(), DestroyMenu(), HandleKeyPress(), MakeMenu(), and WarpCursorToDefaultEntry().

◆ normal

ColorPair MenuItem::normal

Definition at line 55 of file menus.h.

◆ prev

struct MenuItem* MenuItem::prev

Definition at line 50 of file menus.h.

Referenced by AddToMenu().

◆ root

struct MenuRoot* MenuItem::root

Definition at line 52 of file menus.h.

◆ separated

bool MenuItem::separated

Definition at line 63 of file menus.h.

◆ state

bool MenuItem::state

Definition at line 60 of file menus.h.

Referenced by HandleEnterNotify(), HandleKeyPress(), PopDownMenu(), and UpdateMenu().

◆ strlen

short MenuItem::strlen

Definition at line 61 of file menus.h.

◆ sub

struct MenuRoot* MenuItem::sub

Definition at line 51 of file menus.h.

Referenced by f_menu_impl(), HandleKeyPress(), and UpdateMenu().

◆ user_colors

bool MenuItem::user_colors

Definition at line 62 of file menus.h.

◆ x

short MenuItem::x

Definition at line 58 of file menus.h.

Referenced by HandleKeyPress().


The documentation for this struct was generated from the following file: