|
![]() |
Apocalypse mirror
Sourceforge mirror |
| News | Info | Characters | Arenas | Screenshots | Forums | Download | ||||
| Developer: | Making of | Character-HOWTO | AI Design | Submit a Character | |||
| Documentation: | Main Page | Modules | Class Hierarchy | Class List | File List |
#include <menu.h>
Inheritance diagram for CEnumMenuItem:

Public Member Functions | |
| CEnumMenuItem (CMenu *a_poMenu, int a_iInitialValue, const char *a_pcUtf8Text, int a_iCode=-1) | |
| virtual | ~CEnumMenuItem () |
| int | GetCurrentValue () |
| const char * | GetCurrentText () |
| virtual void | Draw () |
| virtual void | Increment () |
| virtual void | Decrement () |
| virtual void | SetEnumValues (const char **a_ppcNames, const int *a_piValues) |
| virtual void | SetMaxValue (int a_iMaxValue) |
Protected Attributes | |
| int | m_iValue |
| int | m_iMax |
| std::string | m_sUtf8Title |
| const char ** | m_ppcNames |
| const int * | m_piValues |
The user can switch between these values by incrementing and decrementing the value with the left and right arrow keys.
|
||||||||||||||||||||
|
|
|
|
|
|
|
Reimplemented from CMenuItem. |
|
|
Reimplemented from CMenuItem. |
|
|
|
|
|
|
|
|
Reimplemented from CMenuItem. |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|