summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/menu.h
diff options
context:
space:
mode:
author dankan1890 <mewuidev2@gmail.com>2016-06-19 03:24:04 +0200
committer dankan1890 <mewuidev2@gmail.com>2016-06-19 03:24:04 +0200
commitf8179f15bd68fab3ed638755a0a0b3dea77cc5b5 (patch)
treea6c33b01a23246116182dfaa2fe4b4b74352ee71 /src/frontend/mame/ui/menu.h
parent0b0fe986dc5c0ca17ceaa996e0be6c4df8193ece (diff)
Fixed incorrect icons refresh. (nw)
Diffstat (limited to 'src/frontend/mame/ui/menu.h')
-rw-r--r--src/frontend/mame/ui/menu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/menu.h b/src/frontend/mame/ui/menu.h
index e053409114f..d1e3b500898 100644
--- a/src/frontend/mame/ui/menu.h
+++ b/src/frontend/mame/ui/menu.h
@@ -347,7 +347,7 @@ private:
// handle mouse
void handle_main_events();
- void draw_icon(int linenum, void *selectedref, float x1, float y1);
+ float draw_icon(int linenum, void *selectedref, float x1, float y1);
void extra_text_draw_box(float origx1, float origx2, float origy, float yspan, const char *text, int direction);
bool m_special_main_menu;
@@ -358,6 +358,7 @@ private:
event m_event; // the UI event that occurred
pool *m_pool; // list of memory pools
focused_menu m_focus;
+ static std::vector<const game_driver *> m_old_icons;
static std::unique_ptr<menu> menu_stack;
static std::unique_ptr<menu> menu_free;