diff options
Diffstat (limited to 'engines/m4/scene.h')
-rw-r--r-- | engines/m4/scene.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/engines/m4/scene.h b/engines/m4/scene.h index 092ae8372b..b684750b18 100644 --- a/engines/m4/scene.h +++ b/engines/m4/scene.h @@ -127,6 +127,29 @@ private: void nextCommonCursor(); }; +enum FontMode {MODE_0, MODE_1, MODE_2}; + +class InterfaceElement: public View { +protected: + void setFontMode(FontMode newMode); +public: + InterfaceElement(M4Engine *vm, const Common::Rect &viewBounds, bool transparent = true); + ~InterfaceElement() {}; +}; + +class ActionsView: public InterfaceElement { +private: + int _highlightedAction; + + void getActionRect(int actionId, Common::Rect &bounds); +public: + ActionsView(M4Engine *vm); + ~ActionsView() {}; + + void onRefresh(RectList *rects, M4Surface *destSurface); + bool onEvent(M4EventType eventType, int param1, int x, int y, bool &captureEvents); +}; + } // End of namespace M4 #endif |