From 1f7bf1ea3b33e122d31676e6663371c60912c98a Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 27 Jan 2024 15:07:03 +0100 Subject: [PATCH] Documentation update --- CHANGELOG.md | 5 +++++ THEMES-DEV.md | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d377b51c..c83a0f4ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,12 +34,15 @@ * (Windows) Added the %RUNINBACKGROUND% variable for the epic system * (Windows) Removed support for building the application using MinGW * Added a "renderDuringTransitions" property to the image element +* Added a "selectorWidth" property to the textlist element +* Added a "hideIfZero" property to the rating element * Replaced the default d-pad helpsystem images to make them more legible when using smaller screen sizes * Placeholder entries in es_systems.xml are now skipped by default when creating the system directories and systeminfo.txt files * Added a CreatePlaceholderSystemDirectories option that can be manually set in es_settings.xml to still create placeholder directories * Changed the ScreenScraper URL from https://www.screenscraper.fr/api2 to https://api.screenscraper.fr/api2 * Added support for more extreme vertical resolutions than previously allowed * Added support for the 19.5:9, 20:9 and 1:1 display aspect ratios +* If any legacy theme configuration is encountered the error messages now simply state that the config is unsupported * The relevant SDL error message is now printed to the log if a controller could not be added * Added rendering workarounds for some mobile GPUs which do not support all OpenGL operations when using the BGRA pixel format * Added the UTF8-CPP library as a dependency @@ -48,7 +51,9 @@ * Attempting to create the system directories with invalid entries in es_systems.xml could crash the application * Sometimes controllers were not added correctly when there was a mix of supported and unsupported devices present +* The last grid row would sometimes not render correctly if fractionalRows was set to true * Stationary image elements could sometimes glitch out during carousel navigation +* Theme loading debug output would sometimes print incorrect paths when the configuration included files using variables * Font textures were sometimes updated with empty glyhps which generated OpenGL errors on some mobile GPUs ## Version 2.2.1 diff --git a/THEMES-DEV.md b/THEMES-DEV.md index 020d16d38..0830681af 100644 --- a/THEMES-DEV.md +++ b/THEMES-DEV.md @@ -2007,6 +2007,10 @@ Properties: - Where on the element `pos` refers to. For example, an origin of `0.5 0.5` and a `pos` of `0.5 0.5` would place the textlist exactly in the middle of the screen. If the position and size attributes are themeable, origin is implied. - Minimum value per axis is `0` and maximum value per axis is `1` - Default is `0 0` +* `selectorWidth` - type: FLOAT + - Width of the selector bar. If an image has been defined using `selectorImagePath` then setting this property to zero will retain the aspect ratio for that image. + - Minimum value is `0` and maximum value is `1` + - Default is the equivalent value as the width of the overall element. * `selectorHeight` - type: FLOAT - Height of the selector bar. This is expanded downwards so you'll probably want to adjust its position using `selectorVerticalOffset` if making use of this property. - Minimum value is `0` and maximum value is `1` @@ -3023,6 +3027,9 @@ Properties: - `always` - Set element as stationary during all transitions. - `never` - Don't set element as stationary during any transitions. - Default is `never` +* `hideIfZero` - type: BOOLEAN + - If set to true then the element will not get rendered if the rating value is zero. + - Default is `false` * `gameselector` - type: STRING - If more than one gameselector element has been defined, this property makes it possible to state which one to use. If multiple gameselector elements have been defined and this property is missing then the first entry will be chosen and a warning message will be logged. If only a single gameselector has been defined, this property is ignored. The value of this property must match the `name` attribute value of the gameselector element. This property is only needed for the `system` view. * `gameselectorEntry` - type: UNSIGNED_INTEGER