Commit graph

1482 commits

Author SHA1 Message Date
Leon Styhre 6599c12554 Fixed an issue where ScrollableContainer would sometimes fade in text that had not been scrolled. 2022-10-16 13:51:22 +02:00
Leon Styhre 16c4fb6d17 Fixed some alignment issues in CarouselComponent. 2022-10-14 18:14:15 +02:00
Leon Styhre 5f6bd48022 One more try to fix a rounding issue in TextComponent. 2022-10-14 18:12:23 +02:00
Leon Styhre 7f5ed1c41d Fixed a minor graphical glitch in CarouselComponent. 2022-10-11 21:31:05 +02:00
Leon Styhre 8bbaec229f Fixed a rounding issue in TextComponent. 2022-10-11 19:37:35 +02:00
Leon Styhre 7e923cb9b6 Some refactoring of the OpenGL renderer and TextureDataManager. 2022-10-11 18:11:36 +02:00
Leon Styhre 11b035affa Fixed a rounding issue in TextComponent. 2022-10-11 18:08:57 +02:00
Leon Styhre d74966a3c4 Fixed a heisenbug where letters would sometimes get rendered with ugly edge artifacts. 2022-10-11 18:07:56 +02:00
Leon Styhre 241a0119ef Fixed a crash in the Font::wrapText function. 2022-10-10 21:12:49 +02:00
Leon Styhre 1c82228a9c Fixed two small logical errors. 2022-10-10 20:52:55 +02:00
Leon Styhre 39c9bd2cbc Added font size overflow restrictions to TextComponent and DateTimeComponent.
Also fixed a crash that could occur in TextComponent when blank/dummy fonts were used.
2022-10-10 20:37:04 +02:00
Leon Styhre 610ac9adb3 Implemented dynamic texture allocation to the font handling. 2022-10-10 20:32:35 +02:00
Leon Styhre 6af1f76be8 Fixed an issue where the help system was rendered on top of the menus. 2022-10-10 20:07:40 +02:00
Leon Styhre 0232635504 Refactoring/cleanup. 2022-10-09 19:13:54 +02:00
Leon Styhre 0757156caf Improved error handling for unloadable font files. 2022-10-09 18:01:30 +02:00
Leon Styhre 50832a5b64 Some code cleanup. 2022-10-09 17:59:27 +02:00
Leon Styhre fdcd4a4a9d (Windows) Fixed an MSVC compiler warning. 2022-10-08 11:22:46 +02:00
Leon Styhre d927135034 Fixed an issue where line breaks were included in single-line text entries. 2022-10-08 10:00:40 +02:00
Leon Styhre 508ea87963 Rewrite of the text wrapping code to work with languages which generally lack spaces, like Japanese.
Also implemented massive performance improvements to the text wrapping code.
2022-10-08 09:33:57 +02:00
Leon Styhre 8f6262a3a9 Fixed an issue where the video player output frame width was not set correctly. 2022-10-01 17:19:53 +02:00
Leon Styhre e7f1a0f36c Updated VideoFFmpegComponent for deprecated functions in FFmpeg 5.1 2022-09-30 23:20:36 +02:00
Leon Styhre bfdeb2e004 Video player code cleanup. 2022-09-29 22:32:57 +02:00
Leon Styhre 993efe8504 Fixed an issue where audio for static videos in the gamelist view would get muted on navigation. 2022-09-29 20:18:33 +02:00
Leon Styhre 2c84e9c59b Fixed two SliderComponent issues with inconsistent knob placements.
Also improved the component for use with vertical resolutions and cleaned up some code.
2022-09-28 17:23:44 +02:00
Leon Styhre f048d06b95 Fixed a text abbreviation issue. 2022-09-28 17:21:02 +02:00
Leon Styhre 49c9710afc Added 'none' as a supported carousel item type to show only text entries in the gamelist view. 2022-09-28 17:20:01 +02:00
Leon Styhre 87d1c19e68 Fixed an issue where the scrollable container would not get properly sized after using the single-game scraper. 2022-09-27 21:56:15 +02:00
Leon Styhre 430d3e5e30 Changed the default OpenGL version on the Steam Deck from 3.3 to 4.6 2022-09-27 17:47:10 +02:00
Leon Styhre 15e30bc0ca Increased the minimum VRAM limit from 80 MiB to 128 MiB. 2022-09-27 17:43:27 +02:00
Leon Styhre 7a5daaa6fa Increased the default VRAM limit from 256 MiB to 384 MiB.
Also enabled video framerate upscaling by default on the Steam Deck.
2022-09-27 17:38:02 +02:00
Leon Styhre 06fd76abc3 Added a fadeAbovePrimary property to control whether elements above the system view carousel and textlist should be rendered during fade transitions. 2022-09-26 20:02:31 +02:00
Leon Styhre 577ed366b4 Frame advances no longer take place for GIF and Lottie animations unless update() has been called. 2022-09-26 19:00:59 +02:00
Leon Styhre 123f29aa43 Fixed multiple issues with carousel on-demand texture loading.
Also cleaned up some code.
2022-09-25 19:38:24 +02:00
Leon Styhre 47dd0e33d1 Added fading support for carousel items if the hidden or count-as-game metadata fields have been set. 2022-09-25 13:06:09 +02:00
Leon Styhre fcbe612a0b Fixed an issue where the text background opacity was not calculated correctly. 2022-09-25 10:02:24 +02:00
Leon Styhre 664a39df2c Fixed an issue where ScrollableContainer would not scroll at the correct speed. 2022-09-24 22:53:52 +02:00
Leon Styhre 9d0b3b911f Changed the argument order for the TextComponent constructor. 2022-09-24 21:37:00 +02:00
Leon Styhre 369cc7684b Eliminated a lot of unnecessary text rasterization when populating the gamelist carousel. 2022-09-24 16:47:14 +02:00
Leon Styhre 0736192417 Fixed a text abbreviation issue. 2022-09-24 16:45:18 +02:00
Leon Styhre 782d68f906 Attempt to fix a log output deadlock issue. 2022-09-23 22:49:17 +02:00
Leon Styhre 00b71c7b27 Fixed an issue where text element vertical auto-sizing did not work correctly. 2022-09-23 19:40:39 +02:00
Leon Styhre f620df4dff Eliminated some unnecessary carousel on-demand texture loading. 2022-09-22 20:11:37 +02:00
Leon Styhre 04473d0ff3 Added on-demand texture loading for wheel carousels.
Also added proper support for horizontal and vertical offsetting and fixed a clipping issue.
2022-09-22 19:11:53 +02:00
Leon Styhre 1e9b95baac Very minor code change. 2022-09-21 22:05:21 +02:00
Leon Styhre 7b7a99dbe2 Fixed an issue where overlapping wheel carousel items were not rendered in the correct order. 2022-09-21 22:03:03 +02:00
Leon Styhre 5f864d0b96 Fixed an issue where the itemAxisHorizontal carousel property did not work correctly. 2022-09-21 21:09:10 +02:00
Leon Styhre 02aba10a08 Added a ScreenScraper option to remove dots from game name searches when using the automatic scraper. 2022-09-20 22:45:32 +02:00
Leon Styhre 24a10a7807 Some improvements to the cursor logic in SystemView. 2022-09-20 21:16:39 +02:00
Leon Styhre ac5b3b15e0 Added a new 'itemAxisHorizontal' property to the carousel.
Also fixed a clipping issue when the vertical origin was not set to zero and cleaned up some code.
2022-09-20 17:05:24 +02:00
Leon Styhre 0f53d65f0d Increased the maximum carousel size to 2 per axis. 2022-09-20 00:39:03 +02:00