Commit graph

994 commits

Author SHA1 Message Date
Leon Styhre 61d2b92814 Added theme support for the 'physicalName' and 'physicalNameExtension' metadata types for the text element 2023-09-23 12:52:00 +02:00
Leon Styhre 42e5e2c096 Removed some unnecessary applyTheme calls from CarouselComponent and GridComponent 2023-09-22 17:29:14 +02:00
Leon Styhre 493f51cbe8 Fixed an issue where the text debug overlay was not always rendered correctly 2023-09-22 17:27:56 +02:00
Leon Styhre ad11046d2d Added an 'imageInterpolation' property to the grid element 2023-09-22 16:51:30 +02:00
Leon Styhre 847874a149 Fixed an issue where horizontally scrolling text was not always rendered correctly when scrolling was reset 2023-09-10 15:15:04 +02:00
Leon Styhre 87ed152c5a Fixed a regression where text element fade animations would not play 2023-09-08 20:14:22 +02:00
Leon Styhre 8d8649273b Removed a lot of unnecessary vertex roundings 2023-09-07 21:38:34 +02:00
Leon Styhre 848d19a80b Added support for binding multiple texture units for use in the shaders 2023-09-07 21:02:38 +02:00
Leon Styhre 8c9ebc2dcd Renamed the textureSize shader uniform to texSize to avoid collision with the GLSL keyword
Also some additional minor renderer code cleanup
2023-08-31 17:11:32 +02:00
Leon Styhre 5ddad6d55e Fixed an issue where the rows in TextListComponent were not always sized correctly vertically 2023-08-21 17:00:15 +02:00
Leon Styhre de905babf0 Small change to two RatingComponent theme log warnings 2023-08-20 21:01:23 +02:00
Leon Styhre 7406f2ed78 Some small optimizations in ImageComponent and TextComponent 2023-08-20 20:37:04 +02:00
Leon Styhre 170d8e3791 Added rounded corner support to the image, video, animation, carousel and grid elements 2023-08-20 19:41:07 +02:00
Leon Styhre c15aa73de2 Added 'iterationCount' and 'onIterationsDone' properties to the video element 2023-08-13 14:48:00 +02:00
Leon Styhre 89d94bc1b0 Fixed an issue where the video player would not play the last couple of frames for any videos 2023-08-13 12:25:43 +02:00
Leon Styhre fd955d5a6e Changed the 'path' property for the video element to consider the value set even if it points to a non-existing file 2023-08-13 11:17:59 +02:00
Leon Styhre 4a390fb8e0 Added a 'containerScrollGap' property to the text element 2023-08-10 19:22:46 +02:00
Leon Styhre f463ee7d7b Added a number of properties to allow horizontally scrolling text entries with GridComponent 2023-08-10 19:20:44 +02:00
Leon Styhre 98482f45c9 Added a textHorizontalScrollGap property to CarouselComponent and TextListComponent 2023-08-09 20:02:21 +02:00
Leon Styhre 6ae8c87864 Added a number of properties to allow horizontally scrolling text entries with CarouselComponent
Also added support for rotating horizontal scrollable containers
2023-08-09 18:57:23 +02:00
Leon Styhre 950541b261 TextComponent now sets rotation to zero if it's attempted to be combined with a horizontal container 2023-08-08 21:02:33 +02:00
Leon Styhre c164f3bfdc Minor code cleanup 2023-08-08 20:00:21 +02:00
Leon Styhre 274a95b28e Fixed some Clang compiler warnings 2023-08-08 19:43:40 +02:00
Leon Styhre 7999f89c5b Added new textHorizontalScrolling, textHorizontalScrollSpeed and textHorizontalScrollDelay textlist properties
Also removed the horizontal text scrolling code and did some general refactoring
2023-08-08 19:35:20 +02:00
Leon Styhre c30d035e3f Removed all horizontal text scrolling code from ComponentList (TextComponent is now used instead for this)
Also some general code cleanup and refactoring
2023-08-08 19:18:16 +02:00
Leon Styhre 3591c0f1ba Changed TextComponent to convert newlines to spaces instad of nulls when using horizontally scrolling containers 2023-08-07 23:48:02 +02:00
Leon Styhre e7ada6111b Added a 'containerType' property to the text element to select between vertical and horizontal containers 2023-08-07 22:58:35 +02:00
Leon Styhre 23749f16eb Fixed an issue where some theme loading warning messages for the gamelistinfo element were not formatted correctly 2023-08-07 22:04:29 +02:00
Leon Styhre a4ba7de722 Added a 'stationary' property to all secondary elements to set them as stationary during slide transitions
Also changed the view mode enum to an enum class
2023-08-06 23:51:53 +02:00
Leon Styhre 0267a9db00 Some video code cleanup 2023-07-30 20:12:23 +02:00
Leon Styhre ed1e11418b Completely removed support for legacy EmulationStation theme sets 2023-07-30 18:17:27 +02:00
Leon Styhre 40f258f0f4 Improved font rendering for BusyComponent and GuiInfoPopup 2023-07-29 20:27:36 +02:00
Leon Styhre 8a42b01165 Reverted a rounding change in ComponentGrid as it caused unforeseen issues 2023-07-29 20:26:27 +02:00
Leon Styhre e5758d047e Improved menu system font rendering on GPUs without proper texture filtering support 2023-07-29 18:41:43 +02:00
Leon Styhre f39d09d6b7 Added a rounding when sizing BusyComponent to improve its rendering at low resolutions 2023-07-29 16:33:07 +02:00
Leon Styhre 2d151921db Fixed an issue where the camera offset in ComponentList was not correctly calculated when reaching the bottom of a list 2023-07-29 11:27:12 +02:00
Leon Styhre 0d18239893 Changed ComponentList to fixed row heights 2023-07-29 11:25:13 +02:00
Leon Styhre 69e46d96a5 Added a parameter for whether to resize ButtonComponent when calling setText() 2023-07-27 13:06:07 +02:00
Leon Styhre f797ade74f Fixed an issue where the textlist properties selectedBackgroundColor and selectedSecondaryBackgroundColor were not offset by selectorVerticalOffset 2023-07-25 00:06:00 +02:00
Leon Styhre 07d390ccda Added theme support for the 'manual' metadata type for the text element 2023-07-20 17:33:49 +02:00
Leon Styhre be2b761356 Fixed an issue where SDL_StartTextInput() was sometimes set when not actually inputting any text 2023-07-20 16:03:59 +02:00
Leon Styhre bd591a74cb Added support for pasting text into the application when a text input field is focused 2023-07-20 16:01:24 +02:00
Leon Styhre 954492b1f4 Some more changes to make the dark menu color scheme the default choice 2023-07-13 17:46:06 +02:00
Leon Styhre 8e24c7b1d4 The textlist navigation sound will now always start playing immediately when scrolling a single entry 2023-07-13 14:26:11 +02:00
Leon Styhre 8b67782340 Enabled textlist fast-scrolling for the system view 2023-07-13 13:42:29 +02:00
Leon Styhre 47c321e434 Enabled linear interpolation support for ImageComponent::setRawImage() 2023-07-04 17:41:41 +02:00
Leon Styhre 923b6b2ed1 Changed the order of some NinePatchComponent functions 2023-07-02 11:58:59 +02:00
Leon Styhre d94249d67e Fixed an issue where the rating component was sometimes color shifted incorrectly 2023-06-29 21:04:44 +02:00
Leon Styhre 03bfac0a9b Added a game manual badge 2023-06-29 20:43:32 +02:00
Leon Styhre 610da5d771 Added help prompts to the media viewer and PDF viewer
Also added trigger button support to the media viewer and fixed rendering of some PDF files with unusual orientations
2023-06-28 20:32:49 +02:00