summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend (follow)
Commit message (Collapse)AuthorAgeFilesLines
* -ui/videoopt.cpp: Hold Ctrl to jump to the next one-second interval for ↵ Vas Crabb47 hours1-7/+10
| | | | | | pointer timeout. -midway/williams.cpp: Simplified class hierarchy.
* -ui/ui.cpp, ui/videoopt.cpp: Made pointer activity timeout configurable. Vas Crabb2 days3-24/+314
| | | | -midway/wmg.cpp: Use a memory bank for NVRAM; also got rid of a really pointless trampoline function.
* videoopt: update prev commit, better with empty 'radiobuttons'? hap4 days1-1/+1
|
* videoopt: use subtext string to indicate current view hap4 days1-1/+2
|
* videoopt: force left-align for view list hap5 days1-1/+1
|
* -ui/menu.cpp, ui/selmenu.cpp: Handle mouse wheel units properly. Vas Crabb5 days4-24/+93
| | | | -Fixed a few more class memory access warnings.
* emu/rendlay.cpp, ui/ui.cpp: Allow layout views to control pointer display. Vas Crabb6 days5-23/+32
|
* Initial touch input support: Vas Crabb8 days63-2360/+5311
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Feed mouse/pen/touch pointer events through UI input manager with Win32 and SDL. * Started migrating UI code to use new API and reworking mouse/touch interaction. * emu/render.cpp: Support pressing multiple clickable layout items simultaneously. * emu/render.cpp: Allow UI elements to be drawn in any window. * emu/rendlay.cpp, luaengine_render.cpp: Added layout view events for pointer input. * ui/ui.cpp: Allow the UI handler to control pointer display. * ui/analogipt.cpp: Added mouse/touch and more keys for navigating field state list. * ui/menu.cpp: Use vertical swipe to scroll and horizontal swipe to adjust. * ui/menu.cpp: Draw after processing input - greatly improves responsiveness. * ui/menu.cpp: Ignore keyboard/gamepad input during pointer actions. * ui/selmenu.cpp: Made left/right info pane arrows repeat when held. * ui/selmenu.cpp: Use middle click to move keyboard focus. * ui/selmenu.cpp: Let filter list scroll if it's too tall, and use a bit of horizontal padding. * ui/selmenu.cpp: Improved divider sizing. * ui/state.cpp: Don't allow clicks to pass through the confirm deletion prompt to the menu. * ui/simpleselgame.cpp: Fixed error message display and graphics/sound status not showing. * ui/simpleselgame.cpp: Allow tap/click to dismiss error message. * ui/utils.cpp: Show UI for choice filters when there are no choices - it's less confusing. * modules/input/input_sdl.cpp: Made scaling for mouse scroll better match RawInput and DirectInput. * modules/input/input_rawinput.cpp: Added support for horizontal scroll axis. * modules/input/input_win32.cpp: Added support for scroll axes and more buttons to mouse/lightgun. * modules/debugger/debugimgui.cpp: Don't fight over events with the UI manager - it breaks menus. * osd/windows/window.cpp: Translate mouse position to window cooridinates for scroll wheel events. * osd/sdl/window.cpp: Supply last mouse position for scroll wheel events if possible. * scripts/build/complay.py: Made zero input mask an error - it was only being used to block clicks.
* osd: Cleaned up MIDI and network interfaces a little more. Vas Crabb2024-03-011-2/+4
|
* util/ioprocs.cpp: Added wrappers for common patterns. (#11608) Vas Crabb2024-02-251-44/+57
| | | | | emu/diimage.h: Removed fread overloads that allocate memory for output. util/core_file.cpp: Changed output size of load to size_t.
* Removed some unnecessary backslash line continuations. (#12047) amameuser2024-02-211-57/+57
| | | | | | * Removed unnecessary preprocessor line continuations from C++ code. * Use parentheses to avoid need for line continuations in expressions in Python code. * Removed line continuations at the end of lists in makefiles. * cpu/m68000: Regenerated C++ source files.
* mainmenu: readd separator after favorites hap2024-02-181-0/+2
|
* ui: remove separator between Add/remove favorite and About MAME, ugly even ↵ hap2024-02-182-14/+12
| | | | | | though the 2 are unrelated, fix reset(reset_options::REMEMBER_REF); with add/remove favorite
* cheatopt: move global cheat enable to the bottom hap2024-02-181-14/+17
|
* ui: add quick save/load state shortcut, default key undecided hap2024-02-111-0/+14
|
* cheatopt: indicate if no cheats were found hap2024-02-111-4/+10
|
* cheatopt: add the global cheat enable toggle to the menu hap2024-02-119-22/+40
|
* ui menu: readjust visible width if heading width exceeds that of the menu hap2024-02-031-6/+6
|
* swlist: don't add switch item ordering menu entry when there's only 1 swlist ↵ hap2024-02-021-5/+8
| | | | item
* swlist: add ui header hap2024-02-021-1/+5
|
* swlist: refactor prev commit hap2024-02-021-10/+9
|
* swlist: swap columns when sorted by shortname hap2024-02-021-1/+9
|
* frontend/mame/clifront.cpp: Removed unused variable picked up by clang but ↵ Vas Crabb2024-01-281-3/+0
| | | | not GCC.
* -fronten/mame/clifront.cpp: Fixed misleading error messages from ↵ Vas Crabb2024-01-281-17/+17
| | | | | | -verifysoftware. -snes.xml: Removed problematic Hind Strike cartridge image.
* Miscellaneous cleanup, and a couple of error checks. Vas Crabb2024-01-252-12/+13
|
* devices/bus: remove \xC2 and \xC3 from input defs hap2023-12-231-2/+2
|
* ui: remove use of utf8.h hap2023-12-224-21/+15
|
* emu/diimage.cpp: Added media change notifier and exposed to Lua. Vas Crabb2023-12-148-70/+136
| | | | | | | | | | | | | | | | | This allows interested parties to receive notifications on media changes. This is demonstrated by the file manager and media image information menus now updating immediately if the system ejects a mounted image, or a mounted image is changed by a script or something. ui/filemngr.cpp, ui/info.cpp: Update file manager and media image information menus immediately on media image changes. ui/menu.cpp: Return index of added item from item_append. bus/generic/slot.cpp: Use out-of-line virtual destructors to avoid vtable link errors in certain single-driver builds. bus/nubus: Tidy up some #include statements.
* Cleaned up some recent changes a little. Vas Crabb2023-11-201-1/+1
|
* luaengine.cpp: Restored ability for wait functions to yield values from ↵ Vas Crabb2023-11-171-3/+7
| | | | | | coroutines. Made the documentation on what it's supposed to do a bit clearer.
* -luaengine.cpp: Fixed jobs waiting for frame updates sleeping forever. Vas Crabb2023-11-171-11/+5
| | | | | -sega_beena.cpp: Removed requires external artwork flag - the internal artwork is adequate.
* ui/menu.h: Refactor probably-unsafe code referencing temporary object AJR2023-11-141-2/+2
|
* sega/sega_beena.cpp: Added basic book page display. Vas Crabb2023-11-041-0/+17
| | | | | | | | | sega_beena_cart.xml: Put page scans in individual data areas. frontend/mame/luaengine_mem.cpp: Added a raw read function for memory regions. plugins/layout: Added bitmap classes to layout sandbox.
* Miscellaneous fixes: Vas Crabb2023-11-021-2/+2
| | | | | | | * docs: Added option for Wayland support to compiling guide. * docs: Clarified behaviour of memory region read/write methods. * Fixed some editing errors in Turkish UI translation. * Added some parentheses on ternary conditional operators for clarity.
* Added some additional layout functionality and script bindings. Vas Crabb2023-10-303-82/+229
| | | | | | Also corrected some copy/paste errors in documentation, and bumped documentation version as it now describes features that will appear in an upcoming release.
* Allow clone CHDs to use parent CHDs as parents. Vas Crabb2023-10-201-0/+3
| | | | | | | | | | | * util/chd.cpp: Allow caller to provide a helper for finding parent CHDs and expose (recursive) missing parent status. * emu/romload.cpp: Search parent systems/devices/software for parent CHDs on encountering a delta CHD. * emu/romload.cpp: Report error on delta CHDs when parent can't be found. * emu/romload.cpp: Check parents for matching CHDs with different names for devices as well as systems and software.
* Remove flopimg.h and fsmgr.h from floppy device header AJR2023-09-243-1/+5
|
* frontend/mame/luaengine.cpp: Corrected spelling of screen device xoffset and ↵ goldnchild2023-09-181-2/+2
| | | | | yoffset property names. (#11550) This makes the code match the documentation.
* speaker: set pan range to -1 to 1, hap2023-09-101-47/+66
| | | | sliders: show channel volume in percentage and increase maximum to 400%
* sound: add configurable speaker panning hap2023-09-092-30/+72
|
* ui/info: add \n before btanb warning strings, hap2023-08-241-2/+12
| | | | misc: replace pi constant with M_PI
* ui/info: swap notworking/mechanical warnings, only add initial \n if there ↵ hap2023-08-241-3/+13
| | | | were warnings before it
* ui/info.cpp, ui/simpleselgame.cpp: Replaced imprecise "driver" with "source ↵ Vas Crabb2023-08-232-2/+2
| | | | | | | file". Also flipped include order in bus/nscsi/cd.cpp to put module header immediately after prefix header.
* ui/utils: Added a source file filter for system selection menu. Vas Crabb2023-08-1910-61/+108
| | | | | | * ui/selmenu.cpp: Show system source file in general info. * frontend/infoxml.cpp: Consolidated source file path formatting in one place. * ui/devopt.cpp: Get decimal separator from C++ locale.
* ui/info.cpp: Get decimal separator from C++ locale. Also random cleanup. Vas Crabb2023-08-171-4/+13
| | | | | * emu/machine.cpp, emu/render.cpp: Catch exceptions by const reference. * Various spacing and #include order cleanup.
* pluginopts: don't add library plugins to plugin.ini, hap2023-07-313-18/+28
| | | | clifront: don't write plugin.ini file if no plugins were found
* Cleaned up logging across the codebase (GitHub #10183). (#11250) [Ryan Holtz] MooglyGuy2023-05-231-3/+1
| | | | | * Converted various logging patterns to use logmacro.h consistently. * Removed redefinitions of LOG_GENERAL. * Use LOGMASKED in more places.
* UI refinements/fixes: Vas Crabb2023-05-107-16/+40
| | | | | | | | | | | | | | | ui/filemngr.cpp: For an empty media device, look for another device with a mounted software item that has compatible parts before falling back to the file manager. This is useful when mounting a multi-part item via the menus, or for a system like the X68000 with multiple drives where the boot disk remains mounted but another application disk is automatically ejected when you're prompted for the next disk. ui/datmenu.cpp: Don't assume mounted images are always from software lists (fixes MT08620), and take the first image mounted from a software list rather than the last. bus/s100: Got rid of simple_list.
* frontend/mame/audit.cpp: Work around issues when no ROMs are shared with ↵ Vas Crabb2023-05-091-4/+37
| | | | | | | | immediate parent (MT08625). The issue occurred when a system with no ROMs or only bad dumps had an immediate parent with no ROMs in common. This is another thing broken by the attempts to hide "missing" ROM sets from audits.
* image: Fix initialisation order, fix file menu enable, refine gdrom support Olivier Galibert2023-05-081-3/+5
|