summaryrefslogtreecommitdiffstatshomepage
path: root/docs/source/luascript
Commit message (Collapse)AuthorAgeFilesLines
* misc internal artwork: disable orange mouse pointer (false positive ↵ hap2024-04-141-1/+1
| | | | clickable artwork detection)
* emu/rendlay.cpp, ui/ui.cpp: Allow layout views to control pointer display. Vas Crabb2024-04-142-4/+14
|
* Initial touch input support: Vas Crabb2024-04-122-10/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* emu/diimage.cpp: Added media change notifier and exposed to Lua. Vas Crabb2023-12-141-0/+6
| | | | | | | | | | | | | | | | | 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.
* luaengine.cpp: Restored ability for wait functions to yield values from ↵ Vas Crabb2023-11-171-9/+11
| | | | | | 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/+9
| | | | | -sega_beena.cpp: Removed requires external artwork flag - the internal artwork is adequate.
* sega/sega_beena.cpp: Added basic book page display. Vas Crabb2023-11-041-0/+6
| | | | | | | | | 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-4/+8
| | | | | | | * 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-301-8/+61
| | | | | | Also corrected some copy/paste errors in documentation, and bumped documentation version as it now describes features that will appear in an upcoming release.
* docs: Fixed many editing errors and spelling errors. (#11575) Tom Cariello2023-09-293-3/+3
| | | Also fixed outdated link to contributing guidelines.
* docs: Moved Lua API reference to its own section - the page was far too long. Vas Crabb2023-07-068-0/+4676