Commit graph

414 commits

Author SHA1 Message Date
shadash 95b729dadf replace badges svgs
minimize svgs
fix bug in flexbox component
adjust theme for new badges style

Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-02 22:31:37 +02:00
shadash 20d14ca71f remove redundant virtual keyword
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-02 22:00:54 +02:00
shadash dbc9ffb99e remove unused imports
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-02 22:00:05 +02:00
shadash 519644f66c make direction and align an enum.
more in line defaults in constructor.
getter/setter in header

Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-02 21:58:04 +02:00
shadash 9d23d124d4 change casts to c++ style
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-02 21:34:38 +02:00
Sophia Hadash f37d915653 remove old code 2021-10-02 21:30:10 +02:00
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
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 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 f1ceb1c2fe Fixed a crash when attempting to navigate multi-cell ComponentGrid entries. 2021-09-22 23:42:57 +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
Sophia Hadash 4959e72b35 fix when badges are shown (reverse) 2021-09-19 23:21:38 +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 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 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
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
Sophia Hadash efe928852f Separate flexbox functionality in it's own component. 2021-09-07 17:21:54 +02:00
Sophia Hadash fe413bb68f Initial implementation, including flexbox layout for badges. 2021-09-05 03:40:23 +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
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
Sophia Hadash c1d7f37a07 reformat HelpComponent if-else. 2021-08-23 15:01:30 +02:00
Sophia Hadash 76a25d2204 Implement theme customizable button icons. 2021-08-23 12:58:06 +02:00