Commit graph

875 commits

Author SHA1 Message Date
Leon Styhre 3d6628f084 Massive ~2500% speed improvement for OptionListComponent. 2021-09-25 19:22:59 +02:00
Leon Styhre 3233288a8c Improved the string trim function and replaced some inlined occurrences. 2021-09-25 18:01:41 +02:00
Leon Styhre 3649684501 Added support for multi-select total count and exclusive multi-select to OptionListComponent. 2021-09-25 10:47:59 +02:00
Leon Styhre be62e8fc5d Proper fix for the last commit. 2021-09-23 17:54:27 +02:00
Leon Styhre 1d07879868 Fixed a compiler warning. 2021-09-23 17:49:59 +02:00
Leon Styhre f1ceb1c2fe Fixed a crash when attempting to navigate multi-cell ComponentGrid entries. 2021-09-22 23:42:57 +02:00
Leon Styhre db5fb48cf8 OCD commit to fix some spelling inconsistencies. 2021-09-21 22:53:08 +02:00
Leon Styhre fc08a83fa0 TextEditComponent will now return an empty string if only whitespace characters were entered. 2021-09-21 22:18:18 +02:00
Leon Styhre d1ffdfca35 Removed an unused preprocessor directive. 2021-09-21 17:19:56 +02:00
Leon Styhre 372a92baa5 The navigation key repeat now stops when selecting a key on the virtual keyboard. 2021-09-19 23:08:12 +02:00
Leon Styhre 00e304f09a Fixed an issue where navigation in menus would behave weirdly under some circumstances. 2021-09-19 23:07:04 +02:00
Leon Styhre fad326c3bd Miscellaneous code cleanup. 2021-09-19 19:46:59 +02:00
Leon Styhre fc78f8ee18 General cleanup of the CMake configuration files. 2021-09-19 18:53:20 +02:00
Leon Styhre dd8f5afdf4 (Windows) Fixed some compiler errors and a compiler warning. 2021-09-19 14:57:54 +02:00
Leon Styhre 63767347f2 Fixed numerous compiler warnings reported by the -Wall and -Wpedantic flags. 2021-09-19 14:37:10 +02:00
Leon Styhre c7d815a125 Fixed multiple compiler warnings related to virtual functions. 2021-09-18 11:49:39 +02:00
Leon Styhre 0b6d987263 Fixed lots of compiler warnings reported by the -Wall and -Wpedantic flags. 2021-09-18 09:53:26 +02:00
Leon Styhre 9ae62cca4d Fixed two Clang warnings. 2021-09-18 00:26:39 +02:00
Leon Styhre f840e93fc9 Fixed an issue where closing an entry in the metadata editor could lead to a crash. 2021-09-17 22:53:00 +02:00
Leon Styhre c4e6d3cac1 Added a virtual keyboard. 2021-09-17 22:23:41 +02:00
Leon Styhre bbaf2739d4 Added a blinking cursor to TextEditComponent.
Also fixed a text field sizing bug and made a small padding adjustment.
2021-09-17 21:40:48 +02:00
Leon Styhre 08790ed1f3 Added support for correctly navigating arbitrarily sized ComponentGrid entries.
Also added a callback for handling navigation attempts beyond the grid boundary as well as a function to move to an absolute cursor position.
2021-09-17 21:35:37 +02:00
Leon Styhre db4fb1ab92 Added support for a new type of 'flat style' buttons to ButtonComponent.
Also did some general code cleanup.
2021-09-17 21:25:21 +02:00
Leon Styhre 13abaf6734 Added support for including the left and right trigger buttons in the help prompts. 2021-09-17 21:14:43 +02:00
Leon Styhre 42458a7d76 Very minor code cleanup. 2021-09-17 21:10:16 +02:00
Leon Styhre 58fd5b8f10 Fixed an issue with the help prompts text color when the menu was opened. 2021-09-04 21:47:42 +02:00
Leon Styhre db77b6d0df Merge branch '587-make-the-help-component-more-configurable-by-the-theme' 2021-09-04 19:51:09 +02:00
Leon Styhre 5942b2815e Added support for selecting alternative emulators per game.
Also made some changes to the system-wide alternative emulators logic.
2021-09-04 11:21:55 +02:00
Sophia Hadash 24f34df66b invalidate icon cache when an icon is replaced 2021-08-30 14:29:43 +02:00
Leon Styhre db1e595d11 Fixed an issue where text coloring in menus would sometimes not get rendered correctly. 2021-08-25 21:36:35 +02:00
Leon Styhre abf8759f75 Added headers to the CMake configuration files. 2021-08-24 18:32:15 +02:00
Sophia Hadash 41375c6f6e remove brackets. 2021-08-23 20:57:11 +02:00
Sophia Hadash b9b3e35e09 reformat toCamelCase. 2021-08-23 15:02:56 +02:00
Sophia Hadash c1d7f37a07 reformat HelpComponent if-else. 2021-08-23 15:01:30 +02:00
Sophia Hadash b8ce3d95e8 rewrite custom button icon tags into customButtonIcon node with attribute. 2021-08-23 12:58:06 +02:00
Sophia Hadash 0826ebb2af Bump theme xml version from 6 to 7. 2021-08-23 12:58:06 +02:00
Sophia Hadash 76a25d2204 Implement theme customizable button icons. 2021-08-23 12:58:06 +02:00
Sophia Hadash 54df6a5520 remove debug logs 2021-08-23 12:58:06 +02:00
Sophia Hadash c2042e66e2 Add help component theme options textColorDimmed and iconColorDimmed. 2021-08-23 12:58:06 +02:00
Sophia Hadash dfffd1057d Add help component theme options textStyle. 2021-08-23 12:58:06 +02:00
Sophia Hadash 6672fd1ec8 Add help component theme options entrySpacing and iconTextSpacing. 2021-08-23 12:58:06 +02:00
Leon Styhre 5381f38231 Added support for defining and choosing between alternative emulators. 2021-08-22 15:26:38 +02:00
Leon Styhre a0c2c21a99 Reorganized the UI Settings and Other Settings menus a bit. 2021-08-22 14:29:43 +02:00
Leon Styhre 5580de74b1 Bundled the bold font version of Fontfabric Akrobat. 2021-08-22 14:08:24 +02:00
Leon Styhre 9d4deefdf4 Fixed an issue when entering a submenu before the parent menu was scaled up. 2021-08-19 22:28:31 +02:00
Leon Styhre 655340a94c OCD commit. 2021-08-19 21:51:42 +02:00
Leon Styhre 91879c9b4a Cleaned up some rendering code. 2021-08-19 21:39:01 +02:00
Leon Styhre 4676cee4fa Fixed a small cosmetic issue introduced by a previous commit. 2021-08-19 20:30:04 +02:00
Leon Styhre 6e882dd564 Added support for upscaling bitmap images using linear filtering. 2021-08-19 20:16:42 +02:00
Leon Styhre 70a1e4612a Fixed an issue where menu rows would not align properly during navigation. 2021-08-19 19:53:05 +02:00