diff options
author | 2021-10-09 12:16:17 +1100 | |
---|---|---|
committer | 2021-10-09 12:16:17 +1100 | |
commit | 38082ccbee749d650ccea886ae376a5d1dec337c (patch) | |
tree | 9ba9a900ba826bda58832834278025ced17f42f5 /src/frontend/mame/ui/miscmenu.h | |
parent | 34b3bf701098082feb9077db49987507962c1578 (diff) |
Overdue internal UI enhancements (#8674)
* frontend: Added support for message context to localisations.
* frontend: Added string_view versions of the message lookup functions.
* frontend: Added a few more folder options to the internal UI.
* emu/softlist.cpp: Use more appropriate containers.
* Switched to Python 3 by default - this will become a requirement.
* Updated msgfmt.py for message context support.
* frontend: Show all software item info in the internal UI.
* frontend: Search alternate titles in software selection menu.
* 3rdparty/utf8proc: Updated to v2.6.1 (has several fixes).
* frontend: Added software filters for common info fields.
* frontend: Allow UI manager to hold onto persistent session data.
* frontend: Cache software lists for eight machines.
* frontend: Added support for loading localised system names.
* frontend: Add UI for selecting localised system names.
Diffstat (limited to 'src/frontend/mame/ui/miscmenu.h')
-rw-r--r-- | src/frontend/mame/ui/miscmenu.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/frontend/mame/ui/miscmenu.h b/src/frontend/mame/ui/miscmenu.h index c8d833ae4e2..5fdf7fb8a8e 100644 --- a/src/frontend/mame/ui/miscmenu.h +++ b/src/frontend/mame/ui/miscmenu.h @@ -21,6 +21,9 @@ #include <vector> +struct ui_system_info; + + namespace ui { class menu_network_devices : public menu @@ -130,6 +133,12 @@ public: menu_machine_configure( mame_ui_manager &mui, render_container &container, + ui_system_info const &info, + std::function<void (bool, bool)> &&handler = nullptr, + float x0 = 0.0f, float y0 = 0.0f); + menu_machine_configure( + mame_ui_manager &mui, + render_container &container, game_driver const &drv, std::function<void (bool, bool)> &&handler = nullptr, float x0 = 0.0f, float y0 = 0.0f); @@ -153,12 +162,21 @@ private: LAST = ADVANCED }; + menu_machine_configure( + mame_ui_manager &mui, + render_container &container, + char const *description, + game_driver const &drv, + std::function<void (bool, bool)> &&handler, + float x0, float y0); + virtual void populate(float &customtop, float &custombottom) override; virtual void handle() override; void setup_bios(); std::function<void (bool, bool)> const m_handler; + char const *const m_description; game_driver const &m_drv; emu_options m_opts; float const m_x0; |