summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/optsmenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/ui/optsmenu.h')
-rw-r--r--src/frontend/mame/ui/optsmenu.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/frontend/mame/ui/optsmenu.h b/src/frontend/mame/ui/optsmenu.h
index 2afe9b68a89..b300ed90cd5 100644
--- a/src/frontend/mame/ui/optsmenu.h
+++ b/src/frontend/mame/ui/optsmenu.h
@@ -28,22 +28,22 @@ public:
virtual ~menu_simple_game_options() override;
protected:
- virtual void custom_render(void *selectedref, float top, float bottom, float x, float y, float x2, float y2) override;
- virtual void handle() override;
- virtual void populate(float &customtop, float &custombottom) override;
+ virtual bool handle(event const *ev) override;
+ virtual void populate() override;
- void handle_item_event(event const &menu_event);
+ bool handle_item_event(event const &menu_event);
private:
enum
{
DISPLAY_MENU = 1001,
SOUND_MENU,
- CONTROLLER_MENU,
MISC_MENU,
+ CONTROLLER_MENU,
+ INPUTASSIGN_MENU,
ADVANCED_MENU,
- SAVE_OPTIONS,
- CGI_MENU,
+ PLUGINS_MENU,
+ INPUTDEV_MENU,
SAVE_CONFIG
};
@@ -62,10 +62,10 @@ public:
virtual ~menu_game_options() override;
protected:
- virtual void handle() override;
- virtual void populate(float &customtop, float &custombottom) override;
+ virtual bool handle(event const *ev) override;
+ virtual void populate() override;
- void handle_item_event(event const &menu_event);
+ bool handle_item_event(event const &menu_event);
private:
enum