Leon Styhre
74d3e1f063
Modernized some code.
2022-09-10 11:35:55 +02:00
Leon Styhre
34b56c490b
Fixed an issue where some default label fields were not getting properly initialized for legacy theme sets.
2022-09-09 17:58:43 +02:00
Leon Styhre
2a4d9d334d
Gamelist fade animations are now cancelled on certain navigation actions.
2022-09-09 17:52:20 +02:00
Leon Styhre
b3148a7f74
Added a dummy RatingComponent object to SystemView to keep the cached texture entries from expiring.
2022-09-08 18:59:33 +02:00
Leon Styhre
5d78412b9d
Fixed some pixel alignment issues for the carousel.
2022-09-05 22:39:26 +02:00
Leon Styhre
ff0e76332c
Added rounding to various translations like camera movements.
2022-09-05 20:13:47 +02:00
Leon Styhre
e553f68e90
Greatly improved application startup time by removing a lot of unnecessary splash screen re-rasterizations.
2022-08-23 22:34:56 +02:00
Leon Styhre
ebb099de5a
Fixed a crash caused by attempting to read data from a deleted object.
2022-08-21 22:56:20 +02:00
Leon Styhre
ef2f3f3ba9
Fixed an issue where setting a nonexistent file for the carousel defaultItem property could lead to double gamelist carousel text fallback items.
2022-08-21 18:37:51 +02:00
Leon Styhre
7718e97d29
Renamed the functions updateInfoPanel and legacyUpdateInfoPanel to updateView and legacyUpdateView in GamelistView.
2022-08-19 17:14:20 +02:00
Leon Styhre
de5a642cf6
Added a metadataElement theme property to the image, video, animation and text element types to control fading and hiding of arbitrary elements.
2022-08-18 22:51:21 +02:00
Leon Styhre
58803fe8f7
Fixed an issue where the theme controlled opacity tag did not have any effect on rating elements.
2022-08-17 17:07:52 +02:00
Leon Styhre
93e0bfab5b
Fixed an issue where text elements that had an opacity set to lower than FF via the color tag were faded in during gamelist scrolling.
2022-08-17 17:04:19 +02:00
Leon Styhre
ea8aac03f0
Fixed two minor compatibility issues for legacy themes.
2022-08-16 19:12:20 +02:00
Leon Styhre
397f221cda
Changed some defaults for unthemed systems.
2022-08-16 19:10:14 +02:00
Leon Styhre
0dfdf1c20c
Fixed an issue where reloading using Ctrl+r would sometimes not update modified image files.
2022-08-14 21:31:59 +02:00
Leon Styhre
b69706fc35
The currently loaded theme set name is now logged to to es_log.txt on startup, reload and theme change.
2022-08-14 20:24:26 +02:00
Joseph Geumlek
f7eeabeee0
Avoid nullptr if Gamelist View uses carousel.
2022-06-26 13:17:44 -07:00
Leon Styhre
9480f125bb
Added support for the physicalmedia image type to the image, video and carousel elements.
2022-06-07 17:32:42 +02:00
Leon Styhre
76384d1d34
Added system view support for the 'rating' text metadata type.
2022-06-06 22:44:48 +02:00
Leon Styhre
2e3ac5bf0e
Fixed an issue where using a text rating without a rating element in the gamelist view would crash the application.
2022-06-06 22:28:24 +02:00
Leon Styhre
0008e44294
Removed all short enums comments as they're now properly solved by AllowShortEnumsOnASingleLine.
2022-06-05 12:36:55 +02:00
Leon Styhre
d508a123d2
Fixed a few logoText issues for legacy themes.
2022-06-04 17:31:51 +02:00
Leon Styhre
94a8ef8791
Fixed two issues were thumbnails and game images were not displayed for the Detailed and Video view styles respectively.
...
Also removed support for the thumbnail game media type and fixed an issue where the logo and logotext were displayed at the same time in the gamelist view.
2022-06-03 19:56:30 +02:00
Leon Styhre
846b0a07ef
Fixed an issue with rendering elements above the carousel for legacy theme sets.
2022-06-03 19:34:39 +02:00
Leon Styhre
6a0b1bad5b
Added custom event script triggers on application startup, screensaver start and screensaver end.
2022-05-18 23:56:51 +02:00
Leon Styhre
41357ce7f5
Fixed an issue where the game-end event was triggered immediately if running in the background.
2022-05-16 22:34:51 +02:00
Leon Styhre
dc601a483d
Enabled screensaver controls when running in Kid UI mode.
2022-05-16 19:55:08 +02:00
Leon Styhre
e9dabf7084
Fixed a compiler warning on NetBSD.
2022-05-15 18:58:39 +02:00
Leon Styhre
dbfab96e03
Added rudimentary on-demand texture loading to CarouselComponent.
2022-04-20 23:00:53 +02:00
Leon Styhre
defbbfd13f
Removed the setting 'Preload gamelists on startup'.
2022-04-20 22:39:27 +02:00
Leon Styhre
a112fc035f
Changed the variable names in CarouselComponent to use 'item' instead of 'logo'.
2022-04-17 10:40:18 +02:00
Leon Styhre
f463766497
Generalized the carousel property names and added support for setting media types for gamelist carousels.
2022-04-16 21:54:58 +02:00
Leon Styhre
7daf69092f
Added theme support for controlling the TextListComponent collection indicators.
2022-04-15 21:20:43 +02:00
Leon Styhre
2001a9f639
Added a collection badge to be shown when editing custom collections.
...
Also changed the default badge lines value from 2 to 3.
2022-04-15 19:27:38 +02:00
Leon Styhre
254e271392
Added theme support for controlling the TextListComponent indicators.
2022-04-15 17:06:33 +02:00
Leon Styhre
30b02456c0
Added a folder badge including support for a folder link overlay.
2022-04-13 16:53:28 +02:00
Leon Styhre
963834afec
Renamed 'launch file' to 'folder link'.
2022-04-12 18:35:57 +02:00
Leon Styhre
45af7441e9
Added support for launching game files inside folders without having to enter the folder.
2022-04-11 23:28:18 +02:00
Leon Styhre
16955e5318
Fixed an issue where the theme sets were not always sorted correctly.
2022-04-09 15:57:37 +02:00
Leon Styhre
7e0df9063c
Fixed a crash on startup if no games were found.
2022-03-28 17:47:34 +02:00
Leon Styhre
b96f6bc131
Fixed an issue where a default primary component was not set in GamelistView.
2022-03-25 21:50:50 +01:00
Leon Styhre
3a1c9d41ce
Fully generalized SystemView and GamelistView and rewrote CarouselComponent into a template class.
...
Also cleaned up some code and fixed an issue where navigation sounds would not play when using the shoulder buttons.
2022-03-24 23:05:23 +01:00
Leon Styhre
6f6f388257
Added RatingComponent support to the system view.
2022-03-18 22:16:53 +01:00
Leon Styhre
a115b3f941
Added alignment support and separate dimming of gamelist and system views to the help system.
2022-03-18 20:14:51 +01:00
Leon Styhre
f0c35d8509
Refactored the rendering code into proper classes.
2022-03-14 19:51:48 +01:00
Leon Styhre
755b2c9f50
Changed some render variables to more verbose names.
...
Also fixed an issue with fade transitions for legacy themes.
2022-03-11 23:51:41 +01:00
Leon Styhre
6ffd4b1740
Multiple improvements to the fade transitions in SystemView.
2022-03-11 23:20:27 +01:00
Leon Styhre
9867c3d595
Fixed an issue where gamelist scroll fade-in animations would continue to play after opening and closing a menu.
2022-03-06 23:31:32 +01:00
Leon Styhre
9e2c24ef79
Fixed an issue where videos would still play if the video theme configuration was broken.
2022-03-06 22:52:13 +01:00
Leon Styhre
ecdbf6d3d5
Added GIF animation support to SystemView.
...
Also improved some rendering logic in SystemView.
2022-03-05 21:10:40 +01:00
Leon Styhre
46fd4ce5cc
Added GIF animation support to GamelistView.
2022-03-05 21:04:22 +01:00
Leon Styhre
fec860f5d3
Merge branch 'master' into new-theme-engine-phase-four
2022-02-27 16:44:59 +01:00
Leon Styhre
c96ab29e95
Fixed a few GCC compiler warnings.
2022-02-27 15:23:33 +01:00
Leon Styhre
32349dc9a6
Renamed LottieComponent to LottieAnimComponent.
2022-02-23 21:54:57 +01:00
Leon Styhre
e92af0548c
Added DateTimeComponent support to SystemView.
2022-02-20 15:49:32 +01:00
Leon Styhre
992c39d3a3
Added Lottie animation support to SystemView.
2022-02-19 22:46:52 +01:00
Leon Styhre
c06dea5d2d
Lottie animations are now paused during view transitions.
2022-02-19 22:44:02 +01:00
Leon Styhre
29514d4db9
Added video support to SystemView.
2022-02-19 21:22:46 +01:00
Leon Styhre
c4eb1b8b97
Greatly simplified the video controls code.
...
Also fixed a cosmetic issue with carousel fade transitions.
2022-02-19 17:04:23 +01:00
Leon Styhre
4f019c3775
Added support for defining multiple imageType entries.
...
Also made some improvements to GameSelectorComponent and related logic.
2022-02-14 19:32:07 +01:00
Leon Styhre
57a594225a
Added initial game selector support to SystemView.
2022-02-13 22:30:03 +01:00
Leon Styhre
afa6221582
Fixed a potential crash in GamelistBase.
2022-02-13 20:05:32 +01:00
Leon Styhre
0d799575ca
Fixed an issue where the logo text was incorrectly displayed for legacy themes.
2022-02-13 12:39:17 +01:00
Leon Styhre
1bca9e185e
Changed to the more specific imageType and systemdata theme properties.
...
Also made it possible to set the image interpolation method from the theme, and added clamping to the lineSpacing property.
2022-02-13 11:45:06 +01:00
Leon Styhre
8103bef3b8
Fixed a minor animation glitch in the gamelist view.
...
Also removed the explicit setDisplayRelative() call which made it impossible to override this theme setting.
2022-02-12 17:50:44 +01:00
Leon Styhre
a42d63e567
Code cleanup by moving a lot of casts to the appropriate getter functions.
2022-02-11 23:38:23 +01:00
Leon Styhre
2c2e624160
Changed the opacity data type and functions from unsigned char to float.
2022-02-11 22:10:25 +01:00
Leon Styhre
85cb10d71a
Changed some string::compare functions to == operators.
...
Also removed an unused theme property.
2022-02-11 18:39:16 +01:00
Leon Styhre
28a3beb9ce
ScrollableContainer parameters are now themeable.
2022-02-10 20:02:56 +01:00
Leon Styhre
b9e9178169
Fixed multiple issues in CarouselComponent.
2022-02-09 18:22:06 +01:00
Leon Styhre
98e265413e
Removed some unnecessary legacy gamelist code.
2022-02-09 18:19:01 +01:00
Leon Styhre
027af497d5
Fixed an issue where VideoComponent static images were not fading out correctly in the gamelist view.
2022-02-09 18:16:15 +01:00
Leon Styhre
03f8e020c3
Fixed a reverse scrolling issue in CarouselComponent.
2022-02-09 00:05:06 +01:00
Leon Styhre
69b9b587d6
Added support for text entries to CarouselComponent.
...
Also fixed some issues with the carousel wheels and removed an unused function in ThemeData.
2022-02-07 21:05:56 +01:00
Leon Styhre
0bd38ba26c
Updated SystemView for non-legacy carousel theming.
2022-02-06 20:36:06 +01:00
Leon Styhre
3ceecdc793
Added metadata property support for the SystemView text fields.
2022-02-06 20:13:53 +01:00
Leon Styhre
6d01e85885
Reshuffled some functions in SystemView.
2022-02-06 14:55:48 +01:00
Leon Styhre
b5d49e9b43
Migrated the carousel code from SystemView to CarouselComponent.
2022-02-06 14:01:40 +01:00
Leon Styhre
d564a234c1
Implemented a better legacy theme detection in GamelistView.
2022-02-06 13:58:50 +01:00
Leon Styhre
872aaf6b48
Preliminary update to SystemView for the new theme engine.
2022-01-30 21:16:03 +01:00
Leon Styhre
db05fb3800
Fixed an issue where an extra game image could be shown for legacy themes.
2022-01-30 20:00:49 +01:00
Leon Styhre
3bf46c3fb0
Added support for two new 'scrollFadeIn' and 'defaultImage' properties.
...
Also fixed some issues with theming ScrollableContainer.
2022-01-30 19:30:38 +01:00
Leon Styhre
c35a297d9a
Large update to get the new theme engine up and running.
2022-01-29 18:41:22 +01:00
Leon Styhre
0ca2b62edf
Some minor code cleanup.
2022-01-29 18:16:30 +01:00
Leon Styhre
098cde5f98
Pointless change to silence a GCC compiler warning.
2022-01-22 21:50:42 +01:00
Leon Styhre
62d5c1e656
Rewrote the gamelist logic for the new theme engine.
...
Also split out all legacy mode (backward compatibility) functions to a separate header file.
2022-01-22 21:42:43 +01:00
Leon Styhre
7275f020f1
Fixed the gamelist fade-in animation which was too slow.
2022-01-19 19:30:11 +01:00
Leon Styhre
a443f86235
Removed a huge amount of unnecessary Window* function arguments.
2022-01-19 18:01:54 +01:00
Leon Styhre
21b167ed9b
Added support to the new gamelist classes for changing view styles.
...
Also removed the deprecated 'grid' view style and corresponding menu option.
2022-01-18 22:04:05 +01:00
Leon Styhre
4e444c369c
Made the new gamelist code work correctly for the detailed view style.
2022-01-18 21:09:06 +01:00
Leon Styhre
51578903ff
Replaced the legacy gamelist code with rudimentary support for GamelistBase and GamelistView.
2022-01-18 20:42:50 +01:00
Leon Styhre
dfeddebc66
Removed a lot of unnecessary combinations of the virtual and override keywords.
2022-01-18 17:40:47 +01:00
Leon Styhre
ec0a7ad2f1
Added the preliminary GamelistBase and GamelistView classes.
2022-01-18 17:14:17 +01:00
Leon Styhre
e6c36e88c5
Moved UIModeController.cpp from the es-app/views directory to es-app
2022-01-17 21:53:23 +01:00
Leon Styhre
2ebfb45bdf
Some minor code cleanup.
2022-01-17 20:47:30 +01:00
Leon Styhre
0c8efee8ad
General refactoring and code cleanup.
2022-01-16 18:18:28 +01:00
Leon Styhre
8a6652552f
Set the clang-format option SpaceBeforeCpp11BracedList to true.
2022-01-16 12:09:55 +01:00
Leon Styhre
7323dd5dfd
Renamed some GAME_LIST constants to GAMELIST.
2022-01-15 13:49:14 +01:00
Leon Styhre
c7964b7ebc
Renamed GameList to Gamelist throughout the codebase.
2022-01-15 13:38:09 +01:00