Leon Styhre
7ce6cd4c50
Elements set as not visible are now completely disabled in SystemView and GamelistView.
2023-01-11 18:37:00 +01:00
Leon Styhre
71b4fc947a
Added support for theme-controlled transition animations.
2023-01-08 17:00:36 +01:00
Leon Styhre
251e826589
The defaultImage property can now be used to display a static image in case no video file was found.
...
Also fixed a bug where the static image would not get displayed in the grouped custom collections view if there was no game found for the system and the previously selected entry already had it's video playing when navigating away from it.
2022-12-21 19:53:03 +01:00
Leon Styhre
ae6c062984
Added gameselectorEntry properties to a number of elements.
2022-12-15 18:23:48 +01:00
Leon Styhre
f4d4abb33b
Added theme support for defining relative brightness for images, videos and animations.
2022-12-14 20:17:41 +01:00
Leon Styhre
b4338a3fb7
Refactored some image resizing functions.
2022-11-07 23:58:22 +01:00
Leon Styhre
412a19275d
Added two letterCaseCollections and letterCaseGroupedCollections properties to TextListComponent and CarouselComponent.
...
Also refactored the letterCase logic overall in these two components.
2022-11-03 12:31:42 +01:00
Leon Styhre
84f019680d
Greatly improved text sizing and rendering.
2022-10-25 00:39:40 +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
8361c4f15c
Moved the Alignment enumerator from Font to GuiComponent.
2022-09-07 19:54:55 +02:00
Leon Styhre
48a9571609
Refactored RatingComponent to improve rendering accuracy and performance.
2022-08-28 20:11:20 +02:00
Leon Styhre
08d5e4eff0
Enabled vertical abbreviations of multiline text entries in TextComponent.
...
Also fixed an issue where the debug overlay would not get rendered correctly for scrollable containers.
2022-08-21 16:51:21 +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
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
1798b96cf8
Added reflections support to CarouselComponent.
2022-04-18 21:37:58 +02:00
Leon Styhre
5de2855d60
Added theme support for defining color saturation for the image, video and animation components.
2022-03-17 19:33:09 +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
63af859618
Modernized the OpenGL renderer and replaced most fixed function pipeline code with shaders.
...
Also greatly improved the shader post processing performance and added component dimming support.
2022-03-11 23:17:04 +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
c06dea5d2d
Lottie animations are now paused during view transitions.
2022-02-19 22:44:02 +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
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
f585f87497
Added support for setting component opacity from the theme configuration.
2022-02-12 17:38:55 +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
285d2a7bcc
Removed an unnecessary color opacity variable from GuiComponent.
2022-01-31 22:36:08 +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
336ff3ea7c
Added an extra assert macro to GuiComponent.
2022-01-29 18:12:30 +01:00
Leon Styhre
d04a49957c
Added a metadata field to GuiComponent.
...
Also did some general code cleanup of GuiComponent.
2022-01-22 21:17:28 +01:00
Leon Styhre
a443f86235
Removed a huge amount of unnecessary Window* function arguments.
2022-01-19 18:01:54 +01:00
Leon Styhre
8a6652552f
Set the clang-format option SpaceBeforeCpp11BracedList to true.
2022-01-16 12:09:55 +01:00
Leon Styhre
b16ea29088
Added theme support and proper application integration for LottieComponent.
2022-01-09 13:43:42 +01:00
Leon Styhre
3e12fcb420
General refactoring and minor optimizations throughout the codebase.
2021-11-09 22:40:08 +01:00
Leon Styhre
6ee33634fb
Improved the scrolling consistency in ScrollableContainer.
...
Also fixed an issue where a fractional last text line would sometimes get rendered.
2021-09-30 20:11:56 +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
192bec6f5c
Added a function to generate MD5 hashes.
2021-08-18 21:03:25 +02:00
Leon Styhre
74e21e8c03
Replaced some internal math functions with equivalents from the GLM library.
2021-08-17 20:55:29 +02:00
Leon Styhre
7b5d673050
Replaced the internal Vector2i data type and functions with the GLM library equivalent.
...
Also applied some code formatting changes for braced lists using clang-format.
2021-08-17 18:41:45 +02:00
Leon Styhre
1fb0ccef0d
Replaced the internal Vector2f data type and functions with the GLM library equivalent.
2021-08-16 18:25:01 +02:00
Leon Styhre
722468129e
Replaced all internal matrix data types and functions with the GLM library equivalents.
...
Also changed some vectors.
2021-08-15 19:30:31 +02:00
Leon Styhre
23fdc00044
Formatted the es-core source tree using clang-format.
2021-07-07 20:31:46 +02:00
Leon Styhre
4556a0c71a
The video player is now stopped before attempting to remove media files.
2021-01-31 20:51:24 +01:00
Leon Styhre
66e1c4e897
Improved the speed consistency for ScrollableContainer.
2021-01-19 00:11:02 +01:00
Leon Styhre
e68c8f1db3
ScrollableContainer now takes the font size into consideration for adjusting the scrolling speed.
2021-01-17 22:02:22 +01:00
Leon Styhre
a28f174960
Added a function to set scrolling parameters for ScrollableContainer.
...
Also tuned the scrolling speed a bit.
2021-01-05 12:52:21 +01:00
Leon Styhre
ade0160ffe
Made the switches slightly smaller in the metadata editor.
...
Also made the value 'unknown' be set for some entries when clearing them individually in the metadata editor.
2020-12-17 20:49:20 +01:00
Leon Styhre
b86e8ad6e2
Made the icon marker colors in the metadata editor slightly lighter.
2020-12-17 20:36:30 +01:00
Leon Styhre
debf072a0e
Rewrote some code from C to C++
2020-12-16 23:59:00 +01:00
Leon Styhre
98d99ef8bb
Added support for graying out menu entries via switch callbacks.
2020-12-15 18:49:43 +01:00
Leon Styhre
50e74595e4
Eliminated unnecessary rendering during view transitions.
2020-11-18 23:47:32 +01:00