diff options
Diffstat (limited to 'engines/lure/menu.h')
-rw-r--r-- | engines/lure/menu.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/engines/lure/menu.h b/engines/lure/menu.h index 4f0b3297ed..41a0356890 100644 --- a/engines/lure/menu.h +++ b/engines/lure/menu.h @@ -38,6 +38,16 @@ namespace Lure { +struct MenuRecordBounds { + uint16 left, right; + uint16 contentsX, contentsWidth; +}; + +struct MenuRecordLanguage { + Common::Language language; + MenuRecordBounds menus[3]; +}; + class MenuRecord { private: uint16 _xstart, _width; @@ -45,8 +55,7 @@ private: const char **_entries; uint8 _numEntries; public: - MenuRecord(uint16 hsxstartVal, uint16 hsxendVal, uint16 xstartVal, uint16 widthVal, - int numParams, ...); + MenuRecord(const MenuRecordBounds *bounds, int numParams, ...); uint16 xstart() { return _xstart; } uint16 width() { return _width; } |