diff options
Diffstat (limited to 'engines/sci/gfx/menubar.h')
-rw-r--r-- | engines/sci/gfx/menubar.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/sci/gfx/menubar.h b/engines/sci/gfx/menubar.h index 5a440a480b..4c7281a36d 100644 --- a/engines/sci/gfx/menubar.h +++ b/engines/sci/gfx/menubar.h @@ -28,6 +28,7 @@ #ifndef SCI_GFX_SCI_MENUBAR_H #define SCI_GFX_SCI_MENUBAR_H +#include "sci/sci.h" // for INCLUDE_OLDGFX #include "sci/engine/vm_types.h" #include "sci/gfx/operations.h" @@ -138,8 +139,10 @@ public: //protected: // FIXME: This should be (partially) turned into a MenuItem constructor +#ifdef INCLUDE_OLDGFX int addMenuItem(GfxState *state, MenuType type, const char *left, const char *right, int font, int key, int modifiers, int tag, reg_t text_pos); +#endif }; @@ -171,8 +174,9 @@ public: * @param[in] font The font which is to be used for drawing * @param[in] entries_base Segmented VM address of the entries string */ +#ifdef INCLUDE_OLDGFX void addMenu(GfxState *state, const Common::String &title, const Common::String &entries, int font, reg_t entries_base); - +#endif /** * Sets the attributes for a menu item. |