Commit graph

1404 commits

Author SHA1 Message Date
Leon Styhre 8e43138722 Made GameSelectorComponent not return the same game repeatedly in a row. 2022-09-12 19:48:11 +02:00
Leon Styhre 8d5dc46fc6 Some minor code cleanup. 2022-09-12 19:03:45 +02:00
Leon Styhre 2da2a86397 Adjusted the splash screen sizing to be more consistent across various screen aspect ratios. 2022-09-11 17:24:05 +02:00
Leon Styhre a2eedde8d3 Fixed a small rounding error in TextComponent. 2022-09-10 20:05:58 +02:00
Leon Styhre c50f39dd05 Updated the CMake configuration for the removed legacy theme engine code. 2022-09-10 11:58:52 +02:00
Leon Styhre 596bc5e8af Removed a lot of deprecated theme engine code from the legacy engine. 2022-09-10 11:55:35 +02:00
Leon Styhre f0fd5346c6 Changed the default origin from 0.5 0.5 to 0 0 for GIFAnimComponent and LottieAnimComponent. 2022-09-10 11:24:43 +02:00
Leon Styhre 8cc3d1aac5 Added some more workarounds for legacy theme sets with incorrectly defined element types. 2022-09-09 18:03:58 +02:00
Leon Styhre 807cf7b057 Fixed a rounding issue for the ImageComponent debug overlay. 2022-09-09 17:56:41 +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 a58153f08d The badge overlay images are now retained in the texture cache. 2022-09-08 19:04:56 +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 2742424ca2 Some general code cleanup. 2022-09-08 18:56:02 +02:00
Leon Styhre a2769b98d4 Added a workaround for playing broken video files with invalid PTS values. 2022-09-08 18:38:19 +02:00
Leon Styhre b9303e5494 Mipmapping is now taken into consideration when calculating the VRAM usage. 2022-09-07 21:17:01 +02:00
Leon Styhre 406aecc6a9 Added two new properties tileHorizontalAlignment and tileVerticalAlignment to the image element. 2022-09-07 20:18:15 +02:00
Leon Styhre d362f62b45 Added explicit sorting of the custom event scripts. 2022-09-07 20:01:04 +02:00
Leon Styhre c537de51ef Some general code cleanup. 2022-09-07 19:59:27 +02:00
Leon Styhre 8361c4f15c Moved the Alignment enumerator from Font to GuiComponent. 2022-09-07 19:54:55 +02:00
Leon Styhre 503ff07d81 Fixed an issue where the rating stars would not display properly in the metadata editor and in the scraper.
Also fixed a minor rounding issue.
2022-09-07 19:29:56 +02:00
Leon Styhre feef706ba4 (Windows) Fixed an MSVC compiler warning. 2022-09-06 22:59:32 +02:00
Leon Styhre 487cbd84bc Fixed an excessive texture pop-in issue caused by a recent commit. 2022-09-06 22:39:28 +02:00
Leon Styhre b4b709b589 Added a tileSize property to the image element so that the size of each individual image in tiled textures can be defined. 2022-09-06 21:33:50 +02:00
Leon Styhre b6dc0bd72c Removed the font texture linear magnification support as it caused various rendering artifacts. 2022-09-06 00:51:16 +02:00
Leon Styhre 9d46625739 Added support for texture mipmapping with trilinear filtering. 2022-09-05 23:36:49 +02:00
Leon Styhre 1bbf32a6f5 Fixed some menu alignment issues. 2022-09-05 23:05:09 +02:00
Leon Styhre 311595ff62 Removed an unnecessary rounding in TextComponent. 2022-09-05 23:03:04 +02:00
Leon Styhre 01d410867c Moved back the wide SVG images size compensation from TextureData to ImageComponent. 2022-09-05 23:00:47 +02:00
Leon Styhre 5d78412b9d Fixed some pixel alignment issues for the carousel. 2022-09-05 22:39:26 +02:00
Leon Styhre b079421205 Changed it so that only fonts of a certain minimum size gets linear texture magnification applied. 2022-09-05 22:36:33 +02:00
Leon Styhre ff0e76332c Added rounding to various translations like camera movements. 2022-09-05 20:13:47 +02:00
Leon Styhre 881b602cb4 Fixed a rendering issue in ScrollableContainer. 2022-09-05 00:30:19 +02:00
Leon Styhre e8c74450a0 Enabled linear interpolation for all font rendering regardless of resolution. 2022-09-05 00:11:53 +02:00
Leon Styhre d36e64e23a Fixed a rendering issue in ButtonComponent. 2022-09-04 23:55:53 +02:00
Leon Styhre 77a2383683 Fixed a font rendering issue in TextListComponent. 2022-09-04 23:48:27 +02:00
Leon Styhre b9a2031cf6 Increased the maximum allowed size for the carousel for legacy themes only. 2022-09-04 22:36:50 +02:00
Leon Styhre dda63403fa Improved the renderer scaling accuracy. 2022-09-04 22:01:59 +02:00
Leon Styhre d242c84ea8 Set linear interpolation for the rating component in GuiMetaDataEd and GuiScraperSearch. 2022-09-03 21:43:36 +02:00
Leon Styhre 455b970a59 Reverted a removal of vertex rounding during the project matrix calculation. 2022-09-03 21:22:31 +02:00
Leon Styhre 947ab458ae Fixed some Clang compiler warnings. 2022-09-03 16:39:59 +02:00
Leon Styhre ce50c1121b Enabled linear interpolation for font texture magnification when running on display resolutions at or above approximately 1920x1080. 2022-09-02 21:30:16 +02:00
Leon Styhre 9b1fb95865 Enabled linear interpolation for font texture minifications. 2022-09-02 21:03:19 +02:00
Leon Styhre a1027c2580 Removed some projection matrix and vertices roundings which caused multiple pixel alignment issues. 2022-09-02 21:01:31 +02:00
Leon Styhre 4ade04d760 Some minor code cleanup. 2022-09-02 20:52:49 +02:00
Leon Styhre 039c27fa8e Added support for sizing SVG images arbitrarily (overriding the image aspect ratio by stretching and squashing). 2022-09-02 20:48:45 +02:00
Leon Styhre 3a9c7b92e3 Added support for arbitrary image aspect ratios to RatingComponent.
Also added an overlay property and fixed some potential crashes.
2022-09-01 17:40:29 +02:00
Leon Styhre 819d1b0341 Fixed some potential crashes in ImageComponent caused by invalid theme configuration. 2022-09-01 17:35:40 +02:00
Leon Styhre 6215ae8b57 Fixed two minor issues in RatingComponent. 2022-08-31 22:30:31 +02:00
Leon Styhre 54ded5cbb6 Changed RatingComponent to use shader-based clipping. 2022-08-31 21:19:09 +02:00
Leon Styhre 7b279a7c73 Made SVG rasterizations slightly more accurate. 2022-08-31 21:17:13 +02:00