summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/menu.h
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2016-06-12 22:29:25 -0400
committer Nathan Woods <npwoods@mess.org>2016-06-13 05:54:33 -0400
commit9fe7064f4e03e3cf73c793a9a79505b59e5b5ff1 (patch)
treed3c9b9c113f87a322def800dc9a4b15655aec5a4 /src/frontend/mame/ui/menu.h
parent3c4f7e065cda0e65ef2ad3d1f674deba2f048cc8 (diff)
On the file selection dialog, previous paths are now clickable
Diffstat (limited to 'src/frontend/mame/ui/menu.h')
-rw-r--r--src/frontend/mame/ui/menu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frontend/mame/ui/menu.h b/src/frontend/mame/ui/menu.h
index 88ece1b55ff..0353060da5f 100644
--- a/src/frontend/mame/ui/menu.h
+++ b/src/frontend/mame/ui/menu.h
@@ -70,6 +70,7 @@ public:
// configure the menu for custom rendering
virtual void custom_render(void *selectedref, float top, float bottom, float x, float y, float x2, float y2);
+ virtual void custom_mouse_down() { }
// allocate temporary memory from the menu's memory pool
void *m_pool_alloc(size_t size);
@@ -284,6 +285,8 @@ protected:
// draw header and footer text
void extra_text_render(float top, float bottom, float origx1, float origy1, float origx2, float origy2, const char *header, const char *footer);
+ void extra_text_position(float origx1, float origx2, float origy, float yspan, text_layout &layout,
+ int direction, float &x1, float &y1, float &x2, float &y2);
template <typename T>
static T *topmost_menu() { return dynamic_cast<T *>(menu_stack.get()); }