frontend: Make all the textbox menus use the custom navigation flag, on the off chance they become scrollable somehow.

This commit is contained in:
Vas Crabb 2021-10-31 12:44:02 +11:00
parent d64ea5331b
commit 96cbadbd7d
4 changed files with 6 additions and 2 deletions

View File

@ -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()

View File

@ -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

View File

@ -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()

View File

@ -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()