summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend (unfollow)
Commit message (Collapse)AuthorFilesLines
40 hours-ui/videoopt.cpp: Hold Ctrl to jump to the next one-second interval for ↵ Vas Crabb1-7/+10
pointer timeout. -midway/williams.cpp: Simplified class hierarchy.
41 hours-ui/ui.cpp, ui/videoopt.cpp: Made pointer activity timeout configurable. Vas Crabb3-24/+314
-midway/wmg.cpp: Use a memory bank for NVRAM; also got rid of a really pointless trampoline function.
4 daysvideoopt: update prev commit, better with empty 'radiobuttons'? hap1-1/+1
4 daysvideoopt: use subtext string to indicate current view hap1-1/+2
5 daysvideoopt: force left-align for view list hap1-1/+1
5 days-ui/menu.cpp, ui/selmenu.cpp: Handle mouse wheel units properly. Vas Crabb4-24/+93
-Fixed a few more class memory access warnings.
6 daysemu/rendlay.cpp, ui/ui.cpp: Allow layout views to control pointer display. Vas Crabb5-23/+32
8 daysInitial touch input support: Vas Crabb63-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.
2024-03-01osd: Cleaned up MIDI and network interfaces a little more. Vas Crabb1-2/+4
2024-02-25util/ioprocs.cpp: Added wrappers for common patterns. (#11608) Vas Crabb1-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.
2024-02-21Removed some unnecessary backslash line continuations. (#12047) amameuser1-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.
2024-02-18mainmenu: readd separator after favorites hap1-0/+2
2024-02-18ui: remove separator between Add/remove favorite and About MAME, ugly even ↵ hap2-14/+12
though the 2 are unrelated, fix reset(reset_options::REMEMBER_REF); with add/remove favorite
2024-02-18cheatopt: move global cheat enable to the bottom hap1-14/+17
2024-02-11ui: add quick save/load state shortcut, default key undecided hap1-0/+14
2024-02-11cheatopt: indicate if no cheats were found hap1-4/+10
2024-02-11cheatopt: add the global cheat enable toggle to the menu hap9-22/+40
2024-02-03ui menu: readjust visible width if heading width exceeds that of the menu hap1-6/+6
2024-02-02swlist: don't add switch item ordering menu entry when there's only 1 swlist ↵ hap1-5/+8
item
2024-02-02swlist: add ui header hap1-1/+5
2024-02-02swlist: refactor prev commit hap1-10/+9
2024-02-02swlist: swap columns when sorted by shortname hap1-1/+9
2024-01-28frontend/mame/clifront.cpp: Removed unused variable picked up by clang but ↵ Vas Crabb1-3/+0
not GCC.
2024-01-28-fronten/mame/clifront.cpp: Fixed misleading error messages from ↵ Vas Crabb1-17/+17
-verifysoftware. -snes.xml: Removed problematic Hind Strike cartridge image.
2024-01-25Miscellaneous cleanup, and a couple of error checks. Vas Crabb2-12/+13
2023-12-23devices/bus: remove \xC2 and \xC3 from input defs hap1-2/+2
2023-12-22ui: remove use of utf8.h hap4-21/+15
2023-12-14emu/diimage.cpp: Added media change notifier and exposed to Lua. Vas Crabb8-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.
2023-11-20Cleaned up some recent changes a little. Vas Crabb1-1/+1
2023-11-17luaengine.cpp: Restored ability for wait functions to yield values from ↵ Vas Crabb1-3/+7
coroutines. Made the documentation on what it's supposed to do a bit clearer.
2023-11-17-luaengine.cpp: Fixed jobs waiting for frame updates sleeping forever. Vas Crabb1-11/+5
-sega_beena.cpp: Removed requires external artwork flag - the internal artwork is adequate.
2023-11-14ui/menu.h: Refactor probably-unsafe code referencing temporary object AJR1-2/+2
2023-11-04sega/sega_beena.cpp: Added basic book page display. Vas Crabb1-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.
2023-11-02Miscellaneous fixes: Vas Crabb1-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.
2023-10-30Added some additional layout functionality and script bindings. Vas Crabb3-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.
2023-10-20Allow clone CHDs to use parent CHDs as parents. Vas Crabb1-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.
2023-09-24Remove flopimg.h and fsmgr.h from floppy device header AJR3-1/+5
2023-09-18frontend/mame/luaengine.cpp: Corrected spelling of screen device xoffset and ↵ goldnchild1-2/+2
yoffset property names. (#11550) This makes the code match the documentation.
2023-09-10speaker: set pan range to -1 to 1, hap1-47/+66
sliders: show channel volume in percentage and increase maximum to 400%
2023-09-09sound: add configurable speaker panning hap2-30/+72
2023-08-24ui/info: add \n before btanb warning strings, hap1-2/+12
misc: replace pi constant with M_PI
2023-08-24ui/info: swap notworking/mechanical warnings, only add initial \n if there ↵ hap1-3/+13
were warnings before it
2023-08-23ui/info.cpp, ui/simpleselgame.cpp: Replaced imprecise "driver" with "source ↵ Vas Crabb2-2/+2
file". Also flipped include order in bus/nscsi/cd.cpp to put module header immediately after prefix header.
2023-08-19ui/utils: Added a source file filter for system selection menu. Vas Crabb10-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.
2023-08-17ui/info.cpp: Get decimal separator from C++ locale. Also random cleanup. Vas Crabb1-4/+13
* emu/machine.cpp, emu/render.cpp: Catch exceptions by const reference. * Various spacing and #include order cleanup.
2023-07-31pluginopts: don't add library plugins to plugin.ini, hap3-18/+28
clifront: don't write plugin.ini file if no plugins were found
2023-05-23Cleaned up logging across the codebase (GitHub #10183). (#11250) [Ryan Holtz] MooglyGuy1-3/+1
* Converted various logging patterns to use logmacro.h consistently. * Removed redefinitions of LOG_GENERAL. * Use LOGMASKED in more places.
2023-05-10UI refinements/fixes: Vas Crabb7-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.
2023-05-09frontend/mame/audit.cpp: Work around issues when no ROMs are shared with ↵ Vas Crabb1-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.
2023-05-08image: Fix initialisation order, fix file menu enable, refine gdrom support Olivier Galibert1-3/+5