struct ICON_MENU_STATE
The icon menu: up to six command icons in a row, the windows of their labels, the icons' resource ids, the selection and the layout.
Declared in icon_menu.h.
Fields
| Name | Description | |
|---|---|---|
ICON_MENU_ENTRY | entries [6] | |
WINDOW * | window | the label window naming the selected icon |
WINDOW * | lowerWindow | password level / transfer explanation window, below heading |
WINDOW * | upperWindow | those menus' heading window |
Uint8 | commandIcons [8] | icon ids, also command names (MsgCommandName + id) |
Sint16 | selection | the icon chosen, 0 to count - 1 |
Sint16 | count | icons in the row, up to 6 |
Sint16 | width | tiles |
Sint16 | labelBase | first label msg (+ selection), or 0 for command names |
Sint16 | row | tiles |
Sint16 | drawnSelection | selection explanation was last drawn for; -1 redraws |
Description
The icon menu: up to six command icons in a row, the windows of their labels, the icons' resource ids, the selection and the layout.
struct ICON_MENU_STATE
Referenced by mnIconMenuAddIcon(), mnIconMenuAnimateTo(), mnIconMenuCenter(), mnIconMenuChooseSendOption(), mnIconMenuClose(), mnIconMenuDrawIcons(), mnIconMenuLayoutIcons(), mnIconMenuOpen(), mnIconMenuRun(), mnPasswordLevelMenuDrawContents() and mnTransferMethodMenuDrawHelp().
Definition at line 27 of file icon_menu.h.
Fields in detail
entries
ICON_MENU_ENTRY entries[6]
window
WINDOW *window
the label window naming the selected icon
lowerWindow
WINDOW *lowerWindow
password level / transfer explanation window, below heading
upperWindow
WINDOW *upperWindow
those menus' heading window
commandIcons
Uint8 commandIcons[8]
icon ids, also command names
(MsgCommandName + id)
selection
Sint16 selection
the icon chosen, 0 to count - 1
count
Sint16 count
icons in the row, up to 6
width
Sint16 width
tiles
labelBase
Sint16 labelBase
first label msg (+ selection), or 0 for command names
row
Sint16 row
tiles
drawnSelection
Sint16 drawnSelection
selection explanation was last drawn for; -1 redraws