|
| | MenuItem (const Common::String &text, short x, short y, int shortcutKey=-1) |
| |
|
virtual void | activate (MenuEvent &event) |
| |
|
int | getId () const |
| |
|
short | getX () const |
| |
|
short | getY () const |
| |
|
int | getScOffset () const |
| |
|
virtual Common::String | getText () const |
| |
|
bool | isHighlighted () const |
| |
|
bool | isSelected () const |
| |
|
bool | isVisible () const |
| |
|
bool | hasShortcutKey (int key) const |
| |
|
bool | getClosesMenu () const |
| |
|
void | setId (int id) |
| |
|
void | setX (int x) |
| |
|
void | setY (int y) |
| |
|
void | setText (const Common::String &text) |
| |
|
void | setHighlighted (bool h=true) |
| |
|
void | setSelected (bool s=true) |
| |
|
void | setVisible (bool v=true) |
| |
|
void | addShortcutKey (int shortcutKey) |
| |
|
void | setClosesMenu (bool closesMenu) |
| |
|
|
int | _id |
| |
|
short | _x |
| |
|
short | _y |
| |
|
Common::String | _text |
| |
|
bool | _highlighted |
| |
|
bool | _selected |
| |
|
bool | _visible |
| |
|
int | _scOffset |
| |
|
Common::Array< int > | _shortcutKeys |
| |
|
bool | _closesMenu |
| |
◆ MenuItem()
| Ultima::Ultima4::MenuItem::MenuItem |
( |
const Common::String & |
text, |
|
|
short |
x, |
|
|
short |
y, |
|
|
int |
shortcutKey = -1 |
|
) |
| |
The documentation for this class was generated from the following file: