Commit graph

903 commits

Author SHA1 Message Date
shadash 33f0b01c55 move to avoid unnecessary copies. 2021-10-02 21:29:27 +02:00
Leon Styhre 91f1a0a47d Improved the speed of the badges code.
Also made some other adjustments to the badges and flexbox logic.
2021-09-27 22:18:19 +02:00
Leon Styhre 7321bf8f36 Reverted the SVG caching logic. 2021-09-27 21:41:22 +02:00
Leon Styhre 50f2af0077 Manual merges to align with master branch. 2021-09-27 21:27:07 +02:00
Leon Styhre e8956512dc Merged the master branch. 2021-09-27 21:19:11 +02:00
Leon Styhre c51ad4a432 Removed some noexcept operators. 2021-09-27 21:16:05 +02:00
Leon Styhre f6dd49071e Fixed lots of code formatting issues. 2021-09-27 21:06:07 +02:00
Leon Styhre 87d6207c51 Removed lots of unnecessary help component texture resizing. 2021-09-27 21:03:53 +02:00
Leon Styhre 081fbc5665 Made an optimization for SVG graphics to avoid a lot of unnecessary re-rasterizations. 2021-09-27 20:59:33 +02:00
Sophia Hadash a928142d5b make slots configurable by theme (fix) 2021-09-27 01:50:45 +02:00
Sophia Hadash 593b6d94ee remove obtrusive static image component and add svg caching 2021-09-27 00:41:53 +02:00
Sophia Hadash 39f67cfcdf finally properly implemented destructor 2021-09-26 23:58:23 +02:00
Sophia Hadash 2b8c95d2ef fix segfault in badge destructor 2021-09-26 23:04:09 +02:00
Sophia Hadash e2c1d2d0ef fix segfault in badge destructor
fix margins
2021-09-26 22:59:14 +02:00
Sophia Hadash a4d4493d3e fix segfault on application exit 2021-09-26 22:45:10 +02:00
Sophia Hadash 0587b220cc add alternative emulator badge 2021-09-26 22:26:47 +02:00
Sophia Hadash 87735cd915 fix the startup slowdown 2021-09-26 20:02:03 +02:00
Sophia Hadash edc761c4f9 fix the startup slowdown 2021-09-26 19:45:05 +02:00
Sophia Hadash 97067ae40b remove flexbox padding when item margins are set 2021-09-26 02:17:07 +02:00
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
Sophia Hadash 7820a94442 Implement origin. 2021-09-24 00:26:41 +02:00
Sophia Hadash af50921d4b merge master 2021-09-24 00:05:32 +02:00
Sophia Hadash dbf76f92e6 merge master 2021-09-23 23:28:19 +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
Sophia Hadash 4959e72b35 fix when badges are shown (reverse) 2021-09-19 23:21:38 +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
Sophia Hadash f230b0de0e replace png badges by svg 2021-09-14 02:44:47 +02:00
Sophia Hadash aaf5d0209b Implement flexbox and badges. 2021-09-14 01:01:46 +02:00