FDOSTUI
FreeDOS Text User Interface
Public Attributes | List of all members
menuitem Struct Reference

a menu item More...

Public Attributes

unsigned char const * m_label
 
unsigned int m_mnemonic_offset
 
unsigned char const * m_accel_label
 
enum scancodes m_accel_scancode
 
unsigned int m_flags
 
menuitem_signal_t m_signal
 
void * m_user_data
 

Detailed Description

a menu item

Member Data Documentation

◆ m_accel_label

menuitem::m_accel_label

accelerator label (displayed as entered). The life of the label should outlast the life of the menu item. The label should reflect the m_accell_scancode.

◆ m_accel_scancode

menuitem::m_accel_scancode

accelerator scan code

◆ m_flags

menuitem::m_flags

bit mask of menuitem_flags

◆ m_label

menuitem::m_label

menu item label (displayed as entered). The life of the label should outlast the life of the menu item.

◆ m_mnemonic_offset

menuitem::m_mnemonic_offset

zero based offset of the mnemonic.

◆ m_signal

menuitem::m_signal

signal to emit when the user selects an item

◆ m_user_data

menuitem::m_user_data

user defined data to send as a parameter to the signal when emitted


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