26 #include "common/str.h" 27 #include "lure/luredefs.h" 28 #include "lure/disk.h" 29 #include "lure/screen.h" 30 #include "lure/surface.h" 31 #include "lure/events.h" 39 uint16 contentsX, contentsWidth;
49 uint16 _xstart, _width;
50 uint16 _hsxstart, _hsxend;
51 const char **_entries;
57 uint16 xstart() {
return _xstart; }
58 uint16 width() {
return _width; }
59 uint16 hsxstart() {
return _hsxstart; }
60 uint16 hsxend() {
return _hsxend; }
61 uint8 numEntries() {
return _numEntries; }
62 const char **entries() {
return _entries; }
63 const char *getEntry(uint8 index);
75 uint8 getIndexAt(uint16 x, uint16 y);
77 void toggleHighlightItem(uint8 index);
81 static Menu &getReference();
83 MenuRecord &getMenu(uint8 index) {
return *_menus[index]; }
88 static Action Show(uint32 actionMask);
89 static Action Show(
int numEntries, Action *actions);
90 static uint16 Show(
int numEntries,
const char *actions[]);
91 static uint16 ShowInventory();
92 static uint16 ShowItems(Action contextAction, uint16 roomNumber);
Language
Definition: language.h:45