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
Leon Styhre
6368ae0cc1
OCD update renaming ScreenSaver to Screensaver.
2020-11-10 22:33:57 +01:00
Leon Styhre
bd33d5a3b9
Implemented (somehow) proper inversions for images in menus.
2020-11-08 13:03:45 +01:00
Leon Styhre
1af7e3eda4
Added support for hidden text fields (intended for passwords).
2020-11-07 12:50:30 +01:00
Leon Styhre
5cd83899f0
Fixed a regression where the video would not pause when launching a game.
2020-10-10 15:46:01 +02:00
Leon Styhre
08a2602fe2
Added function to unpause video.
2020-09-26 22:15:36 +02:00
Leon Styhre
ae7c9dabb8
Decreased CPU usage dramatically and fixed multiple UI navigation glitches.
...
Also did some code cleanup.
2020-09-15 22:57:54 +02:00
Leon Styhre
db0e15f5e8
Fixed an annoying scrolling issue that also affected the application performance.
2020-09-13 19:08:17 +02:00
Leon Styhre
d512c2b11d
Implemented OpenGL GLSL shader support.
2020-08-30 22:19:37 +02:00
Leon Styhre
2c6bc918d6
Scraping options not supported by TheGamesDB are now grayed out in the menu.
...
This required some general logic to be added to disable GUI components, and this functionality could hopefully be useful elsewhere.
2020-08-05 19:31:59 +02:00
Leon Styhre
8fcb56cfb3
Made game launching on Windows much more seamless.
...
Also added an option to hide the taskbar.
2020-07-18 13:21:44 +02:00
Leon Styhre
70d0057295
Both user changes and scraper changes are now color marked in the metadata editor.
...
User changes are marked with blue and scraper changes with red.
2020-07-15 17:44:27 +02:00
Leon Styhre
67aa6b3dbd
Huge code cleanup and code documentation update.
...
Includes lots of conversions from tabs to spaces. Only cosmetic code changes in this commit.
2020-06-21 14:25:28 +02:00
Leon Styhre
4c67dae788
Added color marking to GuiMetaDataEd for newly scraped data.
2020-06-10 19:54:37 +02:00
Leon Styhre
4a38271f6a
Expanded the help system to (hopefully) the whole application, removed the completely broken command line scraper and fixed some bugs related to the game collections.
2020-06-09 20:03:31 +02:00
Leon Styhre
810b41bdc9
A few small optimizations, some operations will be way faster now if fewer custom collections are in use. Also some sorting bug fixes and some code cleanup.
2020-05-24 14:26:08 +02:00
Leon Styhre
f2f7d34bb6
Monster commit. Rewrote gamelist sorting logic and made per-gamelist sort settings session-permanent. Cleaned up a lot of code and started to reformat for 100 characters line length.
2020-05-24 10:29:29 +02:00
John Rassa
8de1fc8860
add 'visible' theme element
2019-07-21 23:13:48 -04:00
Koerty
d23d5dbc59
Add cropping and minSize to ImageComponent
...
- A call to cropTop(0.2) will crop 20% of the top of the image
- A call to minSIze(0.2, 0.2) will resize the image smallest side to 0.2 without breaking aspect ratio, but crop the extra lenght of the biggest side.
- Call minSize(0.2, 0.2) and then uncrop() to define an image size by its smallest side
2018-04-13 02:57:43 +02:00