summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/moptions.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ui: Rationalised right panel behaviour: Vas Crabb2022-12-211-56/+64
| | | | | | | | | | | | | | Removed the "default" state for the image tab where it would show different things for different types of machine - it just confused users. Remember the selected tab and image in the right panel. State for system selection menu is remembered across sessions. Last used state for software selection menus is remembered across sessions. Within a session, state is remembered separately for recently selected machines, similarly to the way filter selection is remembered. Fixed some focus order issues in the software selection menu.
* osd/modules/file: Don't magically substitute environment variables when ↵ npwoods2022-12-171-22/+22
| | | | | | | | opening files. (#9859) * util/options.cpp: Added option types for single and multiple paths. * util/options.cpp: Substitute environment variables in values from defaults and INI files. * ui/dirmenu.cpp: Removed hard-coded list of multi-path options. * plugins: Don't substitute environment variables in path options.
* util/options.h: Removed legacy OPTION_* option type constants. (#9851) npwoods2022-05-301-56/+56
| | | These constants were polluting the global namespace.
* frontend: Various minor improvements. Vas Crabb2021-11-141-1/+1
| | | | | | | | | | | | | | | | | | | Made a few more menus reset values to the default in response to the UI clear input. Made the minimum info text size less unreasonable, and fixed a locale issue in the font/size selection menu when parsing option strings. Made the keyboard mode menu toggle items on double click or UI select. Made the menuless sliders menu remember the last slider shown (this probably broke when sliders were moved out of the UI manager itself). Made a few menus just update the highlighted options when it's adjusted rather than unnecessarily rebuilding the menu. Made a few more menus reset on being reactivated to cope with scripts or other things changing stuff out from under them.
* Overdue internal UI enhancements (#8674) Vas Crabb2021-10-091-1/+2
| | | | | | | | | | | | | | | | * 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.
* Addressed Github issue #7843 (mute on unthrottle) (#7875) MooglyGuy2021-03-221-0/+1
|
* moptions: Fixed a spelling mistake. Robbbert2021-02-211-1/+1
|
* frontend: Added option to skip repeated imperfect emulation warnings. Vas Crabb2020-09-021-2/+3
| | | | | | | | | | | | | | | | The option is called skip_warnings, and it must be set in ui.ini (it can be set using the internal UI). Red warnings cannot be skipped; yellow warning can be skipped under certain circumstances. For a yellow warning to be skipped, the system must have been launched in a way that allows warnings to be displayed, in a configuration with the same set of devices flagged with unemulated/imperfect features, within the last seven days, and the warning must have been displayed within the past 14 days. Also fixed a bug with display of the MACHINE_NO_COCKTAIL flag in the internal UI, and increased the size of XML integer attributes to 64 bits.
* util/options.cpp: fix locale issues and a const correctness issue Vas Crabb2019-11-231-1/+1
|
* Changed the various usages of UI_*COLOR to be calls to ↵ npwoods2019-06-281-0/+19
| | | | | | | | | | | | | | | | | | | | | | | src/frontend/mame/ui/moptions.h (#5282) * Changed the various usages of UI_*COLOR to be calls to src/frontend/mame/ui/moptions.h The various UI_*COLOR macros were implemented as calls to decode_ui_color, which cached the values for the various options in a static array, which was obviously a gross hack. This refactoring is strategic because I am trying to confine awareness of mame_ui_manager to code in src/frontend/mame/ui, and the implementation of decode_ui_color() relied on the ability to access mame_ui_manager as a singleton from outside this code. * Created a ui_colors object, so that queries for UI RGB values would not always require parsing strings * Converted a few more options().zyx_color() to colors().zyx_color() * A few more misses from earlier
* ui: save/restore images/info selection in right panel Vas Crabb2017-08-121-0/+1
|
* ui: make category filter work like all the other filters Vas Crabb2017-08-111-1/+1
| | | | | | | | | | | | * category filter is now saved/restored if it's last used * category filter can be used in composite custom filters * category filter now provides UI rather than relying on options menu * less confusing when no categories found * also de-duplicated code for drawing category list (nw) please test this everyone and let me know if there are reproducible crashes or things that don't work right - I'm trying to make the internal UI more consistent and stable
* internal UI improvements: Vas Crabb2017-08-071-3/+2
| | | | | | | * Greatly reduce copy/paste code for drawing menu header/footer boxes * Display full name of selected slot device below slots menu * Fix up spacing on dircetory configuration menu * Fix min/max for UI font rows per screen setting
* A round of spelling/typographical fixes to source comments (nw) Scott Stone2016-11-241-1/+1
|
* removed enable_dats() option, no longer needed after the switch to lua ↵ dankan18902016-09-191-1/+0
| | | | | | plugin. (nw) fixed the failure to select the last used machine if quit with the focus in another part of the main menu. (nw)
* Added in "Miscellaneous Options" menu one item to hide ROMless machines from ↵ dankan18902016-07-041-0/+1
| | | | the availables list. [Maurizio Petrarota]
* Split UI and frontend part from core [Miodrag Milanovic] Miodrag Milanovic2016-04-231-0/+90