Commit graph

956 commits

Author SHA1 Message Date
Leon Styhre 1166539466 Fixed a general ImageComponent scaling issue caused by incorrect rounding. 2021-10-17 21:51:21 +02:00
Leon Styhre 975ff0eb69 Fixed a potential rounding issue. 2021-10-17 21:20:17 +02:00
Leon Styhre 62d327b071 Merge branch '655-fix-the-left-and-right-alignment-in-badgescomponent' 2021-10-17 18:45:52 +02:00
Leon Styhre af1d1b3109 Fixed some rounding issues and the right-alignment in FlexboxComponent. 2021-10-17 18:45:21 +02:00
Leon Styhre 11ca17fc91 Fixed an issue where the wrong scroll indicators could be displayed. 2021-10-17 16:14:28 +02:00
shadash 8fd05fcd77 bugfix, simplification
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-17 01:11:01 +02:00
Leon Styhre 690083a123 The scroll indicators don't fade in and out any longer if quick jumping in a list. 2021-10-16 13:21:52 +02:00
Leon Styhre aa8b68f2a9 Set the menu scroll indicators as enabled by default. 2021-10-15 22:35:57 +02:00
Sophia Hadash 1c93ca2c07 fix right align
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-15 21:33:34 +02:00
shadash c68f78f3d1 fix right align
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-15 21:28:12 +02:00
Leon Styhre 3683866062 Improved the layout of the scraper GUIs.
Also added the scroll indicators and replaced a text margin hack with a proper solution.
2021-10-15 20:58:40 +02:00
Leon Styhre 050dccb6b8 Fixed an issue with international characters getting clipped in ScrollableContainer. 2021-10-15 20:31:51 +02:00
Leon Styhre 7311a49f82 Removed an unnecessary column from MenuComponent and adjusted the scroll indicators. 2021-10-14 22:38:30 +02:00
Leon Styhre 10e284c929 Text in ScrollableContainer now mostly stays within the initial area. 2021-10-14 21:59:09 +02:00
Leon Styhre a1ed59553f Made it possible to set a 'a/select' help prompt for TextComponent. 2021-10-14 21:29:23 +02:00
Leon Styhre eb611d12db Fixed some issues in FlexboxComponent.
Also added some sanity checks and size restrictions to BadgeComponent and FlexboxComponent.
2021-10-13 18:18:23 +02:00
Leon Styhre b9b4bd120d Fixed multiple issues where ComponentGrid would display incorrect help prompts. 2021-10-12 23:32:26 +02:00
Leon Styhre 48db23691d Merged BadgeComponent code into master branch. 2021-10-12 23:13:38 +02:00
Leon Styhre ae96cb4c54 Further improvements to the badges code. 2021-10-12 22:53:02 +02:00
Leon Styhre 848277141a Optimized the badges code.
Also made a small adjustment to the alternative emulator badge.
2021-10-11 21:28:37 +02:00
Leon Styhre 76ef1629c0 Added a simple static scroll indicator and set this as the default.
Also made some minor adjustments to the scroll indicator placement.
2021-10-10 20:07:44 +02:00
Leon Styhre 33d3df9db4 (Windows) Fixed some MSVC compiler warnings. 2021-10-10 18:28:00 +02:00
Leon Styhre 261ad3735a Very minor code consistency fix. 2021-10-10 18:21:42 +02:00
Leon Styhre bef997420d Added menu scroll indicators. 2021-10-10 18:15:37 +02:00
shadash a93b975ca0 bug fixes, adjust theme badge proportions
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-10 13:29:26 +02:00
shadash 123e50cf17 change dimension constraints to use container size.
make margins proportional to screen size.

Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-09 17:04:04 +02:00
Leon Styhre 8c9b664bb1 If the currently configured theme set is missing, attempt to load rbsimple-DE as fallback.
Also added a warning log entry when the selected theme set is missing.
2021-10-09 13:12:06 +02:00
Leon Styhre 20760c1b43 Added support to OptionListComponent to abbreviate non-multiselect entries. 2021-10-09 13:06:04 +02:00
Leon Styhre 33792baa53 Replaced an alignment hack with a proper fix in OptionListComponent.
Also fixed an issue where the number of selected OptionListComponent entries would not get displayed.
2021-10-08 22:50:37 +02:00
Leon Styhre 9c20498339 The OptionListComponent key repeat parameters are now configurable. 2021-10-08 21:11:38 +02:00
Leon Styhre ce593686a5 Added key repeat support to DateTimeEditComponent.
Also made some other improvements and cleaned up the code.
2021-10-08 19:38:14 +02:00
Leon Styhre a4d2b87ede Added support for key repeat to OptionListComponent. 2021-10-08 19:13:37 +02:00
Leon Styhre be6782d340 Info popups are now hidden from both the screensaver and media viewer. 2021-10-07 19:03:43 +02:00
Leon Styhre 087cde4700 Fixed a cursor placement issue in GuiTextEditKeyboardPopup. 2021-10-07 18:33:57 +02:00
Leon Styhre 3669d2320c Added info popups when adding and removing input devices. 2021-10-07 18:33:13 +02:00
Leon Styhre 93950cf4de Simplified the code for info popups. 2021-10-07 18:31:40 +02:00
Leon Styhre 019c764d93 Fixed a compiler warning on BSD Unix. 2021-10-06 18:47:30 +02:00
Leon Styhre 08888e00af Clarified the use of bundled include files. 2021-10-06 18:41:21 +02:00
Leon Styhre 42cd0c1ad7 Disabled text scrolling when running media player or screensaver or when running in the background. 2021-10-06 17:24:25 +02:00
Leon Styhre 766e04c0b8 Fixed an issue where the last TextListComponent row would sometimes be partially rendered.
Also fixed another related linespacing issue in TextListComponent.
2021-10-06 17:14:25 +02:00
Leon Styhre 0e90db382c Changed the CEC device name to 'ES-DE'. 2021-10-06 17:08:57 +02:00
Leon Styhre 3ff5f90f36 Fixed a sizing issue in FlexboxComponent. 2021-10-05 17:59:44 +02:00
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 590f080897 (Windows) Fixed an MSVC compiler warning. 2021-09-30 20:18:15 +02:00