mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
frontend: Make all the textbox menus use the custom navigation flag, on the off chance they become scrollable somehow.
This commit is contained in:
parent
d64ea5331b
commit
96cbadbd7d
@ -29,8 +29,9 @@ menu_device_config::menu_device_config(
|
||||
device_slot_interface::slot_option const *option)
|
||||
: menu_textbox(mui, container)
|
||||
, m_option(option)
|
||||
, m_mounted(machine().root_device().subdevice(slot->device().subtag(option->name())) != nullptr)
|
||||
{
|
||||
m_mounted = machine().root_device().subdevice(slot->device().subtag(option->name())) != nullptr;
|
||||
set_process_flags(PROCESS_CUSTOM_NAV);
|
||||
}
|
||||
|
||||
menu_device_config::~menu_device_config()
|
||||
|
@ -32,7 +32,7 @@ private:
|
||||
virtual void handle(event const *ev) override;
|
||||
|
||||
device_slot_interface::slot_option const *const m_option;
|
||||
bool m_mounted;
|
||||
bool const m_mounted;
|
||||
};
|
||||
|
||||
} // namespace ui
|
||||
|
@ -483,6 +483,7 @@ std::string machine_info::get_screen_desc(screen_device &screen) const
|
||||
|
||||
menu_game_info::menu_game_info(mame_ui_manager &mui, render_container &container) : menu_textbox(mui, container)
|
||||
{
|
||||
set_process_flags(PROCESS_CUSTOM_NAV);
|
||||
}
|
||||
|
||||
menu_game_info::~menu_game_info()
|
||||
@ -518,6 +519,7 @@ void menu_game_info::handle(event const *ev)
|
||||
|
||||
menu_warn_info::menu_warn_info(mame_ui_manager &mui, render_container &container) : menu_textbox(mui, container)
|
||||
{
|
||||
set_process_flags(PROCESS_CUSTOM_NAV);
|
||||
}
|
||||
|
||||
menu_warn_info::~menu_warn_info()
|
||||
|
@ -208,6 +208,7 @@ void menu_network_devices::handle(event const *ev)
|
||||
|
||||
menu_bookkeeping::menu_bookkeeping(mame_ui_manager &mui, render_container &container) : menu_textbox(mui, container)
|
||||
{
|
||||
set_process_flags(PROCESS_CUSTOM_NAV);
|
||||
}
|
||||
|
||||
menu_bookkeeping::~menu_bookkeeping()
|
||||
|
Loading…
Reference in New Issue
Block a user