hollyhock
Public Types | Public Member Functions | List of all members
GUIDropDownMenuItem Class Reference
Inheritance diagram for GUIDropDownMenuItem:
Inheritance graph
[legend]
Collaboration diagram for GUIDropDownMenuItem:
Collaboration graph
[legend]

Public Types

enum  Flag : int { FlagTextAlignRight = 1 << 5 , FlagTextAlignLeft = 1 << 6 , FlagEnabled = 1 << 15 }
 

Public Member Functions

 GUIDropDownMenuItem (const char *s, int idx, int flags)
 
- Public Member Functions inherited from Wrapped
template<typename T >
T * GetWrapped ()
 

Additional Inherited Members

- Protected Member Functions inherited from Wrapped
 Wrapped (Wrapped const &)=delete
 
void operator= (Wrapped const &)=delete
 
- Protected Attributes inherited from Wrapped
void * m_wrapped
 A pointer to the wrapped class.
 

Member Enumeration Documentation

◆ Flag

Enumerator
FlagTextAlignRight 

Align the text of the item within the drop down to the right.

FlagTextAlignLeft 

Align the text of the item within the drop down to the left.

FlagEnabled 

Allow the item to be selected.

Constructor & Destructor Documentation

◆ GUIDropDownMenuItem()

GUIDropDownMenuItem::GUIDropDownMenuItem ( const char *  text,
int  index,
int  flags 
)

Creates a item for a drop down menu (GUIDropDownMenu).

Parameters
textThe item's text.
indexA unique 1-based index for the item.
flagsA bitfield of flags specified by bitwise-ORing members of the Flag enum.

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