summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/selsoft.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-07-14 23:15:47 +1000
committer Vas Crabb <vas@vastheman.com>2016-07-14 23:15:47 +1000
commit46e374e7bf2702e6c995978b015d74cf29a61fb2 (patch)
tree0e089bb3fb0bb57f59554c2ef0a37a910af34890 /src/frontend/mame/ui/selsoft.h
parentbb6369ab0d91a92f4942732f8155ac0e087b6d07 (diff)
UI menu refactoring: [Vas Crabb]
* Eliminate some function statics * Move another launch menu specific member out of base class * Move some common code from selgame and selsoft into selmenu * Tighten up const and casts
Diffstat (limited to 'src/frontend/mame/ui/selsoft.h')
-rw-r--r--src/frontend/mame/ui/selsoft.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/frontend/mame/ui/selsoft.h b/src/frontend/mame/ui/selsoft.h
index 5661be86c1c..7d5e81ad959 100644
--- a/src/frontend/mame/ui/selsoft.h
+++ b/src/frontend/mame/ui/selsoft.h
@@ -44,8 +44,8 @@ private:
// draw left panel
virtual float draw_left_panel(float x1, float y1, float x2, float y2) override;
- // draw right panel
- virtual void draw_right_panel(void *selectedref, float origx1, float origy1, float origx2, float origy2) override;
+ // get selected software and/or driver
+ virtual void get_selection(ui_software_info const *&software, game_driver const *&driver) const override;
ui_software_info *m_searchlist[VISIBLE_GAMES_IN_SEARCH + 1];
std::vector<ui_software_info *> m_displaylist, m_tmp, m_sortedlist;
@@ -57,8 +57,7 @@ private:
void find_matches(const char *str, int count);
void load_sw_custom_filters();
- void arts_render(void *selectedref, float x1, float y1, float x2, float y2);
- void infos_render(void *selectedref, float x1, float y1, float x2, float y2);
+ virtual void infos_render(float x1, float y1, float x2, float y2) override;
// handlers
void inkey_select(const event *menu_event);