2020-09-15 19:12:32 +00:00
|
|
|
// SPDX-License-Identifier: MIT
|
2020-06-21 12:25:28 +00:00
|
|
|
//
|
2023-12-02 11:47:17 +00:00
|
|
|
// ES-DE Frontend
|
2020-06-21 12:25:28 +00:00
|
|
|
// Window.h
|
|
|
|
//
|
2023-01-22 20:03:08 +00:00
|
|
|
// Window management, screensaver management, help prompts and splash screen.
|
2020-09-15 19:12:32 +00:00
|
|
|
// The input stack starts here as well, as this is the first instance called by InputManager.
|
2020-06-21 12:25:28 +00:00
|
|
|
//
|
|
|
|
|
2017-10-31 17:12:50 +00:00
|
|
|
#ifndef ES_CORE_WINDOW_H
|
2020-09-13 17:20:30 +00:00
|
|
|
#define ES_CORE_WINDOW_H
|
2013-04-08 14:41:25 +00:00
|
|
|
|
2024-08-11 11:28:26 +00:00
|
|
|
#include "GuiComponent.h"
|
2017-11-01 22:21:10 +00:00
|
|
|
#include "HelpPrompt.h"
|
|
|
|
#include "InputConfig.h"
|
2017-09-08 14:49:47 +00:00
|
|
|
#include "Settings.h"
|
feat/update-noruntime (#11)
* Documentation update
* Added the NooDS RetroArch core as an alternative emulator for the gba and nds systems
* Documentation update
* Updated the archive/el_GR.po file
* Fixed an issue where MD5 hashes were calculated when using the single-game scraper
* Refactored the helpsystem code and added support for using an arbitrary amount of helpsystem elements
* Removed the obsolete HelpStyle code
* Fixed some Clang compiler warnings
* Added 'thumbstickclick' as a supported 'entries' property value for the helpsystem element
* Documentation update
* Added 'lr' and 'ltrt' as supported 'entries' property values for the helpsystem element
* Documentation update
* Made it possible to set per-element icon overrides for the helpsystem element
* Fixed an issue where the helpsystem icons were sometimes not getting updated
* Fixed an issue where the default helpsystem element was not displayed if there was no theme configuration for it
* Eliminated some unnecessary helpsystem updates
* Changed a code comment
* Added 'imageSize', 'imageMaxSize', 'imageCropSize' and 'imageCropPos' properties to the video element
* Documentation update
* Added support for a 'none' value to the helpsystem element scope property
* Documentation update
* Rewrote the logic for the 'none' value for the helpsystem element scope property
* Added 'rotation' and 'rotationOrigin' properties to the helpsystem element
* Documentation update
* Added an 'entryLayout' property to the helpsystem element
* Added support for a 'none' value to the video element imageType property
* Documentation update
* Added a 'fadeInType' property to the video element
* Documentation update
* Added a clock element and a corresponding menu entry
* Documentation update
* Adjusted the default position for the clock
* Fixed an issue where applying rounded corners caused rendering artfifacts if the texture did not use premultiplied alpha
* Added a BackgroundComponent to replace NinePatchComponent for rendering menu and popup backgrounds
* Rewrote most components to use BackgroundComponent instead of NinePatchComponent
* Removed the obsolete frame.png and frame.svg graphics resource files
* Increased the background blur slightly when a menu is open
* Removed an unused variable
* Small adjustment to the GuiInfoPopup corner roundness
* Made the menu and launch screen scale up at the same speed regardless of the display refresh rate
* Documentation update
* (Linux) Added support for the Flatpak release of Ruffle
* Added the .ruf file extension to the flash system
* Fixed an issue where the DateTimeComponent gamelist fadeout didn't work correctly
* Changed the rendering order so that the clock is rendered above the textlist quick scrolling overlay
* Added an option to completely disable the game launch screen
* Added a screensaver-game-select custom event
* Added game-select and system-select custom events and a corresponding 'Browsing custom events' menu option
* (Linux) Changed the AppImage find rule for Mandarine to mandarine-qt*.AppImage
* Documentation update
* Made a HelpComponent function private instead of public
* (iOS) Fixed a build issue
* Added support for building against ICU 76.1 and later
* Added a SystemStatus class to poll Bluetooth, Wi-Fi, cellular and battery information from the operating system
* Fixed an issue where the wrong SystemStatus Wi-Fi debug info was shown
* (Android) Changed system status polling to run on the main thread
* (Windows) Fixed a typo that caused a build error
* (Linux) Fixed an issue where the battery was not detected
* (macOS) Fixed an issue where the battery capacity was not calculated correctly
* (Windows) Fixed a linker error due to two missing libraries
* (Linux) Added the BlueZ library as a dependency
* (Linux) Added the BlueZ library as a dependency
* Added a CMake find module for BlueZ
* (Linux) Fixed a CMake find module name mismatch for BlueZ
* Changed the CMake configuration to only check for the BlueZ library on Linux and not on FreeBSD
* Changed a CMake configuration comment
* OCD commit
* (Linux) Added support for checking for multiple Bluetooth adapters
* Disabled system status polling on FreeBSD and Haiku
* Added clamping to the battery capacity to work around buggy OS drivers
* Added system status indicator icons
* Added a system status component
* (Android) Fixed an issue where there was a PLACEHOLDER entry present for the consolearcade system in the es_systems.xml file
* Added menu options to toggle the system status indicators
* Fixed some issues with the system status indicators
* Fixed an issue where the battery text was not updated correctly when changing its menu option
* Documentation update
* (macOS) Added a NSBluetoothAlwaysUsageDescription key to the Info.plist file
* Fixed an issue where the battery percentage text was sometimes shown when it shouldn't have been
* Fixed an issue where some theme properties did not load correctly for the clock element
* Reorganized the positions of the systemstatus and clock elements in ThemeData
* (linear-es-de) Added configuration for the systemstatus and clock elements
* Made a small adjustment to the systemstatus element's default position
* (linear-es-de) Small adjustment to the position of the systemstatus element
* Changed SystemStatusComponent to use a height property instead of a size property
* (linear-es-de) Updated the theme config to use a height property for the systemstatus element
* Documentation update
* (linear-es-de) Relocated the configuration for the systemstatus and clock elements
* Removed the backgroundMargins and lineSpacing properties for the clock element and added backgroundColorEnd, backgroundGradientType and backgroundPadding
* (linear-es-de) Removed an obsolete property for the clock element
* (modern-es-de) Added systemstatus and clock configuration
* (slate-es-de) Added systemstatus and clock configuration
* Fixed a rendering issue when combining rotation and background padding for the clock element
* Added backgroundColor, backgroundColorEnd, backgroundGradientType, backgroundPadding and backgroundCornerRadius properties to the helpsystem element
* Added 'rotation' and 'rotationOrigin' properties to the systemstatus element
* Documentation update
* Added libgallium to the TSAN_suppressions file
* Added a compensation for a strange helpsystem sizing issue when drawing the element background
* Fixed an issue where the override for the 'battery_low' systemstatus icon did not work
* Added two sorting flags to make the translation update script generate identical output across different machines
* Changed the .po update script to not use fuzzy matching
* Added a .continueignore entry to the .gitignore file
* Updated all .po files with the new translation messages
* Updated the en_US and en_GB translations
* Updated the sv_SE translations
* (Android) Added MAME4droid Current emulator entries for all systems where MAME4droid 2024 was supported
Also changed from MAME4droid 2024 to MAME4droid Current for all systems where only this emulator was supported
* (Linux) Added a find rule entry for the new PCSX2 binary name (pcsx2)
* (Linux) Added a find rule entry for the new DuckStation binary name (duckstation)
* Added the b2 RetroArch core as an alternative emulator for the bbcmicro system
* Documentation update
* Updated SDL to 2.32.2
* Updated the MAME index files to include ROMs up to MAME version 0.275
* Bundled the February 2025 release of the Mozilla TLS/SSL certificates
* Documentation update
* Updated the nl_NL translations
* Updated the ro_RO translations
* Updated the fr_FR translations
* Updated the pt_BR translations
* Updated the it_IT translations
* Updated the fr_FR translations
* Updated the ko_KR translations
* Updated the es_ES translations
* Updated the de_DE translations
* Updated the es_ES translations
* Updated the ro_RO translations
* Updated the ru_RU translations
* Updated the ja_JP translations
* Updated the zh_CN translations
* Updated the sv_SE translations
* Updated the ca_ES translations
* Added a 'scope' property to the systemstatus and clock elements
* Documentation update
* Updated the pl_PL translations
* (linear-es-de) Added system metadata translations for 15 languages
* Added support for the Vircon32 Virtual Console (vircon32) game system
* (linear-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* (modern-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* (slate-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* Documentation update
* Added the .m3u file extension to the sega32x, sega32xjp and sega32xna systems
* (Android) Added a find rule entry for the new Cemu package name
* Added A7800 standalone as an alternative emulator for the atari7800 system on Linux and Windows
* (Linux) Added XM6 TypeG Wine and XM6 TypeG Proton as alternative emulators for the x68000 system
Also added XM6 TypeG standalone as an alternative emulator for the x68000 system on Windows
* (Android) Added Azahar standalone as an alternative emulator for the n3ds system
* Documentation update
* (Linux) Added MFME Wine and MFME Proton as alternative emulators for the arcade system
Also added MFME standalone as an alternative emulator for the arcade system on Windows
* Added a %ROMRAWWIN% variable
* (Linux) Added support for the manually downloaded release of Mesen
* Added Mesen standalone as an alternative emulator for the colecovision, wonderswan and wonderswancolor systems on Linux and Windows
* Added Azahar standalone as an alternative emulator for the n3ds system on Linux and Windows
* Documentation update
* Made a small adjustment to the button_y_PS helpsystem button
* Updated the de_DE translations
* Updated the de_DE translations
* Updated the zh_TW translations
* Documentation update
* Fixed some segfaults that could occur during emergency shutdown
* Improved the cleanup on window deinit
* Fixed a crash on window deinit
* Fixed a rare issue where reloading the application could lead to a crash
* Optimized HelpComponent updates by caching the icons
* The HelpComponent icon cache is now cleared when pressing ctrl-r
* Added an 'entryRelativeScale' property to the helpsystem element
* Fixed a code comment typo
* Documentation update
* Updated the sv_SE translations
* (linear-es-de) Adjusted the relative scale between the icons and text for the helpsystem element
* Split the backgroundPadding property into backgroundHorizontalPadding and backgroundVerticalPadding properties for the helpsystem, systemstatus and clock elements
* (slate-es-de) Updated to use the new backgroundHorizontalPadding and backgroundVerticalPadding properties for the systemstatus and clock elements
* Documentation update
* The LANG and LANGUAGE variables are now set explicitly to the UTF-8 character encoding on Linux, macOS and Android
* (modern-es-de) Adjusted the relative scale between the icons and text for the helpsystem element
* Added the bsnes-jg RetroArch core as an alternative emulator for the satellaview, sfc, snes, snesna and sufami systems
* (Windows) Fixed an issue where there could be double quotation marks added to the launch command under some special circumstances
* Enabled directories interpreted as files with MAME RetroArch for the apple2, apple2gs and fmtowns systems on Linux, macOS and Windows
* (Windows) Added back accidentally deleted MAME standalone entry for the apple2 system
* Documentation update
* (Windows) Made the hack to remove double quotation marks on game launch slightly less dangerous
* Simplified a number of HelpComponent function and variable names
* (Android) The launch sound is no longer played if the launch screen is set as disabled
* The launch sound is now always stopped when returning to ES-DE after a game launch
* The launch sound is no longer played if the launch screen is set as disabled when built with the DEINIT_ON_LAUNCH option
* Prevented the launch sound from getting stopped when running in the background on game launch
* Updated the de_DE translations
* Fixed an issue where the menus would sometimes contain fractional rows
* Updated the ko_KR translations
* (Android) Added SkyEmu standalone as an alternative emulator for the gb, gba, gbc and nds systems
* Documentation update
* Added support for the 8:7 display aspect ratio
* Added translations for the '8:7 vertical' message
* Documentation update
* Documentation update
* Fixed an issue where a double free in GuiLaunchScreen could cause an unclean application shutdown
* Updated the archive/el_GR.po file
* (Linux) Added MFME Wine and MFME Proton as alternative emulators for the mame system
Also added MFME standalone as an alternative emulator for the mame system on Windows
* (Linux) Added find rule entries for Lindbergh Loader
* Added initial support for the Microsoft Xbox One (xboxone) game system
* (linear-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* (modern-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* (slate-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* Documentation update
* Added support for the Sega Mark III (mark3) game system
* (linear-es-de) Added support for the Sega Mark III (mark3) game system
* (modern-es-de) Added support for the Sega Mark III (mark3) game system
* (slate-es-de) Added support for the Sega Mark III (mark3) game system
* Documentation update
* Added support for the Sony PlayStation 4 (ps4) game system on Linux, macOS and Windows
* Updated the archive/el_GR.po file
* Documentation update
* (Linux) Moved an emulator entry in es_find_rules.xml that was not sorted correctly
* (Android) Added a find rule entry for the Pizza Boy SC Basic emulator
* Added the CannonBall and Mr.Boom RetroArch cores as alternative emulators for the ports system
* Documentation update
* Updated the dummy ROMs archives with the latest systems
* Added RPCS3 Game Serial as an alternative emulator for the consolearcade and ps3 systems on Linux, macOS and Windows
* Documentation update
* (linear-es-de) Updated the system metadata for the mark3, vircon32 and xboxone systems
* (linear-es-de) Added zh_TW metadata translations for most systems
* (linear-es-de) Added zh_TW metadata translations for some systems
* (linear-es-de) Updated the system metadata for some systems
Also removed two obsolete system metadata files
* (linear-es-de) Updated some sv_SE system metadata entries
* Fixed an issue where the update_version_string.sh script would not update the Info.plist file correctly
* Bumped the version to 3.2.0
* Fixed a potential crash when disabling the help prompts
* Updated "update from upstream"script to fetch `stable-3.2`
* Added HelpStyle definition if def RETRODECK
* Removed HelpStyle (was introduced by RetroDECK)
* Added dependencies for ES-DE 3.2.0: dav1d, bluez, libvpx e icu
* fix(manifest): libvpx hash
* fix(manifest): update ICU source SHA256 hash
* fix(icu): change build system to simple and update build commands
* fix(icu): switch build system to autotools and update build directory structure
* fix(es-de): remove ICU dependency and update build options for ES-DE for statically linking it
* Documentation update
* feat(manifest): update runtime version to 6.8
* feat(automation): added the AppImage build job
* feat(build): install PipeWire development dependencies for ES-DE workflow
* feat(build): update dependencies for ES-DE workflow
* feat(workflow): add job to check and delete empty releases after builds
* fix(build): update release notes format in build workflow [skip ci]
* Triggering build
* feat(build): add Bluetooth development dependencies and improve AppImage naming
* feat(build): rename AppImage output for ES-DE to RetroDECK format
* feat(build): update script for RetroDECK AppImage creation
* feat(build): add bcm_host and brcmegl dependencies to build workflow
* feat(build): replace brcmegl with fuse in dependency installation
* Documentation update for the 3.2.0 release
* feat(manifest): reverted runtime version to 6.7 in application YAML
---------
Co-authored-by: Leon Styhre <leon.styhre@nw-soft.com>
2025-04-08 04:33:45 +00:00
|
|
|
#include "SystemStatus.h"
|
|
|
|
#include "components/DateTimeComponent.h"
|
2024-08-11 11:28:26 +00:00
|
|
|
#include "components/HelpComponent.h"
|
|
|
|
#include "components/ImageComponent.h"
|
feat/update-noruntime (#11)
* Documentation update
* Added the NooDS RetroArch core as an alternative emulator for the gba and nds systems
* Documentation update
* Updated the archive/el_GR.po file
* Fixed an issue where MD5 hashes were calculated when using the single-game scraper
* Refactored the helpsystem code and added support for using an arbitrary amount of helpsystem elements
* Removed the obsolete HelpStyle code
* Fixed some Clang compiler warnings
* Added 'thumbstickclick' as a supported 'entries' property value for the helpsystem element
* Documentation update
* Added 'lr' and 'ltrt' as supported 'entries' property values for the helpsystem element
* Documentation update
* Made it possible to set per-element icon overrides for the helpsystem element
* Fixed an issue where the helpsystem icons were sometimes not getting updated
* Fixed an issue where the default helpsystem element was not displayed if there was no theme configuration for it
* Eliminated some unnecessary helpsystem updates
* Changed a code comment
* Added 'imageSize', 'imageMaxSize', 'imageCropSize' and 'imageCropPos' properties to the video element
* Documentation update
* Added support for a 'none' value to the helpsystem element scope property
* Documentation update
* Rewrote the logic for the 'none' value for the helpsystem element scope property
* Added 'rotation' and 'rotationOrigin' properties to the helpsystem element
* Documentation update
* Added an 'entryLayout' property to the helpsystem element
* Added support for a 'none' value to the video element imageType property
* Documentation update
* Added a 'fadeInType' property to the video element
* Documentation update
* Added a clock element and a corresponding menu entry
* Documentation update
* Adjusted the default position for the clock
* Fixed an issue where applying rounded corners caused rendering artfifacts if the texture did not use premultiplied alpha
* Added a BackgroundComponent to replace NinePatchComponent for rendering menu and popup backgrounds
* Rewrote most components to use BackgroundComponent instead of NinePatchComponent
* Removed the obsolete frame.png and frame.svg graphics resource files
* Increased the background blur slightly when a menu is open
* Removed an unused variable
* Small adjustment to the GuiInfoPopup corner roundness
* Made the menu and launch screen scale up at the same speed regardless of the display refresh rate
* Documentation update
* (Linux) Added support for the Flatpak release of Ruffle
* Added the .ruf file extension to the flash system
* Fixed an issue where the DateTimeComponent gamelist fadeout didn't work correctly
* Changed the rendering order so that the clock is rendered above the textlist quick scrolling overlay
* Added an option to completely disable the game launch screen
* Added a screensaver-game-select custom event
* Added game-select and system-select custom events and a corresponding 'Browsing custom events' menu option
* (Linux) Changed the AppImage find rule for Mandarine to mandarine-qt*.AppImage
* Documentation update
* Made a HelpComponent function private instead of public
* (iOS) Fixed a build issue
* Added support for building against ICU 76.1 and later
* Added a SystemStatus class to poll Bluetooth, Wi-Fi, cellular and battery information from the operating system
* Fixed an issue where the wrong SystemStatus Wi-Fi debug info was shown
* (Android) Changed system status polling to run on the main thread
* (Windows) Fixed a typo that caused a build error
* (Linux) Fixed an issue where the battery was not detected
* (macOS) Fixed an issue where the battery capacity was not calculated correctly
* (Windows) Fixed a linker error due to two missing libraries
* (Linux) Added the BlueZ library as a dependency
* (Linux) Added the BlueZ library as a dependency
* Added a CMake find module for BlueZ
* (Linux) Fixed a CMake find module name mismatch for BlueZ
* Changed the CMake configuration to only check for the BlueZ library on Linux and not on FreeBSD
* Changed a CMake configuration comment
* OCD commit
* (Linux) Added support for checking for multiple Bluetooth adapters
* Disabled system status polling on FreeBSD and Haiku
* Added clamping to the battery capacity to work around buggy OS drivers
* Added system status indicator icons
* Added a system status component
* (Android) Fixed an issue where there was a PLACEHOLDER entry present for the consolearcade system in the es_systems.xml file
* Added menu options to toggle the system status indicators
* Fixed some issues with the system status indicators
* Fixed an issue where the battery text was not updated correctly when changing its menu option
* Documentation update
* (macOS) Added a NSBluetoothAlwaysUsageDescription key to the Info.plist file
* Fixed an issue where the battery percentage text was sometimes shown when it shouldn't have been
* Fixed an issue where some theme properties did not load correctly for the clock element
* Reorganized the positions of the systemstatus and clock elements in ThemeData
* (linear-es-de) Added configuration for the systemstatus and clock elements
* Made a small adjustment to the systemstatus element's default position
* (linear-es-de) Small adjustment to the position of the systemstatus element
* Changed SystemStatusComponent to use a height property instead of a size property
* (linear-es-de) Updated the theme config to use a height property for the systemstatus element
* Documentation update
* (linear-es-de) Relocated the configuration for the systemstatus and clock elements
* Removed the backgroundMargins and lineSpacing properties for the clock element and added backgroundColorEnd, backgroundGradientType and backgroundPadding
* (linear-es-de) Removed an obsolete property for the clock element
* (modern-es-de) Added systemstatus and clock configuration
* (slate-es-de) Added systemstatus and clock configuration
* Fixed a rendering issue when combining rotation and background padding for the clock element
* Added backgroundColor, backgroundColorEnd, backgroundGradientType, backgroundPadding and backgroundCornerRadius properties to the helpsystem element
* Added 'rotation' and 'rotationOrigin' properties to the systemstatus element
* Documentation update
* Added libgallium to the TSAN_suppressions file
* Added a compensation for a strange helpsystem sizing issue when drawing the element background
* Fixed an issue where the override for the 'battery_low' systemstatus icon did not work
* Added two sorting flags to make the translation update script generate identical output across different machines
* Changed the .po update script to not use fuzzy matching
* Added a .continueignore entry to the .gitignore file
* Updated all .po files with the new translation messages
* Updated the en_US and en_GB translations
* Updated the sv_SE translations
* (Android) Added MAME4droid Current emulator entries for all systems where MAME4droid 2024 was supported
Also changed from MAME4droid 2024 to MAME4droid Current for all systems where only this emulator was supported
* (Linux) Added a find rule entry for the new PCSX2 binary name (pcsx2)
* (Linux) Added a find rule entry for the new DuckStation binary name (duckstation)
* Added the b2 RetroArch core as an alternative emulator for the bbcmicro system
* Documentation update
* Updated SDL to 2.32.2
* Updated the MAME index files to include ROMs up to MAME version 0.275
* Bundled the February 2025 release of the Mozilla TLS/SSL certificates
* Documentation update
* Updated the nl_NL translations
* Updated the ro_RO translations
* Updated the fr_FR translations
* Updated the pt_BR translations
* Updated the it_IT translations
* Updated the fr_FR translations
* Updated the ko_KR translations
* Updated the es_ES translations
* Updated the de_DE translations
* Updated the es_ES translations
* Updated the ro_RO translations
* Updated the ru_RU translations
* Updated the ja_JP translations
* Updated the zh_CN translations
* Updated the sv_SE translations
* Updated the ca_ES translations
* Added a 'scope' property to the systemstatus and clock elements
* Documentation update
* Updated the pl_PL translations
* (linear-es-de) Added system metadata translations for 15 languages
* Added support for the Vircon32 Virtual Console (vircon32) game system
* (linear-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* (modern-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* (slate-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* Documentation update
* Added the .m3u file extension to the sega32x, sega32xjp and sega32xna systems
* (Android) Added a find rule entry for the new Cemu package name
* Added A7800 standalone as an alternative emulator for the atari7800 system on Linux and Windows
* (Linux) Added XM6 TypeG Wine and XM6 TypeG Proton as alternative emulators for the x68000 system
Also added XM6 TypeG standalone as an alternative emulator for the x68000 system on Windows
* (Android) Added Azahar standalone as an alternative emulator for the n3ds system
* Documentation update
* (Linux) Added MFME Wine and MFME Proton as alternative emulators for the arcade system
Also added MFME standalone as an alternative emulator for the arcade system on Windows
* Added a %ROMRAWWIN% variable
* (Linux) Added support for the manually downloaded release of Mesen
* Added Mesen standalone as an alternative emulator for the colecovision, wonderswan and wonderswancolor systems on Linux and Windows
* Added Azahar standalone as an alternative emulator for the n3ds system on Linux and Windows
* Documentation update
* Made a small adjustment to the button_y_PS helpsystem button
* Updated the de_DE translations
* Updated the de_DE translations
* Updated the zh_TW translations
* Documentation update
* Fixed some segfaults that could occur during emergency shutdown
* Improved the cleanup on window deinit
* Fixed a crash on window deinit
* Fixed a rare issue where reloading the application could lead to a crash
* Optimized HelpComponent updates by caching the icons
* The HelpComponent icon cache is now cleared when pressing ctrl-r
* Added an 'entryRelativeScale' property to the helpsystem element
* Fixed a code comment typo
* Documentation update
* Updated the sv_SE translations
* (linear-es-de) Adjusted the relative scale between the icons and text for the helpsystem element
* Split the backgroundPadding property into backgroundHorizontalPadding and backgroundVerticalPadding properties for the helpsystem, systemstatus and clock elements
* (slate-es-de) Updated to use the new backgroundHorizontalPadding and backgroundVerticalPadding properties for the systemstatus and clock elements
* Documentation update
* The LANG and LANGUAGE variables are now set explicitly to the UTF-8 character encoding on Linux, macOS and Android
* (modern-es-de) Adjusted the relative scale between the icons and text for the helpsystem element
* Added the bsnes-jg RetroArch core as an alternative emulator for the satellaview, sfc, snes, snesna and sufami systems
* (Windows) Fixed an issue where there could be double quotation marks added to the launch command under some special circumstances
* Enabled directories interpreted as files with MAME RetroArch for the apple2, apple2gs and fmtowns systems on Linux, macOS and Windows
* (Windows) Added back accidentally deleted MAME standalone entry for the apple2 system
* Documentation update
* (Windows) Made the hack to remove double quotation marks on game launch slightly less dangerous
* Simplified a number of HelpComponent function and variable names
* (Android) The launch sound is no longer played if the launch screen is set as disabled
* The launch sound is now always stopped when returning to ES-DE after a game launch
* The launch sound is no longer played if the launch screen is set as disabled when built with the DEINIT_ON_LAUNCH option
* Prevented the launch sound from getting stopped when running in the background on game launch
* Updated the de_DE translations
* Fixed an issue where the menus would sometimes contain fractional rows
* Updated the ko_KR translations
* (Android) Added SkyEmu standalone as an alternative emulator for the gb, gba, gbc and nds systems
* Documentation update
* Added support for the 8:7 display aspect ratio
* Added translations for the '8:7 vertical' message
* Documentation update
* Documentation update
* Fixed an issue where a double free in GuiLaunchScreen could cause an unclean application shutdown
* Updated the archive/el_GR.po file
* (Linux) Added MFME Wine and MFME Proton as alternative emulators for the mame system
Also added MFME standalone as an alternative emulator for the mame system on Windows
* (Linux) Added find rule entries for Lindbergh Loader
* Added initial support for the Microsoft Xbox One (xboxone) game system
* (linear-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* (modern-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* (slate-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* Documentation update
* Added support for the Sega Mark III (mark3) game system
* (linear-es-de) Added support for the Sega Mark III (mark3) game system
* (modern-es-de) Added support for the Sega Mark III (mark3) game system
* (slate-es-de) Added support for the Sega Mark III (mark3) game system
* Documentation update
* Added support for the Sony PlayStation 4 (ps4) game system on Linux, macOS and Windows
* Updated the archive/el_GR.po file
* Documentation update
* (Linux) Moved an emulator entry in es_find_rules.xml that was not sorted correctly
* (Android) Added a find rule entry for the Pizza Boy SC Basic emulator
* Added the CannonBall and Mr.Boom RetroArch cores as alternative emulators for the ports system
* Documentation update
* Updated the dummy ROMs archives with the latest systems
* Added RPCS3 Game Serial as an alternative emulator for the consolearcade and ps3 systems on Linux, macOS and Windows
* Documentation update
* (linear-es-de) Updated the system metadata for the mark3, vircon32 and xboxone systems
* (linear-es-de) Added zh_TW metadata translations for most systems
* (linear-es-de) Added zh_TW metadata translations for some systems
* (linear-es-de) Updated the system metadata for some systems
Also removed two obsolete system metadata files
* (linear-es-de) Updated some sv_SE system metadata entries
* Fixed an issue where the update_version_string.sh script would not update the Info.plist file correctly
* Bumped the version to 3.2.0
* Fixed a potential crash when disabling the help prompts
* Updated "update from upstream"script to fetch `stable-3.2`
* Added HelpStyle definition if def RETRODECK
* Removed HelpStyle (was introduced by RetroDECK)
* Added dependencies for ES-DE 3.2.0: dav1d, bluez, libvpx e icu
* fix(manifest): libvpx hash
* fix(manifest): update ICU source SHA256 hash
* fix(icu): change build system to simple and update build commands
* fix(icu): switch build system to autotools and update build directory structure
* fix(es-de): remove ICU dependency and update build options for ES-DE for statically linking it
* Documentation update
* feat(manifest): update runtime version to 6.8
* feat(automation): added the AppImage build job
* feat(build): install PipeWire development dependencies for ES-DE workflow
* feat(build): update dependencies for ES-DE workflow
* feat(workflow): add job to check and delete empty releases after builds
* fix(build): update release notes format in build workflow [skip ci]
* Triggering build
* feat(build): add Bluetooth development dependencies and improve AppImage naming
* feat(build): rename AppImage output for ES-DE to RetroDECK format
* feat(build): update script for RetroDECK AppImage creation
* feat(build): add bcm_host and brcmegl dependencies to build workflow
* feat(build): replace brcmegl with fuse in dependency installation
* Documentation update for the 3.2.0 release
* feat(manifest): reverted runtime version to 6.7 in application YAML
---------
Co-authored-by: Leon Styhre <leon.styhre@nw-soft.com>
2025-04-08 04:33:45 +00:00
|
|
|
#include "components/SystemStatusComponent.h"
|
2024-08-11 11:28:26 +00:00
|
|
|
#include "components/TextComponent.h"
|
|
|
|
#include "guis/GuiInfoPopup.h"
|
|
|
|
#include "resources/Font.h"
|
2021-07-07 18:31:46 +00:00
|
|
|
#include "resources/TextureResource.h"
|
2017-11-01 22:21:10 +00:00
|
|
|
|
2021-11-16 16:49:05 +00:00
|
|
|
#include <atomic>
|
2017-11-01 22:21:10 +00:00
|
|
|
#include <memory>
|
2021-10-07 16:31:40 +00:00
|
|
|
#include <queue>
|
2013-04-08 14:41:25 +00:00
|
|
|
|
2017-06-01 20:08:44 +00:00
|
|
|
class FileData;
|
2013-11-12 23:28:15 +00:00
|
|
|
|
2013-04-08 14:41:25 +00:00
|
|
|
class Window
|
|
|
|
{
|
|
|
|
public:
|
2020-11-10 21:18:20 +00:00
|
|
|
class Screensaver
|
2020-07-14 17:16:21 +00:00
|
|
|
{
|
2020-06-21 12:25:28 +00:00
|
|
|
public:
|
2020-11-12 16:13:24 +00:00
|
|
|
virtual bool isScreensaverActive() = 0;
|
2021-03-18 19:07:07 +00:00
|
|
|
virtual bool isFallbackScreensaver() = 0;
|
2020-11-12 16:13:24 +00:00
|
|
|
|
2020-11-10 21:18:20 +00:00
|
|
|
virtual void startScreensaver(bool generateMediaList) = 0;
|
|
|
|
virtual void stopScreensaver() = 0;
|
2020-07-28 09:10:14 +00:00
|
|
|
virtual void nextGame() = 0;
|
2020-11-12 16:13:24 +00:00
|
|
|
virtual void launchGame() = 0;
|
|
|
|
virtual void goToGame() = 0;
|
|
|
|
|
2020-11-10 21:18:20 +00:00
|
|
|
virtual void renderScreensaver() = 0;
|
2020-06-21 12:25:28 +00:00
|
|
|
virtual void update(int deltaTime) = 0;
|
2020-11-12 16:13:24 +00:00
|
|
|
|
2020-06-21 12:25:28 +00:00
|
|
|
virtual FileData* getCurrentGame() = 0;
|
2020-11-12 16:13:24 +00:00
|
|
|
virtual void triggerNextGame() = 0;
|
2020-06-21 12:25:28 +00:00
|
|
|
};
|
|
|
|
|
2021-05-16 11:12:31 +00:00
|
|
|
class MediaViewer
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual bool startMediaViewer(FileData* game) = 0;
|
|
|
|
virtual void stopMediaViewer() = 0;
|
2023-06-21 21:02:19 +00:00
|
|
|
virtual void launchPDFViewer() = 0;
|
2021-05-16 11:12:31 +00:00
|
|
|
|
2023-08-15 17:52:53 +00:00
|
|
|
virtual void input(InputConfig* config, Input input) = 0;
|
2021-05-16 11:12:31 +00:00
|
|
|
virtual void update(int deltaTime) = 0;
|
2021-09-18 09:49:39 +00:00
|
|
|
virtual void render(const glm::mat4& parentTrans) = 0;
|
2023-06-28 18:32:49 +00:00
|
|
|
virtual std::vector<HelpPrompt> getHelpPrompts() = 0;
|
2021-05-16 11:12:31 +00:00
|
|
|
};
|
|
|
|
|
2023-06-21 21:02:19 +00:00
|
|
|
class PDFViewer
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual bool startPDFViewer(FileData* game) = 0;
|
|
|
|
virtual void stopPDFViewer() = 0;
|
2023-06-25 11:30:49 +00:00
|
|
|
virtual void launchMediaViewer() = 0;
|
2023-06-21 21:02:19 +00:00
|
|
|
|
2023-08-15 17:52:53 +00:00
|
|
|
virtual void input(InputConfig* config, Input input) = 0;
|
|
|
|
virtual void update(int deltaTime) = 0;
|
2023-06-21 21:02:19 +00:00
|
|
|
virtual void render(const glm::mat4& parentTrans) = 0;
|
2023-06-28 18:32:49 +00:00
|
|
|
virtual std::vector<HelpPrompt> getHelpPrompts() = 0;
|
2023-06-21 21:02:19 +00:00
|
|
|
};
|
|
|
|
|
2021-06-14 17:15:22 +00:00
|
|
|
class GuiLaunchScreen
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void displayLaunchScreen(FileData* game) = 0;
|
|
|
|
virtual void closeLaunchScreen() = 0;
|
|
|
|
virtual void update(int deltaTime) = 0;
|
2021-09-18 09:49:39 +00:00
|
|
|
virtual void render(const glm::mat4& parentTrans) = 0;
|
2021-06-14 17:15:22 +00:00
|
|
|
};
|
|
|
|
|
2022-01-04 20:21:26 +00:00
|
|
|
static Window* getInstance();
|
2020-06-21 12:25:28 +00:00
|
|
|
|
|
|
|
void pushGui(GuiComponent* gui);
|
|
|
|
void removeGui(GuiComponent* gui);
|
|
|
|
GuiComponent* peekGui();
|
2021-07-07 18:31:46 +00:00
|
|
|
int getGuiStackSize() { return static_cast<int>(mGuiStack.size()); }
|
2021-08-22 14:43:15 +00:00
|
|
|
bool isBackgroundDimmed();
|
2020-06-21 12:25:28 +00:00
|
|
|
|
2024-11-18 21:57:39 +00:00
|
|
|
bool init(bool resized = false);
|
2021-06-11 15:02:06 +00:00
|
|
|
void deinit();
|
|
|
|
|
2020-06-21 12:25:28 +00:00
|
|
|
void input(InputConfig* config, Input input);
|
2023-07-20 14:01:24 +00:00
|
|
|
void textInput(const std::string& text, const bool pasting = false);
|
2020-12-16 22:59:00 +00:00
|
|
|
void logInput(InputConfig* config, Input input);
|
2020-06-21 12:25:28 +00:00
|
|
|
void update(int deltaTime);
|
|
|
|
void render();
|
|
|
|
|
2023-09-20 18:46:51 +00:00
|
|
|
void setBlockInput(const bool state) { mBlockInput = state; }
|
2021-06-11 15:02:06 +00:00
|
|
|
void normalizeNextUpdate() { mNormalizeNextUpdate = true; }
|
2020-06-21 12:25:28 +00:00
|
|
|
|
2023-01-22 20:03:08 +00:00
|
|
|
enum class SplashScreenState {
|
|
|
|
SCANNING,
|
|
|
|
POPULATING,
|
2023-12-02 11:47:17 +00:00
|
|
|
RELOADING,
|
2024-01-06 11:55:29 +00:00
|
|
|
RESOURCE_COPY,
|
|
|
|
DIR_CREATION
|
2023-01-22 20:03:08 +00:00
|
|
|
};
|
|
|
|
|
2024-07-04 16:53:13 +00:00
|
|
|
void updateSplashScreenText();
|
2023-01-22 20:03:08 +00:00
|
|
|
void renderSplashScreen(SplashScreenState state, float progress);
|
2021-01-12 21:41:28 +00:00
|
|
|
// The list scroll overlay is triggered from IList when the highest scrolling tier is reached.
|
2022-02-11 21:10:25 +00:00
|
|
|
void renderListScrollOverlay(const float opacity, const std::string& text);
|
2020-06-21 12:25:28 +00:00
|
|
|
|
|
|
|
void renderHelpPromptsEarly(); // Used to render HelpPrompts before a fade.
|
feat/update-noruntime (#11)
* Documentation update
* Added the NooDS RetroArch core as an alternative emulator for the gba and nds systems
* Documentation update
* Updated the archive/el_GR.po file
* Fixed an issue where MD5 hashes were calculated when using the single-game scraper
* Refactored the helpsystem code and added support for using an arbitrary amount of helpsystem elements
* Removed the obsolete HelpStyle code
* Fixed some Clang compiler warnings
* Added 'thumbstickclick' as a supported 'entries' property value for the helpsystem element
* Documentation update
* Added 'lr' and 'ltrt' as supported 'entries' property values for the helpsystem element
* Documentation update
* Made it possible to set per-element icon overrides for the helpsystem element
* Fixed an issue where the helpsystem icons were sometimes not getting updated
* Fixed an issue where the default helpsystem element was not displayed if there was no theme configuration for it
* Eliminated some unnecessary helpsystem updates
* Changed a code comment
* Added 'imageSize', 'imageMaxSize', 'imageCropSize' and 'imageCropPos' properties to the video element
* Documentation update
* Added support for a 'none' value to the helpsystem element scope property
* Documentation update
* Rewrote the logic for the 'none' value for the helpsystem element scope property
* Added 'rotation' and 'rotationOrigin' properties to the helpsystem element
* Documentation update
* Added an 'entryLayout' property to the helpsystem element
* Added support for a 'none' value to the video element imageType property
* Documentation update
* Added a 'fadeInType' property to the video element
* Documentation update
* Added a clock element and a corresponding menu entry
* Documentation update
* Adjusted the default position for the clock
* Fixed an issue where applying rounded corners caused rendering artfifacts if the texture did not use premultiplied alpha
* Added a BackgroundComponent to replace NinePatchComponent for rendering menu and popup backgrounds
* Rewrote most components to use BackgroundComponent instead of NinePatchComponent
* Removed the obsolete frame.png and frame.svg graphics resource files
* Increased the background blur slightly when a menu is open
* Removed an unused variable
* Small adjustment to the GuiInfoPopup corner roundness
* Made the menu and launch screen scale up at the same speed regardless of the display refresh rate
* Documentation update
* (Linux) Added support for the Flatpak release of Ruffle
* Added the .ruf file extension to the flash system
* Fixed an issue where the DateTimeComponent gamelist fadeout didn't work correctly
* Changed the rendering order so that the clock is rendered above the textlist quick scrolling overlay
* Added an option to completely disable the game launch screen
* Added a screensaver-game-select custom event
* Added game-select and system-select custom events and a corresponding 'Browsing custom events' menu option
* (Linux) Changed the AppImage find rule for Mandarine to mandarine-qt*.AppImage
* Documentation update
* Made a HelpComponent function private instead of public
* (iOS) Fixed a build issue
* Added support for building against ICU 76.1 and later
* Added a SystemStatus class to poll Bluetooth, Wi-Fi, cellular and battery information from the operating system
* Fixed an issue where the wrong SystemStatus Wi-Fi debug info was shown
* (Android) Changed system status polling to run on the main thread
* (Windows) Fixed a typo that caused a build error
* (Linux) Fixed an issue where the battery was not detected
* (macOS) Fixed an issue where the battery capacity was not calculated correctly
* (Windows) Fixed a linker error due to two missing libraries
* (Linux) Added the BlueZ library as a dependency
* (Linux) Added the BlueZ library as a dependency
* Added a CMake find module for BlueZ
* (Linux) Fixed a CMake find module name mismatch for BlueZ
* Changed the CMake configuration to only check for the BlueZ library on Linux and not on FreeBSD
* Changed a CMake configuration comment
* OCD commit
* (Linux) Added support for checking for multiple Bluetooth adapters
* Disabled system status polling on FreeBSD and Haiku
* Added clamping to the battery capacity to work around buggy OS drivers
* Added system status indicator icons
* Added a system status component
* (Android) Fixed an issue where there was a PLACEHOLDER entry present for the consolearcade system in the es_systems.xml file
* Added menu options to toggle the system status indicators
* Fixed some issues with the system status indicators
* Fixed an issue where the battery text was not updated correctly when changing its menu option
* Documentation update
* (macOS) Added a NSBluetoothAlwaysUsageDescription key to the Info.plist file
* Fixed an issue where the battery percentage text was sometimes shown when it shouldn't have been
* Fixed an issue where some theme properties did not load correctly for the clock element
* Reorganized the positions of the systemstatus and clock elements in ThemeData
* (linear-es-de) Added configuration for the systemstatus and clock elements
* Made a small adjustment to the systemstatus element's default position
* (linear-es-de) Small adjustment to the position of the systemstatus element
* Changed SystemStatusComponent to use a height property instead of a size property
* (linear-es-de) Updated the theme config to use a height property for the systemstatus element
* Documentation update
* (linear-es-de) Relocated the configuration for the systemstatus and clock elements
* Removed the backgroundMargins and lineSpacing properties for the clock element and added backgroundColorEnd, backgroundGradientType and backgroundPadding
* (linear-es-de) Removed an obsolete property for the clock element
* (modern-es-de) Added systemstatus and clock configuration
* (slate-es-de) Added systemstatus and clock configuration
* Fixed a rendering issue when combining rotation and background padding for the clock element
* Added backgroundColor, backgroundColorEnd, backgroundGradientType, backgroundPadding and backgroundCornerRadius properties to the helpsystem element
* Added 'rotation' and 'rotationOrigin' properties to the systemstatus element
* Documentation update
* Added libgallium to the TSAN_suppressions file
* Added a compensation for a strange helpsystem sizing issue when drawing the element background
* Fixed an issue where the override for the 'battery_low' systemstatus icon did not work
* Added two sorting flags to make the translation update script generate identical output across different machines
* Changed the .po update script to not use fuzzy matching
* Added a .continueignore entry to the .gitignore file
* Updated all .po files with the new translation messages
* Updated the en_US and en_GB translations
* Updated the sv_SE translations
* (Android) Added MAME4droid Current emulator entries for all systems where MAME4droid 2024 was supported
Also changed from MAME4droid 2024 to MAME4droid Current for all systems where only this emulator was supported
* (Linux) Added a find rule entry for the new PCSX2 binary name (pcsx2)
* (Linux) Added a find rule entry for the new DuckStation binary name (duckstation)
* Added the b2 RetroArch core as an alternative emulator for the bbcmicro system
* Documentation update
* Updated SDL to 2.32.2
* Updated the MAME index files to include ROMs up to MAME version 0.275
* Bundled the February 2025 release of the Mozilla TLS/SSL certificates
* Documentation update
* Updated the nl_NL translations
* Updated the ro_RO translations
* Updated the fr_FR translations
* Updated the pt_BR translations
* Updated the it_IT translations
* Updated the fr_FR translations
* Updated the ko_KR translations
* Updated the es_ES translations
* Updated the de_DE translations
* Updated the es_ES translations
* Updated the ro_RO translations
* Updated the ru_RU translations
* Updated the ja_JP translations
* Updated the zh_CN translations
* Updated the sv_SE translations
* Updated the ca_ES translations
* Added a 'scope' property to the systemstatus and clock elements
* Documentation update
* Updated the pl_PL translations
* (linear-es-de) Added system metadata translations for 15 languages
* Added support for the Vircon32 Virtual Console (vircon32) game system
* (linear-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* (modern-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* (slate-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* Documentation update
* Added the .m3u file extension to the sega32x, sega32xjp and sega32xna systems
* (Android) Added a find rule entry for the new Cemu package name
* Added A7800 standalone as an alternative emulator for the atari7800 system on Linux and Windows
* (Linux) Added XM6 TypeG Wine and XM6 TypeG Proton as alternative emulators for the x68000 system
Also added XM6 TypeG standalone as an alternative emulator for the x68000 system on Windows
* (Android) Added Azahar standalone as an alternative emulator for the n3ds system
* Documentation update
* (Linux) Added MFME Wine and MFME Proton as alternative emulators for the arcade system
Also added MFME standalone as an alternative emulator for the arcade system on Windows
* Added a %ROMRAWWIN% variable
* (Linux) Added support for the manually downloaded release of Mesen
* Added Mesen standalone as an alternative emulator for the colecovision, wonderswan and wonderswancolor systems on Linux and Windows
* Added Azahar standalone as an alternative emulator for the n3ds system on Linux and Windows
* Documentation update
* Made a small adjustment to the button_y_PS helpsystem button
* Updated the de_DE translations
* Updated the de_DE translations
* Updated the zh_TW translations
* Documentation update
* Fixed some segfaults that could occur during emergency shutdown
* Improved the cleanup on window deinit
* Fixed a crash on window deinit
* Fixed a rare issue where reloading the application could lead to a crash
* Optimized HelpComponent updates by caching the icons
* The HelpComponent icon cache is now cleared when pressing ctrl-r
* Added an 'entryRelativeScale' property to the helpsystem element
* Fixed a code comment typo
* Documentation update
* Updated the sv_SE translations
* (linear-es-de) Adjusted the relative scale between the icons and text for the helpsystem element
* Split the backgroundPadding property into backgroundHorizontalPadding and backgroundVerticalPadding properties for the helpsystem, systemstatus and clock elements
* (slate-es-de) Updated to use the new backgroundHorizontalPadding and backgroundVerticalPadding properties for the systemstatus and clock elements
* Documentation update
* The LANG and LANGUAGE variables are now set explicitly to the UTF-8 character encoding on Linux, macOS and Android
* (modern-es-de) Adjusted the relative scale between the icons and text for the helpsystem element
* Added the bsnes-jg RetroArch core as an alternative emulator for the satellaview, sfc, snes, snesna and sufami systems
* (Windows) Fixed an issue where there could be double quotation marks added to the launch command under some special circumstances
* Enabled directories interpreted as files with MAME RetroArch for the apple2, apple2gs and fmtowns systems on Linux, macOS and Windows
* (Windows) Added back accidentally deleted MAME standalone entry for the apple2 system
* Documentation update
* (Windows) Made the hack to remove double quotation marks on game launch slightly less dangerous
* Simplified a number of HelpComponent function and variable names
* (Android) The launch sound is no longer played if the launch screen is set as disabled
* The launch sound is now always stopped when returning to ES-DE after a game launch
* The launch sound is no longer played if the launch screen is set as disabled when built with the DEINIT_ON_LAUNCH option
* Prevented the launch sound from getting stopped when running in the background on game launch
* Updated the de_DE translations
* Fixed an issue where the menus would sometimes contain fractional rows
* Updated the ko_KR translations
* (Android) Added SkyEmu standalone as an alternative emulator for the gb, gba, gbc and nds systems
* Documentation update
* Added support for the 8:7 display aspect ratio
* Added translations for the '8:7 vertical' message
* Documentation update
* Documentation update
* Fixed an issue where a double free in GuiLaunchScreen could cause an unclean application shutdown
* Updated the archive/el_GR.po file
* (Linux) Added MFME Wine and MFME Proton as alternative emulators for the mame system
Also added MFME standalone as an alternative emulator for the mame system on Windows
* (Linux) Added find rule entries for Lindbergh Loader
* Added initial support for the Microsoft Xbox One (xboxone) game system
* (linear-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* (modern-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* (slate-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* Documentation update
* Added support for the Sega Mark III (mark3) game system
* (linear-es-de) Added support for the Sega Mark III (mark3) game system
* (modern-es-de) Added support for the Sega Mark III (mark3) game system
* (slate-es-de) Added support for the Sega Mark III (mark3) game system
* Documentation update
* Added support for the Sony PlayStation 4 (ps4) game system on Linux, macOS and Windows
* Updated the archive/el_GR.po file
* Documentation update
* (Linux) Moved an emulator entry in es_find_rules.xml that was not sorted correctly
* (Android) Added a find rule entry for the Pizza Boy SC Basic emulator
* Added the CannonBall and Mr.Boom RetroArch cores as alternative emulators for the ports system
* Documentation update
* Updated the dummy ROMs archives with the latest systems
* Added RPCS3 Game Serial as an alternative emulator for the consolearcade and ps3 systems on Linux, macOS and Windows
* Documentation update
* (linear-es-de) Updated the system metadata for the mark3, vircon32 and xboxone systems
* (linear-es-de) Added zh_TW metadata translations for most systems
* (linear-es-de) Added zh_TW metadata translations for some systems
* (linear-es-de) Updated the system metadata for some systems
Also removed two obsolete system metadata files
* (linear-es-de) Updated some sv_SE system metadata entries
* Fixed an issue where the update_version_string.sh script would not update the Info.plist file correctly
* Bumped the version to 3.2.0
* Fixed a potential crash when disabling the help prompts
* Updated "update from upstream"script to fetch `stable-3.2`
* Added HelpStyle definition if def RETRODECK
* Removed HelpStyle (was introduced by RetroDECK)
* Added dependencies for ES-DE 3.2.0: dav1d, bluez, libvpx e icu
* fix(manifest): libvpx hash
* fix(manifest): update ICU source SHA256 hash
* fix(icu): change build system to simple and update build commands
* fix(icu): switch build system to autotools and update build directory structure
* fix(es-de): remove ICU dependency and update build options for ES-DE for statically linking it
* Documentation update
* feat(manifest): update runtime version to 6.8
* feat(automation): added the AppImage build job
* feat(build): install PipeWire development dependencies for ES-DE workflow
* feat(build): update dependencies for ES-DE workflow
* feat(workflow): add job to check and delete empty releases after builds
* fix(build): update release notes format in build workflow [skip ci]
* Triggering build
* feat(build): add Bluetooth development dependencies and improve AppImage naming
* feat(build): rename AppImage output for ES-DE to RetroDECK format
* feat(build): update script for RetroDECK AppImage creation
* feat(build): add bcm_host and brcmegl dependencies to build workflow
* feat(build): replace brcmegl with fuse in dependency installation
* Documentation update for the 3.2.0 release
* feat(manifest): reverted runtime version to 6.7 in application YAML
---------
Co-authored-by: Leon Styhre <leon.styhre@nw-soft.com>
2025-04-08 04:33:45 +00:00
|
|
|
void setHelpPrompts(const std::vector<HelpPrompt>& prompts);
|
|
|
|
|
|
|
|
std::map<std::string, std::shared_ptr<ImageComponent>>& getHelpPromptsImageCache()
|
|
|
|
{
|
|
|
|
return sHelpPromptsImageCache;
|
|
|
|
}
|
|
|
|
void clearHelpPromptsImageCache() { sHelpPromptsImageCache.clear(); }
|
2020-06-21 12:25:28 +00:00
|
|
|
|
2021-10-07 16:31:40 +00:00
|
|
|
// GuiInfoPopup notifications.
|
|
|
|
void queueInfoPopup(const std::string& message, const int& duration)
|
|
|
|
{
|
|
|
|
mInfoPopupQueue.emplace(std::make_pair(message, duration));
|
|
|
|
}
|
2021-03-21 15:10:09 +00:00
|
|
|
void stopInfoPopup();
|
2020-06-21 12:25:28 +00:00
|
|
|
|
2022-05-18 21:56:51 +00:00
|
|
|
void startScreensaver(bool onTimer);
|
2020-11-12 16:13:24 +00:00
|
|
|
bool stopScreensaver();
|
2021-06-11 15:02:06 +00:00
|
|
|
void screensaverTriggerNextGame() { mScreensaver->triggerNextGame(); }
|
|
|
|
void setScreensaver(Screensaver* screensaver) { mScreensaver = screensaver; }
|
|
|
|
bool isScreensaverActive() { return mRenderScreensaver; }
|
2021-05-16 11:12:31 +00:00
|
|
|
|
|
|
|
void startMediaViewer(FileData* game);
|
|
|
|
void stopMediaViewer();
|
|
|
|
void setMediaViewer(MediaViewer* mediaViewer) { mMediaViewer = mediaViewer; }
|
2021-06-11 15:02:06 +00:00
|
|
|
bool isMediaViewerActive() { return mRenderMediaViewer; }
|
2017-06-01 20:08:44 +00:00
|
|
|
|
2023-06-21 21:02:19 +00:00
|
|
|
void startPDFViewer(FileData* game);
|
|
|
|
void stopPDFViewer();
|
|
|
|
void setPDFViewer(PDFViewer* pdfViewer) { mPDFViewer = pdfViewer; }
|
|
|
|
bool isPDFViewerActive() { return mRenderPDFViewer; }
|
|
|
|
|
2021-06-14 17:15:22 +00:00
|
|
|
void displayLaunchScreen(FileData* game);
|
|
|
|
void closeLaunchScreen();
|
|
|
|
void setLaunchScreen(GuiLaunchScreen* launchScreen) { mLaunchScreen = launchScreen; }
|
|
|
|
bool isLaunchScreenDisplayed() { return mRenderLaunchScreen; }
|
|
|
|
|
2022-02-19 16:04:23 +00:00
|
|
|
void increaseVideoPlayerCount() { ++mVideoPlayerCount; }
|
|
|
|
void decreaseVideoPlayerCount() { --mVideoPlayerCount; }
|
2021-05-29 08:58:51 +00:00
|
|
|
int getVideoPlayerCount();
|
|
|
|
|
2022-02-19 16:04:23 +00:00
|
|
|
void setLaunchedGame(bool state) { mGameLaunchedState = state; }
|
2021-03-21 15:10:09 +00:00
|
|
|
void invalidateCachedBackground();
|
2022-01-09 16:56:17 +00:00
|
|
|
bool isInvalidatingCachedBackground() { return mInvalidateCacheTimer > 0; }
|
2021-01-12 21:41:28 +00:00
|
|
|
|
2023-12-23 22:03:40 +00:00
|
|
|
std::vector<std::string>& getGameEndEventParams() { return mGameEndEventParams; }
|
2021-06-11 15:02:06 +00:00
|
|
|
bool getGameLaunchedState() { return mGameLaunchedState; }
|
2022-01-09 12:43:42 +00:00
|
|
|
void setAllowTextScrolling(bool value) { mAllowTextScrolling = value; }
|
2021-06-11 15:02:06 +00:00
|
|
|
bool getAllowTextScrolling() { return mAllowTextScrolling; }
|
2020-07-18 11:21:44 +00:00
|
|
|
|
2022-10-27 22:08:41 +00:00
|
|
|
// For GIF and Lottie animations.
|
2022-01-09 12:43:42 +00:00
|
|
|
void setAllowFileAnimation(bool value) { mAllowFileAnimation = value; }
|
|
|
|
bool getAllowFileAnimation() { return mAllowFileAnimation; }
|
|
|
|
|
2023-08-14 20:40:32 +00:00
|
|
|
void setChangedTheme() { mChangedTheme = true; }
|
|
|
|
bool getChangedTheme() { return mChangedTheme; }
|
2021-04-05 08:05:08 +00:00
|
|
|
|
feat/update-noruntime (#11)
* Documentation update
* Added the NooDS RetroArch core as an alternative emulator for the gba and nds systems
* Documentation update
* Updated the archive/el_GR.po file
* Fixed an issue where MD5 hashes were calculated when using the single-game scraper
* Refactored the helpsystem code and added support for using an arbitrary amount of helpsystem elements
* Removed the obsolete HelpStyle code
* Fixed some Clang compiler warnings
* Added 'thumbstickclick' as a supported 'entries' property value for the helpsystem element
* Documentation update
* Added 'lr' and 'ltrt' as supported 'entries' property values for the helpsystem element
* Documentation update
* Made it possible to set per-element icon overrides for the helpsystem element
* Fixed an issue where the helpsystem icons were sometimes not getting updated
* Fixed an issue where the default helpsystem element was not displayed if there was no theme configuration for it
* Eliminated some unnecessary helpsystem updates
* Changed a code comment
* Added 'imageSize', 'imageMaxSize', 'imageCropSize' and 'imageCropPos' properties to the video element
* Documentation update
* Added support for a 'none' value to the helpsystem element scope property
* Documentation update
* Rewrote the logic for the 'none' value for the helpsystem element scope property
* Added 'rotation' and 'rotationOrigin' properties to the helpsystem element
* Documentation update
* Added an 'entryLayout' property to the helpsystem element
* Added support for a 'none' value to the video element imageType property
* Documentation update
* Added a 'fadeInType' property to the video element
* Documentation update
* Added a clock element and a corresponding menu entry
* Documentation update
* Adjusted the default position for the clock
* Fixed an issue where applying rounded corners caused rendering artfifacts if the texture did not use premultiplied alpha
* Added a BackgroundComponent to replace NinePatchComponent for rendering menu and popup backgrounds
* Rewrote most components to use BackgroundComponent instead of NinePatchComponent
* Removed the obsolete frame.png and frame.svg graphics resource files
* Increased the background blur slightly when a menu is open
* Removed an unused variable
* Small adjustment to the GuiInfoPopup corner roundness
* Made the menu and launch screen scale up at the same speed regardless of the display refresh rate
* Documentation update
* (Linux) Added support for the Flatpak release of Ruffle
* Added the .ruf file extension to the flash system
* Fixed an issue where the DateTimeComponent gamelist fadeout didn't work correctly
* Changed the rendering order so that the clock is rendered above the textlist quick scrolling overlay
* Added an option to completely disable the game launch screen
* Added a screensaver-game-select custom event
* Added game-select and system-select custom events and a corresponding 'Browsing custom events' menu option
* (Linux) Changed the AppImage find rule for Mandarine to mandarine-qt*.AppImage
* Documentation update
* Made a HelpComponent function private instead of public
* (iOS) Fixed a build issue
* Added support for building against ICU 76.1 and later
* Added a SystemStatus class to poll Bluetooth, Wi-Fi, cellular and battery information from the operating system
* Fixed an issue where the wrong SystemStatus Wi-Fi debug info was shown
* (Android) Changed system status polling to run on the main thread
* (Windows) Fixed a typo that caused a build error
* (Linux) Fixed an issue where the battery was not detected
* (macOS) Fixed an issue where the battery capacity was not calculated correctly
* (Windows) Fixed a linker error due to two missing libraries
* (Linux) Added the BlueZ library as a dependency
* (Linux) Added the BlueZ library as a dependency
* Added a CMake find module for BlueZ
* (Linux) Fixed a CMake find module name mismatch for BlueZ
* Changed the CMake configuration to only check for the BlueZ library on Linux and not on FreeBSD
* Changed a CMake configuration comment
* OCD commit
* (Linux) Added support for checking for multiple Bluetooth adapters
* Disabled system status polling on FreeBSD and Haiku
* Added clamping to the battery capacity to work around buggy OS drivers
* Added system status indicator icons
* Added a system status component
* (Android) Fixed an issue where there was a PLACEHOLDER entry present for the consolearcade system in the es_systems.xml file
* Added menu options to toggle the system status indicators
* Fixed some issues with the system status indicators
* Fixed an issue where the battery text was not updated correctly when changing its menu option
* Documentation update
* (macOS) Added a NSBluetoothAlwaysUsageDescription key to the Info.plist file
* Fixed an issue where the battery percentage text was sometimes shown when it shouldn't have been
* Fixed an issue where some theme properties did not load correctly for the clock element
* Reorganized the positions of the systemstatus and clock elements in ThemeData
* (linear-es-de) Added configuration for the systemstatus and clock elements
* Made a small adjustment to the systemstatus element's default position
* (linear-es-de) Small adjustment to the position of the systemstatus element
* Changed SystemStatusComponent to use a height property instead of a size property
* (linear-es-de) Updated the theme config to use a height property for the systemstatus element
* Documentation update
* (linear-es-de) Relocated the configuration for the systemstatus and clock elements
* Removed the backgroundMargins and lineSpacing properties for the clock element and added backgroundColorEnd, backgroundGradientType and backgroundPadding
* (linear-es-de) Removed an obsolete property for the clock element
* (modern-es-de) Added systemstatus and clock configuration
* (slate-es-de) Added systemstatus and clock configuration
* Fixed a rendering issue when combining rotation and background padding for the clock element
* Added backgroundColor, backgroundColorEnd, backgroundGradientType, backgroundPadding and backgroundCornerRadius properties to the helpsystem element
* Added 'rotation' and 'rotationOrigin' properties to the systemstatus element
* Documentation update
* Added libgallium to the TSAN_suppressions file
* Added a compensation for a strange helpsystem sizing issue when drawing the element background
* Fixed an issue where the override for the 'battery_low' systemstatus icon did not work
* Added two sorting flags to make the translation update script generate identical output across different machines
* Changed the .po update script to not use fuzzy matching
* Added a .continueignore entry to the .gitignore file
* Updated all .po files with the new translation messages
* Updated the en_US and en_GB translations
* Updated the sv_SE translations
* (Android) Added MAME4droid Current emulator entries for all systems where MAME4droid 2024 was supported
Also changed from MAME4droid 2024 to MAME4droid Current for all systems where only this emulator was supported
* (Linux) Added a find rule entry for the new PCSX2 binary name (pcsx2)
* (Linux) Added a find rule entry for the new DuckStation binary name (duckstation)
* Added the b2 RetroArch core as an alternative emulator for the bbcmicro system
* Documentation update
* Updated SDL to 2.32.2
* Updated the MAME index files to include ROMs up to MAME version 0.275
* Bundled the February 2025 release of the Mozilla TLS/SSL certificates
* Documentation update
* Updated the nl_NL translations
* Updated the ro_RO translations
* Updated the fr_FR translations
* Updated the pt_BR translations
* Updated the it_IT translations
* Updated the fr_FR translations
* Updated the ko_KR translations
* Updated the es_ES translations
* Updated the de_DE translations
* Updated the es_ES translations
* Updated the ro_RO translations
* Updated the ru_RU translations
* Updated the ja_JP translations
* Updated the zh_CN translations
* Updated the sv_SE translations
* Updated the ca_ES translations
* Added a 'scope' property to the systemstatus and clock elements
* Documentation update
* Updated the pl_PL translations
* (linear-es-de) Added system metadata translations for 15 languages
* Added support for the Vircon32 Virtual Console (vircon32) game system
* (linear-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* (modern-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* (slate-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* Documentation update
* Added the .m3u file extension to the sega32x, sega32xjp and sega32xna systems
* (Android) Added a find rule entry for the new Cemu package name
* Added A7800 standalone as an alternative emulator for the atari7800 system on Linux and Windows
* (Linux) Added XM6 TypeG Wine and XM6 TypeG Proton as alternative emulators for the x68000 system
Also added XM6 TypeG standalone as an alternative emulator for the x68000 system on Windows
* (Android) Added Azahar standalone as an alternative emulator for the n3ds system
* Documentation update
* (Linux) Added MFME Wine and MFME Proton as alternative emulators for the arcade system
Also added MFME standalone as an alternative emulator for the arcade system on Windows
* Added a %ROMRAWWIN% variable
* (Linux) Added support for the manually downloaded release of Mesen
* Added Mesen standalone as an alternative emulator for the colecovision, wonderswan and wonderswancolor systems on Linux and Windows
* Added Azahar standalone as an alternative emulator for the n3ds system on Linux and Windows
* Documentation update
* Made a small adjustment to the button_y_PS helpsystem button
* Updated the de_DE translations
* Updated the de_DE translations
* Updated the zh_TW translations
* Documentation update
* Fixed some segfaults that could occur during emergency shutdown
* Improved the cleanup on window deinit
* Fixed a crash on window deinit
* Fixed a rare issue where reloading the application could lead to a crash
* Optimized HelpComponent updates by caching the icons
* The HelpComponent icon cache is now cleared when pressing ctrl-r
* Added an 'entryRelativeScale' property to the helpsystem element
* Fixed a code comment typo
* Documentation update
* Updated the sv_SE translations
* (linear-es-de) Adjusted the relative scale between the icons and text for the helpsystem element
* Split the backgroundPadding property into backgroundHorizontalPadding and backgroundVerticalPadding properties for the helpsystem, systemstatus and clock elements
* (slate-es-de) Updated to use the new backgroundHorizontalPadding and backgroundVerticalPadding properties for the systemstatus and clock elements
* Documentation update
* The LANG and LANGUAGE variables are now set explicitly to the UTF-8 character encoding on Linux, macOS and Android
* (modern-es-de) Adjusted the relative scale between the icons and text for the helpsystem element
* Added the bsnes-jg RetroArch core as an alternative emulator for the satellaview, sfc, snes, snesna and sufami systems
* (Windows) Fixed an issue where there could be double quotation marks added to the launch command under some special circumstances
* Enabled directories interpreted as files with MAME RetroArch for the apple2, apple2gs and fmtowns systems on Linux, macOS and Windows
* (Windows) Added back accidentally deleted MAME standalone entry for the apple2 system
* Documentation update
* (Windows) Made the hack to remove double quotation marks on game launch slightly less dangerous
* Simplified a number of HelpComponent function and variable names
* (Android) The launch sound is no longer played if the launch screen is set as disabled
* The launch sound is now always stopped when returning to ES-DE after a game launch
* The launch sound is no longer played if the launch screen is set as disabled when built with the DEINIT_ON_LAUNCH option
* Prevented the launch sound from getting stopped when running in the background on game launch
* Updated the de_DE translations
* Fixed an issue where the menus would sometimes contain fractional rows
* Updated the ko_KR translations
* (Android) Added SkyEmu standalone as an alternative emulator for the gb, gba, gbc and nds systems
* Documentation update
* Added support for the 8:7 display aspect ratio
* Added translations for the '8:7 vertical' message
* Documentation update
* Documentation update
* Fixed an issue where a double free in GuiLaunchScreen could cause an unclean application shutdown
* Updated the archive/el_GR.po file
* (Linux) Added MFME Wine and MFME Proton as alternative emulators for the mame system
Also added MFME standalone as an alternative emulator for the mame system on Windows
* (Linux) Added find rule entries for Lindbergh Loader
* Added initial support for the Microsoft Xbox One (xboxone) game system
* (linear-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* (modern-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* (slate-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* Documentation update
* Added support for the Sega Mark III (mark3) game system
* (linear-es-de) Added support for the Sega Mark III (mark3) game system
* (modern-es-de) Added support for the Sega Mark III (mark3) game system
* (slate-es-de) Added support for the Sega Mark III (mark3) game system
* Documentation update
* Added support for the Sony PlayStation 4 (ps4) game system on Linux, macOS and Windows
* Updated the archive/el_GR.po file
* Documentation update
* (Linux) Moved an emulator entry in es_find_rules.xml that was not sorted correctly
* (Android) Added a find rule entry for the Pizza Boy SC Basic emulator
* Added the CannonBall and Mr.Boom RetroArch cores as alternative emulators for the ports system
* Documentation update
* Updated the dummy ROMs archives with the latest systems
* Added RPCS3 Game Serial as an alternative emulator for the consolearcade and ps3 systems on Linux, macOS and Windows
* Documentation update
* (linear-es-de) Updated the system metadata for the mark3, vircon32 and xboxone systems
* (linear-es-de) Added zh_TW metadata translations for most systems
* (linear-es-de) Added zh_TW metadata translations for some systems
* (linear-es-de) Updated the system metadata for some systems
Also removed two obsolete system metadata files
* (linear-es-de) Updated some sv_SE system metadata entries
* Fixed an issue where the update_version_string.sh script would not update the Info.plist file correctly
* Bumped the version to 3.2.0
* Fixed a potential crash when disabling the help prompts
* Updated "update from upstream"script to fetch `stable-3.2`
* Added HelpStyle definition if def RETRODECK
* Removed HelpStyle (was introduced by RetroDECK)
* Added dependencies for ES-DE 3.2.0: dav1d, bluez, libvpx e icu
* fix(manifest): libvpx hash
* fix(manifest): update ICU source SHA256 hash
* fix(icu): change build system to simple and update build commands
* fix(icu): switch build system to autotools and update build directory structure
* fix(es-de): remove ICU dependency and update build options for ES-DE for statically linking it
* Documentation update
* feat(manifest): update runtime version to 6.8
* feat(automation): added the AppImage build job
* feat(build): install PipeWire development dependencies for ES-DE workflow
* feat(build): update dependencies for ES-DE workflow
* feat(workflow): add job to check and delete empty releases after builds
* fix(build): update release notes format in build workflow [skip ci]
* Triggering build
* feat(build): add Bluetooth development dependencies and improve AppImage naming
* feat(build): rename AppImage output for ES-DE to RetroDECK format
* feat(build): update script for RetroDECK AppImage creation
* feat(build): add bcm_host and brcmegl dependencies to build workflow
* feat(build): replace brcmegl with fuse in dependency installation
* Documentation update for the 3.2.0 release
* feat(manifest): reverted runtime version to 6.7 in application YAML
---------
Co-authored-by: Leon Styhre <leon.styhre@nw-soft.com>
2025-04-08 04:33:45 +00:00
|
|
|
void passHelpComponents(std::vector<std::unique_ptr<HelpComponent>>* helpComponents)
|
|
|
|
{
|
|
|
|
mHelpComponents = helpComponents;
|
|
|
|
}
|
|
|
|
|
|
|
|
void passClockComponents(std::vector<std::unique_ptr<DateTimeComponent>>* clockComponents)
|
|
|
|
{
|
|
|
|
mClockComponents = clockComponents;
|
|
|
|
}
|
|
|
|
|
|
|
|
void passSystemStatusComponents(
|
|
|
|
std::vector<std::unique_ptr<SystemStatusComponent>>* systemstatusComponents)
|
|
|
|
{
|
|
|
|
mSystemStatusComponents = systemstatusComponents;
|
|
|
|
}
|
|
|
|
|
|
|
|
void updateSystemStatusComponents()
|
|
|
|
{
|
|
|
|
if (mSystemStatusComponents != nullptr) {
|
|
|
|
for (auto& systemStatusComponent : *mSystemStatusComponents)
|
|
|
|
systemStatusComponent->update(SystemStatus::pollingTime);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-08 14:41:25 +00:00
|
|
|
private:
|
2022-01-04 20:21:26 +00:00
|
|
|
Window() noexcept;
|
|
|
|
~Window();
|
|
|
|
|
2020-06-21 12:25:28 +00:00
|
|
|
// Returns true if at least one component on the stack is processing.
|
|
|
|
bool isProcessing();
|
2019-02-20 07:33:00 +00:00
|
|
|
|
2023-01-22 20:03:08 +00:00
|
|
|
struct ProgressBarRectangle {
|
|
|
|
float barWidth;
|
|
|
|
float barHeight;
|
|
|
|
float barPosX;
|
|
|
|
float barPosY;
|
|
|
|
unsigned int color;
|
|
|
|
};
|
|
|
|
|
feat/update-noruntime (#11)
* Documentation update
* Added the NooDS RetroArch core as an alternative emulator for the gba and nds systems
* Documentation update
* Updated the archive/el_GR.po file
* Fixed an issue where MD5 hashes were calculated when using the single-game scraper
* Refactored the helpsystem code and added support for using an arbitrary amount of helpsystem elements
* Removed the obsolete HelpStyle code
* Fixed some Clang compiler warnings
* Added 'thumbstickclick' as a supported 'entries' property value for the helpsystem element
* Documentation update
* Added 'lr' and 'ltrt' as supported 'entries' property values for the helpsystem element
* Documentation update
* Made it possible to set per-element icon overrides for the helpsystem element
* Fixed an issue where the helpsystem icons were sometimes not getting updated
* Fixed an issue where the default helpsystem element was not displayed if there was no theme configuration for it
* Eliminated some unnecessary helpsystem updates
* Changed a code comment
* Added 'imageSize', 'imageMaxSize', 'imageCropSize' and 'imageCropPos' properties to the video element
* Documentation update
* Added support for a 'none' value to the helpsystem element scope property
* Documentation update
* Rewrote the logic for the 'none' value for the helpsystem element scope property
* Added 'rotation' and 'rotationOrigin' properties to the helpsystem element
* Documentation update
* Added an 'entryLayout' property to the helpsystem element
* Added support for a 'none' value to the video element imageType property
* Documentation update
* Added a 'fadeInType' property to the video element
* Documentation update
* Added a clock element and a corresponding menu entry
* Documentation update
* Adjusted the default position for the clock
* Fixed an issue where applying rounded corners caused rendering artfifacts if the texture did not use premultiplied alpha
* Added a BackgroundComponent to replace NinePatchComponent for rendering menu and popup backgrounds
* Rewrote most components to use BackgroundComponent instead of NinePatchComponent
* Removed the obsolete frame.png and frame.svg graphics resource files
* Increased the background blur slightly when a menu is open
* Removed an unused variable
* Small adjustment to the GuiInfoPopup corner roundness
* Made the menu and launch screen scale up at the same speed regardless of the display refresh rate
* Documentation update
* (Linux) Added support for the Flatpak release of Ruffle
* Added the .ruf file extension to the flash system
* Fixed an issue where the DateTimeComponent gamelist fadeout didn't work correctly
* Changed the rendering order so that the clock is rendered above the textlist quick scrolling overlay
* Added an option to completely disable the game launch screen
* Added a screensaver-game-select custom event
* Added game-select and system-select custom events and a corresponding 'Browsing custom events' menu option
* (Linux) Changed the AppImage find rule for Mandarine to mandarine-qt*.AppImage
* Documentation update
* Made a HelpComponent function private instead of public
* (iOS) Fixed a build issue
* Added support for building against ICU 76.1 and later
* Added a SystemStatus class to poll Bluetooth, Wi-Fi, cellular and battery information from the operating system
* Fixed an issue where the wrong SystemStatus Wi-Fi debug info was shown
* (Android) Changed system status polling to run on the main thread
* (Windows) Fixed a typo that caused a build error
* (Linux) Fixed an issue where the battery was not detected
* (macOS) Fixed an issue where the battery capacity was not calculated correctly
* (Windows) Fixed a linker error due to two missing libraries
* (Linux) Added the BlueZ library as a dependency
* (Linux) Added the BlueZ library as a dependency
* Added a CMake find module for BlueZ
* (Linux) Fixed a CMake find module name mismatch for BlueZ
* Changed the CMake configuration to only check for the BlueZ library on Linux and not on FreeBSD
* Changed a CMake configuration comment
* OCD commit
* (Linux) Added support for checking for multiple Bluetooth adapters
* Disabled system status polling on FreeBSD and Haiku
* Added clamping to the battery capacity to work around buggy OS drivers
* Added system status indicator icons
* Added a system status component
* (Android) Fixed an issue where there was a PLACEHOLDER entry present for the consolearcade system in the es_systems.xml file
* Added menu options to toggle the system status indicators
* Fixed some issues with the system status indicators
* Fixed an issue where the battery text was not updated correctly when changing its menu option
* Documentation update
* (macOS) Added a NSBluetoothAlwaysUsageDescription key to the Info.plist file
* Fixed an issue where the battery percentage text was sometimes shown when it shouldn't have been
* Fixed an issue where some theme properties did not load correctly for the clock element
* Reorganized the positions of the systemstatus and clock elements in ThemeData
* (linear-es-de) Added configuration for the systemstatus and clock elements
* Made a small adjustment to the systemstatus element's default position
* (linear-es-de) Small adjustment to the position of the systemstatus element
* Changed SystemStatusComponent to use a height property instead of a size property
* (linear-es-de) Updated the theme config to use a height property for the systemstatus element
* Documentation update
* (linear-es-de) Relocated the configuration for the systemstatus and clock elements
* Removed the backgroundMargins and lineSpacing properties for the clock element and added backgroundColorEnd, backgroundGradientType and backgroundPadding
* (linear-es-de) Removed an obsolete property for the clock element
* (modern-es-de) Added systemstatus and clock configuration
* (slate-es-de) Added systemstatus and clock configuration
* Fixed a rendering issue when combining rotation and background padding for the clock element
* Added backgroundColor, backgroundColorEnd, backgroundGradientType, backgroundPadding and backgroundCornerRadius properties to the helpsystem element
* Added 'rotation' and 'rotationOrigin' properties to the systemstatus element
* Documentation update
* Added libgallium to the TSAN_suppressions file
* Added a compensation for a strange helpsystem sizing issue when drawing the element background
* Fixed an issue where the override for the 'battery_low' systemstatus icon did not work
* Added two sorting flags to make the translation update script generate identical output across different machines
* Changed the .po update script to not use fuzzy matching
* Added a .continueignore entry to the .gitignore file
* Updated all .po files with the new translation messages
* Updated the en_US and en_GB translations
* Updated the sv_SE translations
* (Android) Added MAME4droid Current emulator entries for all systems where MAME4droid 2024 was supported
Also changed from MAME4droid 2024 to MAME4droid Current for all systems where only this emulator was supported
* (Linux) Added a find rule entry for the new PCSX2 binary name (pcsx2)
* (Linux) Added a find rule entry for the new DuckStation binary name (duckstation)
* Added the b2 RetroArch core as an alternative emulator for the bbcmicro system
* Documentation update
* Updated SDL to 2.32.2
* Updated the MAME index files to include ROMs up to MAME version 0.275
* Bundled the February 2025 release of the Mozilla TLS/SSL certificates
* Documentation update
* Updated the nl_NL translations
* Updated the ro_RO translations
* Updated the fr_FR translations
* Updated the pt_BR translations
* Updated the it_IT translations
* Updated the fr_FR translations
* Updated the ko_KR translations
* Updated the es_ES translations
* Updated the de_DE translations
* Updated the es_ES translations
* Updated the ro_RO translations
* Updated the ru_RU translations
* Updated the ja_JP translations
* Updated the zh_CN translations
* Updated the sv_SE translations
* Updated the ca_ES translations
* Added a 'scope' property to the systemstatus and clock elements
* Documentation update
* Updated the pl_PL translations
* (linear-es-de) Added system metadata translations for 15 languages
* Added support for the Vircon32 Virtual Console (vircon32) game system
* (linear-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* (modern-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* (slate-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* Documentation update
* Added the .m3u file extension to the sega32x, sega32xjp and sega32xna systems
* (Android) Added a find rule entry for the new Cemu package name
* Added A7800 standalone as an alternative emulator for the atari7800 system on Linux and Windows
* (Linux) Added XM6 TypeG Wine and XM6 TypeG Proton as alternative emulators for the x68000 system
Also added XM6 TypeG standalone as an alternative emulator for the x68000 system on Windows
* (Android) Added Azahar standalone as an alternative emulator for the n3ds system
* Documentation update
* (Linux) Added MFME Wine and MFME Proton as alternative emulators for the arcade system
Also added MFME standalone as an alternative emulator for the arcade system on Windows
* Added a %ROMRAWWIN% variable
* (Linux) Added support for the manually downloaded release of Mesen
* Added Mesen standalone as an alternative emulator for the colecovision, wonderswan and wonderswancolor systems on Linux and Windows
* Added Azahar standalone as an alternative emulator for the n3ds system on Linux and Windows
* Documentation update
* Made a small adjustment to the button_y_PS helpsystem button
* Updated the de_DE translations
* Updated the de_DE translations
* Updated the zh_TW translations
* Documentation update
* Fixed some segfaults that could occur during emergency shutdown
* Improved the cleanup on window deinit
* Fixed a crash on window deinit
* Fixed a rare issue where reloading the application could lead to a crash
* Optimized HelpComponent updates by caching the icons
* The HelpComponent icon cache is now cleared when pressing ctrl-r
* Added an 'entryRelativeScale' property to the helpsystem element
* Fixed a code comment typo
* Documentation update
* Updated the sv_SE translations
* (linear-es-de) Adjusted the relative scale between the icons and text for the helpsystem element
* Split the backgroundPadding property into backgroundHorizontalPadding and backgroundVerticalPadding properties for the helpsystem, systemstatus and clock elements
* (slate-es-de) Updated to use the new backgroundHorizontalPadding and backgroundVerticalPadding properties for the systemstatus and clock elements
* Documentation update
* The LANG and LANGUAGE variables are now set explicitly to the UTF-8 character encoding on Linux, macOS and Android
* (modern-es-de) Adjusted the relative scale between the icons and text for the helpsystem element
* Added the bsnes-jg RetroArch core as an alternative emulator for the satellaview, sfc, snes, snesna and sufami systems
* (Windows) Fixed an issue where there could be double quotation marks added to the launch command under some special circumstances
* Enabled directories interpreted as files with MAME RetroArch for the apple2, apple2gs and fmtowns systems on Linux, macOS and Windows
* (Windows) Added back accidentally deleted MAME standalone entry for the apple2 system
* Documentation update
* (Windows) Made the hack to remove double quotation marks on game launch slightly less dangerous
* Simplified a number of HelpComponent function and variable names
* (Android) The launch sound is no longer played if the launch screen is set as disabled
* The launch sound is now always stopped when returning to ES-DE after a game launch
* The launch sound is no longer played if the launch screen is set as disabled when built with the DEINIT_ON_LAUNCH option
* Prevented the launch sound from getting stopped when running in the background on game launch
* Updated the de_DE translations
* Fixed an issue where the menus would sometimes contain fractional rows
* Updated the ko_KR translations
* (Android) Added SkyEmu standalone as an alternative emulator for the gb, gba, gbc and nds systems
* Documentation update
* Added support for the 8:7 display aspect ratio
* Added translations for the '8:7 vertical' message
* Documentation update
* Documentation update
* Fixed an issue where a double free in GuiLaunchScreen could cause an unclean application shutdown
* Updated the archive/el_GR.po file
* (Linux) Added MFME Wine and MFME Proton as alternative emulators for the mame system
Also added MFME standalone as an alternative emulator for the mame system on Windows
* (Linux) Added find rule entries for Lindbergh Loader
* Added initial support for the Microsoft Xbox One (xboxone) game system
* (linear-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* (modern-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* (slate-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* Documentation update
* Added support for the Sega Mark III (mark3) game system
* (linear-es-de) Added support for the Sega Mark III (mark3) game system
* (modern-es-de) Added support for the Sega Mark III (mark3) game system
* (slate-es-de) Added support for the Sega Mark III (mark3) game system
* Documentation update
* Added support for the Sony PlayStation 4 (ps4) game system on Linux, macOS and Windows
* Updated the archive/el_GR.po file
* Documentation update
* (Linux) Moved an emulator entry in es_find_rules.xml that was not sorted correctly
* (Android) Added a find rule entry for the Pizza Boy SC Basic emulator
* Added the CannonBall and Mr.Boom RetroArch cores as alternative emulators for the ports system
* Documentation update
* Updated the dummy ROMs archives with the latest systems
* Added RPCS3 Game Serial as an alternative emulator for the consolearcade and ps3 systems on Linux, macOS and Windows
* Documentation update
* (linear-es-de) Updated the system metadata for the mark3, vircon32 and xboxone systems
* (linear-es-de) Added zh_TW metadata translations for most systems
* (linear-es-de) Added zh_TW metadata translations for some systems
* (linear-es-de) Updated the system metadata for some systems
Also removed two obsolete system metadata files
* (linear-es-de) Updated some sv_SE system metadata entries
* Fixed an issue where the update_version_string.sh script would not update the Info.plist file correctly
* Bumped the version to 3.2.0
* Fixed a potential crash when disabling the help prompts
* Updated "update from upstream"script to fetch `stable-3.2`
* Added HelpStyle definition if def RETRODECK
* Removed HelpStyle (was introduced by RetroDECK)
* Added dependencies for ES-DE 3.2.0: dav1d, bluez, libvpx e icu
* fix(manifest): libvpx hash
* fix(manifest): update ICU source SHA256 hash
* fix(icu): change build system to simple and update build commands
* fix(icu): switch build system to autotools and update build directory structure
* fix(es-de): remove ICU dependency and update build options for ES-DE for statically linking it
* Documentation update
* feat(manifest): update runtime version to 6.8
* feat(automation): added the AppImage build job
* feat(build): install PipeWire development dependencies for ES-DE workflow
* feat(build): update dependencies for ES-DE workflow
* feat(workflow): add job to check and delete empty releases after builds
* fix(build): update release notes format in build workflow [skip ci]
* Triggering build
* feat(build): add Bluetooth development dependencies and improve AppImage naming
* feat(build): rename AppImage output for ES-DE to RetroDECK format
* feat(build): update script for RetroDECK AppImage creation
* feat(build): add bcm_host and brcmegl dependencies to build workflow
* feat(build): replace brcmegl with fuse in dependency installation
* Documentation update for the 3.2.0 release
* feat(manifest): reverted runtime version to 6.7 in application YAML
---------
Co-authored-by: Leon Styhre <leon.styhre@nw-soft.com>
2025-04-08 04:33:45 +00:00
|
|
|
static inline std::map<std::string, std::shared_ptr<ImageComponent>> sHelpPromptsImageCache;
|
|
|
|
|
2022-03-14 18:51:48 +00:00
|
|
|
Renderer* mRenderer;
|
feat/update-noruntime (#11)
* Documentation update
* Added the NooDS RetroArch core as an alternative emulator for the gba and nds systems
* Documentation update
* Updated the archive/el_GR.po file
* Fixed an issue where MD5 hashes were calculated when using the single-game scraper
* Refactored the helpsystem code and added support for using an arbitrary amount of helpsystem elements
* Removed the obsolete HelpStyle code
* Fixed some Clang compiler warnings
* Added 'thumbstickclick' as a supported 'entries' property value for the helpsystem element
* Documentation update
* Added 'lr' and 'ltrt' as supported 'entries' property values for the helpsystem element
* Documentation update
* Made it possible to set per-element icon overrides for the helpsystem element
* Fixed an issue where the helpsystem icons were sometimes not getting updated
* Fixed an issue where the default helpsystem element was not displayed if there was no theme configuration for it
* Eliminated some unnecessary helpsystem updates
* Changed a code comment
* Added 'imageSize', 'imageMaxSize', 'imageCropSize' and 'imageCropPos' properties to the video element
* Documentation update
* Added support for a 'none' value to the helpsystem element scope property
* Documentation update
* Rewrote the logic for the 'none' value for the helpsystem element scope property
* Added 'rotation' and 'rotationOrigin' properties to the helpsystem element
* Documentation update
* Added an 'entryLayout' property to the helpsystem element
* Added support for a 'none' value to the video element imageType property
* Documentation update
* Added a 'fadeInType' property to the video element
* Documentation update
* Added a clock element and a corresponding menu entry
* Documentation update
* Adjusted the default position for the clock
* Fixed an issue where applying rounded corners caused rendering artfifacts if the texture did not use premultiplied alpha
* Added a BackgroundComponent to replace NinePatchComponent for rendering menu and popup backgrounds
* Rewrote most components to use BackgroundComponent instead of NinePatchComponent
* Removed the obsolete frame.png and frame.svg graphics resource files
* Increased the background blur slightly when a menu is open
* Removed an unused variable
* Small adjustment to the GuiInfoPopup corner roundness
* Made the menu and launch screen scale up at the same speed regardless of the display refresh rate
* Documentation update
* (Linux) Added support for the Flatpak release of Ruffle
* Added the .ruf file extension to the flash system
* Fixed an issue where the DateTimeComponent gamelist fadeout didn't work correctly
* Changed the rendering order so that the clock is rendered above the textlist quick scrolling overlay
* Added an option to completely disable the game launch screen
* Added a screensaver-game-select custom event
* Added game-select and system-select custom events and a corresponding 'Browsing custom events' menu option
* (Linux) Changed the AppImage find rule for Mandarine to mandarine-qt*.AppImage
* Documentation update
* Made a HelpComponent function private instead of public
* (iOS) Fixed a build issue
* Added support for building against ICU 76.1 and later
* Added a SystemStatus class to poll Bluetooth, Wi-Fi, cellular and battery information from the operating system
* Fixed an issue where the wrong SystemStatus Wi-Fi debug info was shown
* (Android) Changed system status polling to run on the main thread
* (Windows) Fixed a typo that caused a build error
* (Linux) Fixed an issue where the battery was not detected
* (macOS) Fixed an issue where the battery capacity was not calculated correctly
* (Windows) Fixed a linker error due to two missing libraries
* (Linux) Added the BlueZ library as a dependency
* (Linux) Added the BlueZ library as a dependency
* Added a CMake find module for BlueZ
* (Linux) Fixed a CMake find module name mismatch for BlueZ
* Changed the CMake configuration to only check for the BlueZ library on Linux and not on FreeBSD
* Changed a CMake configuration comment
* OCD commit
* (Linux) Added support for checking for multiple Bluetooth adapters
* Disabled system status polling on FreeBSD and Haiku
* Added clamping to the battery capacity to work around buggy OS drivers
* Added system status indicator icons
* Added a system status component
* (Android) Fixed an issue where there was a PLACEHOLDER entry present for the consolearcade system in the es_systems.xml file
* Added menu options to toggle the system status indicators
* Fixed some issues with the system status indicators
* Fixed an issue where the battery text was not updated correctly when changing its menu option
* Documentation update
* (macOS) Added a NSBluetoothAlwaysUsageDescription key to the Info.plist file
* Fixed an issue where the battery percentage text was sometimes shown when it shouldn't have been
* Fixed an issue where some theme properties did not load correctly for the clock element
* Reorganized the positions of the systemstatus and clock elements in ThemeData
* (linear-es-de) Added configuration for the systemstatus and clock elements
* Made a small adjustment to the systemstatus element's default position
* (linear-es-de) Small adjustment to the position of the systemstatus element
* Changed SystemStatusComponent to use a height property instead of a size property
* (linear-es-de) Updated the theme config to use a height property for the systemstatus element
* Documentation update
* (linear-es-de) Relocated the configuration for the systemstatus and clock elements
* Removed the backgroundMargins and lineSpacing properties for the clock element and added backgroundColorEnd, backgroundGradientType and backgroundPadding
* (linear-es-de) Removed an obsolete property for the clock element
* (modern-es-de) Added systemstatus and clock configuration
* (slate-es-de) Added systemstatus and clock configuration
* Fixed a rendering issue when combining rotation and background padding for the clock element
* Added backgroundColor, backgroundColorEnd, backgroundGradientType, backgroundPadding and backgroundCornerRadius properties to the helpsystem element
* Added 'rotation' and 'rotationOrigin' properties to the systemstatus element
* Documentation update
* Added libgallium to the TSAN_suppressions file
* Added a compensation for a strange helpsystem sizing issue when drawing the element background
* Fixed an issue where the override for the 'battery_low' systemstatus icon did not work
* Added two sorting flags to make the translation update script generate identical output across different machines
* Changed the .po update script to not use fuzzy matching
* Added a .continueignore entry to the .gitignore file
* Updated all .po files with the new translation messages
* Updated the en_US and en_GB translations
* Updated the sv_SE translations
* (Android) Added MAME4droid Current emulator entries for all systems where MAME4droid 2024 was supported
Also changed from MAME4droid 2024 to MAME4droid Current for all systems where only this emulator was supported
* (Linux) Added a find rule entry for the new PCSX2 binary name (pcsx2)
* (Linux) Added a find rule entry for the new DuckStation binary name (duckstation)
* Added the b2 RetroArch core as an alternative emulator for the bbcmicro system
* Documentation update
* Updated SDL to 2.32.2
* Updated the MAME index files to include ROMs up to MAME version 0.275
* Bundled the February 2025 release of the Mozilla TLS/SSL certificates
* Documentation update
* Updated the nl_NL translations
* Updated the ro_RO translations
* Updated the fr_FR translations
* Updated the pt_BR translations
* Updated the it_IT translations
* Updated the fr_FR translations
* Updated the ko_KR translations
* Updated the es_ES translations
* Updated the de_DE translations
* Updated the es_ES translations
* Updated the ro_RO translations
* Updated the ru_RU translations
* Updated the ja_JP translations
* Updated the zh_CN translations
* Updated the sv_SE translations
* Updated the ca_ES translations
* Added a 'scope' property to the systemstatus and clock elements
* Documentation update
* Updated the pl_PL translations
* (linear-es-de) Added system metadata translations for 15 languages
* Added support for the Vircon32 Virtual Console (vircon32) game system
* (linear-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* (modern-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* (slate-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* Documentation update
* Added the .m3u file extension to the sega32x, sega32xjp and sega32xna systems
* (Android) Added a find rule entry for the new Cemu package name
* Added A7800 standalone as an alternative emulator for the atari7800 system on Linux and Windows
* (Linux) Added XM6 TypeG Wine and XM6 TypeG Proton as alternative emulators for the x68000 system
Also added XM6 TypeG standalone as an alternative emulator for the x68000 system on Windows
* (Android) Added Azahar standalone as an alternative emulator for the n3ds system
* Documentation update
* (Linux) Added MFME Wine and MFME Proton as alternative emulators for the arcade system
Also added MFME standalone as an alternative emulator for the arcade system on Windows
* Added a %ROMRAWWIN% variable
* (Linux) Added support for the manually downloaded release of Mesen
* Added Mesen standalone as an alternative emulator for the colecovision, wonderswan and wonderswancolor systems on Linux and Windows
* Added Azahar standalone as an alternative emulator for the n3ds system on Linux and Windows
* Documentation update
* Made a small adjustment to the button_y_PS helpsystem button
* Updated the de_DE translations
* Updated the de_DE translations
* Updated the zh_TW translations
* Documentation update
* Fixed some segfaults that could occur during emergency shutdown
* Improved the cleanup on window deinit
* Fixed a crash on window deinit
* Fixed a rare issue where reloading the application could lead to a crash
* Optimized HelpComponent updates by caching the icons
* The HelpComponent icon cache is now cleared when pressing ctrl-r
* Added an 'entryRelativeScale' property to the helpsystem element
* Fixed a code comment typo
* Documentation update
* Updated the sv_SE translations
* (linear-es-de) Adjusted the relative scale between the icons and text for the helpsystem element
* Split the backgroundPadding property into backgroundHorizontalPadding and backgroundVerticalPadding properties for the helpsystem, systemstatus and clock elements
* (slate-es-de) Updated to use the new backgroundHorizontalPadding and backgroundVerticalPadding properties for the systemstatus and clock elements
* Documentation update
* The LANG and LANGUAGE variables are now set explicitly to the UTF-8 character encoding on Linux, macOS and Android
* (modern-es-de) Adjusted the relative scale between the icons and text for the helpsystem element
* Added the bsnes-jg RetroArch core as an alternative emulator for the satellaview, sfc, snes, snesna and sufami systems
* (Windows) Fixed an issue where there could be double quotation marks added to the launch command under some special circumstances
* Enabled directories interpreted as files with MAME RetroArch for the apple2, apple2gs and fmtowns systems on Linux, macOS and Windows
* (Windows) Added back accidentally deleted MAME standalone entry for the apple2 system
* Documentation update
* (Windows) Made the hack to remove double quotation marks on game launch slightly less dangerous
* Simplified a number of HelpComponent function and variable names
* (Android) The launch sound is no longer played if the launch screen is set as disabled
* The launch sound is now always stopped when returning to ES-DE after a game launch
* The launch sound is no longer played if the launch screen is set as disabled when built with the DEINIT_ON_LAUNCH option
* Prevented the launch sound from getting stopped when running in the background on game launch
* Updated the de_DE translations
* Fixed an issue where the menus would sometimes contain fractional rows
* Updated the ko_KR translations
* (Android) Added SkyEmu standalone as an alternative emulator for the gb, gba, gbc and nds systems
* Documentation update
* Added support for the 8:7 display aspect ratio
* Added translations for the '8:7 vertical' message
* Documentation update
* Documentation update
* Fixed an issue where a double free in GuiLaunchScreen could cause an unclean application shutdown
* Updated the archive/el_GR.po file
* (Linux) Added MFME Wine and MFME Proton as alternative emulators for the mame system
Also added MFME standalone as an alternative emulator for the mame system on Windows
* (Linux) Added find rule entries for Lindbergh Loader
* Added initial support for the Microsoft Xbox One (xboxone) game system
* (linear-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* (modern-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* (slate-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* Documentation update
* Added support for the Sega Mark III (mark3) game system
* (linear-es-de) Added support for the Sega Mark III (mark3) game system
* (modern-es-de) Added support for the Sega Mark III (mark3) game system
* (slate-es-de) Added support for the Sega Mark III (mark3) game system
* Documentation update
* Added support for the Sony PlayStation 4 (ps4) game system on Linux, macOS and Windows
* Updated the archive/el_GR.po file
* Documentation update
* (Linux) Moved an emulator entry in es_find_rules.xml that was not sorted correctly
* (Android) Added a find rule entry for the Pizza Boy SC Basic emulator
* Added the CannonBall and Mr.Boom RetroArch cores as alternative emulators for the ports system
* Documentation update
* Updated the dummy ROMs archives with the latest systems
* Added RPCS3 Game Serial as an alternative emulator for the consolearcade and ps3 systems on Linux, macOS and Windows
* Documentation update
* (linear-es-de) Updated the system metadata for the mark3, vircon32 and xboxone systems
* (linear-es-de) Added zh_TW metadata translations for most systems
* (linear-es-de) Added zh_TW metadata translations for some systems
* (linear-es-de) Updated the system metadata for some systems
Also removed two obsolete system metadata files
* (linear-es-de) Updated some sv_SE system metadata entries
* Fixed an issue where the update_version_string.sh script would not update the Info.plist file correctly
* Bumped the version to 3.2.0
* Fixed a potential crash when disabling the help prompts
* Updated "update from upstream"script to fetch `stable-3.2`
* Added HelpStyle definition if def RETRODECK
* Removed HelpStyle (was introduced by RetroDECK)
* Added dependencies for ES-DE 3.2.0: dav1d, bluez, libvpx e icu
* fix(manifest): libvpx hash
* fix(manifest): update ICU source SHA256 hash
* fix(icu): change build system to simple and update build commands
* fix(icu): switch build system to autotools and update build directory structure
* fix(es-de): remove ICU dependency and update build options for ES-DE for statically linking it
* Documentation update
* feat(manifest): update runtime version to 6.8
* feat(automation): added the AppImage build job
* feat(build): install PipeWire development dependencies for ES-DE workflow
* feat(build): update dependencies for ES-DE workflow
* feat(workflow): add job to check and delete empty releases after builds
* fix(build): update release notes format in build workflow [skip ci]
* Triggering build
* feat(build): add Bluetooth development dependencies and improve AppImage naming
* feat(build): rename AppImage output for ES-DE to RetroDECK format
* feat(build): update script for RetroDECK AppImage creation
* feat(build): add bcm_host and brcmegl dependencies to build workflow
* feat(build): replace brcmegl with fuse in dependency installation
* Documentation update for the 3.2.0 release
* feat(manifest): reverted runtime version to 6.7 in application YAML
---------
Co-authored-by: Leon Styhre <leon.styhre@nw-soft.com>
2025-04-08 04:33:45 +00:00
|
|
|
std::vector<std::unique_ptr<HelpComponent>>* mHelpComponents;
|
2023-01-22 20:03:08 +00:00
|
|
|
std::unique_ptr<HelpComponent> mHelp;
|
feat/update-noruntime (#11)
* Documentation update
* Added the NooDS RetroArch core as an alternative emulator for the gba and nds systems
* Documentation update
* Updated the archive/el_GR.po file
* Fixed an issue where MD5 hashes were calculated when using the single-game scraper
* Refactored the helpsystem code and added support for using an arbitrary amount of helpsystem elements
* Removed the obsolete HelpStyle code
* Fixed some Clang compiler warnings
* Added 'thumbstickclick' as a supported 'entries' property value for the helpsystem element
* Documentation update
* Added 'lr' and 'ltrt' as supported 'entries' property values for the helpsystem element
* Documentation update
* Made it possible to set per-element icon overrides for the helpsystem element
* Fixed an issue where the helpsystem icons were sometimes not getting updated
* Fixed an issue where the default helpsystem element was not displayed if there was no theme configuration for it
* Eliminated some unnecessary helpsystem updates
* Changed a code comment
* Added 'imageSize', 'imageMaxSize', 'imageCropSize' and 'imageCropPos' properties to the video element
* Documentation update
* Added support for a 'none' value to the helpsystem element scope property
* Documentation update
* Rewrote the logic for the 'none' value for the helpsystem element scope property
* Added 'rotation' and 'rotationOrigin' properties to the helpsystem element
* Documentation update
* Added an 'entryLayout' property to the helpsystem element
* Added support for a 'none' value to the video element imageType property
* Documentation update
* Added a 'fadeInType' property to the video element
* Documentation update
* Added a clock element and a corresponding menu entry
* Documentation update
* Adjusted the default position for the clock
* Fixed an issue where applying rounded corners caused rendering artfifacts if the texture did not use premultiplied alpha
* Added a BackgroundComponent to replace NinePatchComponent for rendering menu and popup backgrounds
* Rewrote most components to use BackgroundComponent instead of NinePatchComponent
* Removed the obsolete frame.png and frame.svg graphics resource files
* Increased the background blur slightly when a menu is open
* Removed an unused variable
* Small adjustment to the GuiInfoPopup corner roundness
* Made the menu and launch screen scale up at the same speed regardless of the display refresh rate
* Documentation update
* (Linux) Added support for the Flatpak release of Ruffle
* Added the .ruf file extension to the flash system
* Fixed an issue where the DateTimeComponent gamelist fadeout didn't work correctly
* Changed the rendering order so that the clock is rendered above the textlist quick scrolling overlay
* Added an option to completely disable the game launch screen
* Added a screensaver-game-select custom event
* Added game-select and system-select custom events and a corresponding 'Browsing custom events' menu option
* (Linux) Changed the AppImage find rule for Mandarine to mandarine-qt*.AppImage
* Documentation update
* Made a HelpComponent function private instead of public
* (iOS) Fixed a build issue
* Added support for building against ICU 76.1 and later
* Added a SystemStatus class to poll Bluetooth, Wi-Fi, cellular and battery information from the operating system
* Fixed an issue where the wrong SystemStatus Wi-Fi debug info was shown
* (Android) Changed system status polling to run on the main thread
* (Windows) Fixed a typo that caused a build error
* (Linux) Fixed an issue where the battery was not detected
* (macOS) Fixed an issue where the battery capacity was not calculated correctly
* (Windows) Fixed a linker error due to two missing libraries
* (Linux) Added the BlueZ library as a dependency
* (Linux) Added the BlueZ library as a dependency
* Added a CMake find module for BlueZ
* (Linux) Fixed a CMake find module name mismatch for BlueZ
* Changed the CMake configuration to only check for the BlueZ library on Linux and not on FreeBSD
* Changed a CMake configuration comment
* OCD commit
* (Linux) Added support for checking for multiple Bluetooth adapters
* Disabled system status polling on FreeBSD and Haiku
* Added clamping to the battery capacity to work around buggy OS drivers
* Added system status indicator icons
* Added a system status component
* (Android) Fixed an issue where there was a PLACEHOLDER entry present for the consolearcade system in the es_systems.xml file
* Added menu options to toggle the system status indicators
* Fixed some issues with the system status indicators
* Fixed an issue where the battery text was not updated correctly when changing its menu option
* Documentation update
* (macOS) Added a NSBluetoothAlwaysUsageDescription key to the Info.plist file
* Fixed an issue where the battery percentage text was sometimes shown when it shouldn't have been
* Fixed an issue where some theme properties did not load correctly for the clock element
* Reorganized the positions of the systemstatus and clock elements in ThemeData
* (linear-es-de) Added configuration for the systemstatus and clock elements
* Made a small adjustment to the systemstatus element's default position
* (linear-es-de) Small adjustment to the position of the systemstatus element
* Changed SystemStatusComponent to use a height property instead of a size property
* (linear-es-de) Updated the theme config to use a height property for the systemstatus element
* Documentation update
* (linear-es-de) Relocated the configuration for the systemstatus and clock elements
* Removed the backgroundMargins and lineSpacing properties for the clock element and added backgroundColorEnd, backgroundGradientType and backgroundPadding
* (linear-es-de) Removed an obsolete property for the clock element
* (modern-es-de) Added systemstatus and clock configuration
* (slate-es-de) Added systemstatus and clock configuration
* Fixed a rendering issue when combining rotation and background padding for the clock element
* Added backgroundColor, backgroundColorEnd, backgroundGradientType, backgroundPadding and backgroundCornerRadius properties to the helpsystem element
* Added 'rotation' and 'rotationOrigin' properties to the systemstatus element
* Documentation update
* Added libgallium to the TSAN_suppressions file
* Added a compensation for a strange helpsystem sizing issue when drawing the element background
* Fixed an issue where the override for the 'battery_low' systemstatus icon did not work
* Added two sorting flags to make the translation update script generate identical output across different machines
* Changed the .po update script to not use fuzzy matching
* Added a .continueignore entry to the .gitignore file
* Updated all .po files with the new translation messages
* Updated the en_US and en_GB translations
* Updated the sv_SE translations
* (Android) Added MAME4droid Current emulator entries for all systems where MAME4droid 2024 was supported
Also changed from MAME4droid 2024 to MAME4droid Current for all systems where only this emulator was supported
* (Linux) Added a find rule entry for the new PCSX2 binary name (pcsx2)
* (Linux) Added a find rule entry for the new DuckStation binary name (duckstation)
* Added the b2 RetroArch core as an alternative emulator for the bbcmicro system
* Documentation update
* Updated SDL to 2.32.2
* Updated the MAME index files to include ROMs up to MAME version 0.275
* Bundled the February 2025 release of the Mozilla TLS/SSL certificates
* Documentation update
* Updated the nl_NL translations
* Updated the ro_RO translations
* Updated the fr_FR translations
* Updated the pt_BR translations
* Updated the it_IT translations
* Updated the fr_FR translations
* Updated the ko_KR translations
* Updated the es_ES translations
* Updated the de_DE translations
* Updated the es_ES translations
* Updated the ro_RO translations
* Updated the ru_RU translations
* Updated the ja_JP translations
* Updated the zh_CN translations
* Updated the sv_SE translations
* Updated the ca_ES translations
* Added a 'scope' property to the systemstatus and clock elements
* Documentation update
* Updated the pl_PL translations
* (linear-es-de) Added system metadata translations for 15 languages
* Added support for the Vircon32 Virtual Console (vircon32) game system
* (linear-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* (modern-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* (slate-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* Documentation update
* Added the .m3u file extension to the sega32x, sega32xjp and sega32xna systems
* (Android) Added a find rule entry for the new Cemu package name
* Added A7800 standalone as an alternative emulator for the atari7800 system on Linux and Windows
* (Linux) Added XM6 TypeG Wine and XM6 TypeG Proton as alternative emulators for the x68000 system
Also added XM6 TypeG standalone as an alternative emulator for the x68000 system on Windows
* (Android) Added Azahar standalone as an alternative emulator for the n3ds system
* Documentation update
* (Linux) Added MFME Wine and MFME Proton as alternative emulators for the arcade system
Also added MFME standalone as an alternative emulator for the arcade system on Windows
* Added a %ROMRAWWIN% variable
* (Linux) Added support for the manually downloaded release of Mesen
* Added Mesen standalone as an alternative emulator for the colecovision, wonderswan and wonderswancolor systems on Linux and Windows
* Added Azahar standalone as an alternative emulator for the n3ds system on Linux and Windows
* Documentation update
* Made a small adjustment to the button_y_PS helpsystem button
* Updated the de_DE translations
* Updated the de_DE translations
* Updated the zh_TW translations
* Documentation update
* Fixed some segfaults that could occur during emergency shutdown
* Improved the cleanup on window deinit
* Fixed a crash on window deinit
* Fixed a rare issue where reloading the application could lead to a crash
* Optimized HelpComponent updates by caching the icons
* The HelpComponent icon cache is now cleared when pressing ctrl-r
* Added an 'entryRelativeScale' property to the helpsystem element
* Fixed a code comment typo
* Documentation update
* Updated the sv_SE translations
* (linear-es-de) Adjusted the relative scale between the icons and text for the helpsystem element
* Split the backgroundPadding property into backgroundHorizontalPadding and backgroundVerticalPadding properties for the helpsystem, systemstatus and clock elements
* (slate-es-de) Updated to use the new backgroundHorizontalPadding and backgroundVerticalPadding properties for the systemstatus and clock elements
* Documentation update
* The LANG and LANGUAGE variables are now set explicitly to the UTF-8 character encoding on Linux, macOS and Android
* (modern-es-de) Adjusted the relative scale between the icons and text for the helpsystem element
* Added the bsnes-jg RetroArch core as an alternative emulator for the satellaview, sfc, snes, snesna and sufami systems
* (Windows) Fixed an issue where there could be double quotation marks added to the launch command under some special circumstances
* Enabled directories interpreted as files with MAME RetroArch for the apple2, apple2gs and fmtowns systems on Linux, macOS and Windows
* (Windows) Added back accidentally deleted MAME standalone entry for the apple2 system
* Documentation update
* (Windows) Made the hack to remove double quotation marks on game launch slightly less dangerous
* Simplified a number of HelpComponent function and variable names
* (Android) The launch sound is no longer played if the launch screen is set as disabled
* The launch sound is now always stopped when returning to ES-DE after a game launch
* The launch sound is no longer played if the launch screen is set as disabled when built with the DEINIT_ON_LAUNCH option
* Prevented the launch sound from getting stopped when running in the background on game launch
* Updated the de_DE translations
* Fixed an issue where the menus would sometimes contain fractional rows
* Updated the ko_KR translations
* (Android) Added SkyEmu standalone as an alternative emulator for the gb, gba, gbc and nds systems
* Documentation update
* Added support for the 8:7 display aspect ratio
* Added translations for the '8:7 vertical' message
* Documentation update
* Documentation update
* Fixed an issue where a double free in GuiLaunchScreen could cause an unclean application shutdown
* Updated the archive/el_GR.po file
* (Linux) Added MFME Wine and MFME Proton as alternative emulators for the mame system
Also added MFME standalone as an alternative emulator for the mame system on Windows
* (Linux) Added find rule entries for Lindbergh Loader
* Added initial support for the Microsoft Xbox One (xboxone) game system
* (linear-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* (modern-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* (slate-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* Documentation update
* Added support for the Sega Mark III (mark3) game system
* (linear-es-de) Added support for the Sega Mark III (mark3) game system
* (modern-es-de) Added support for the Sega Mark III (mark3) game system
* (slate-es-de) Added support for the Sega Mark III (mark3) game system
* Documentation update
* Added support for the Sony PlayStation 4 (ps4) game system on Linux, macOS and Windows
* Updated the archive/el_GR.po file
* Documentation update
* (Linux) Moved an emulator entry in es_find_rules.xml that was not sorted correctly
* (Android) Added a find rule entry for the Pizza Boy SC Basic emulator
* Added the CannonBall and Mr.Boom RetroArch cores as alternative emulators for the ports system
* Documentation update
* Updated the dummy ROMs archives with the latest systems
* Added RPCS3 Game Serial as an alternative emulator for the consolearcade and ps3 systems on Linux, macOS and Windows
* Documentation update
* (linear-es-de) Updated the system metadata for the mark3, vircon32 and xboxone systems
* (linear-es-de) Added zh_TW metadata translations for most systems
* (linear-es-de) Added zh_TW metadata translations for some systems
* (linear-es-de) Updated the system metadata for some systems
Also removed two obsolete system metadata files
* (linear-es-de) Updated some sv_SE system metadata entries
* Fixed an issue where the update_version_string.sh script would not update the Info.plist file correctly
* Bumped the version to 3.2.0
* Fixed a potential crash when disabling the help prompts
* Updated "update from upstream"script to fetch `stable-3.2`
* Added HelpStyle definition if def RETRODECK
* Removed HelpStyle (was introduced by RetroDECK)
* Added dependencies for ES-DE 3.2.0: dav1d, bluez, libvpx e icu
* fix(manifest): libvpx hash
* fix(manifest): update ICU source SHA256 hash
* fix(icu): change build system to simple and update build commands
* fix(icu): switch build system to autotools and update build directory structure
* fix(es-de): remove ICU dependency and update build options for ES-DE for statically linking it
* Documentation update
* feat(manifest): update runtime version to 6.8
* feat(automation): added the AppImage build job
* feat(build): install PipeWire development dependencies for ES-DE workflow
* feat(build): update dependencies for ES-DE workflow
* feat(workflow): add job to check and delete empty releases after builds
* fix(build): update release notes format in build workflow [skip ci]
* Triggering build
* feat(build): add Bluetooth development dependencies and improve AppImage naming
* feat(build): rename AppImage output for ES-DE to RetroDECK format
* feat(build): update script for RetroDECK AppImage creation
* feat(build): add bcm_host and brcmegl dependencies to build workflow
* feat(build): replace brcmegl with fuse in dependency installation
* Documentation update for the 3.2.0 release
* feat(manifest): reverted runtime version to 6.7 in application YAML
---------
Co-authored-by: Leon Styhre <leon.styhre@nw-soft.com>
2025-04-08 04:33:45 +00:00
|
|
|
std::vector<std::unique_ptr<DateTimeComponent>>* mClockComponents;
|
|
|
|
std::vector<std::unique_ptr<SystemStatusComponent>>* mSystemStatusComponents;
|
2023-01-22 20:03:08 +00:00
|
|
|
std::unique_ptr<ImageComponent> mBackgroundOverlay;
|
|
|
|
std::unique_ptr<ImageComponent> mSplash;
|
2024-08-11 11:28:26 +00:00
|
|
|
std::unique_ptr<TextComponent> mSplashTextScanning;
|
|
|
|
std::unique_ptr<TextComponent> mSplashTextPopulating;
|
|
|
|
std::unique_ptr<TextComponent> mSplashTextReloading;
|
|
|
|
std::unique_ptr<TextComponent> mSplashTextResourceCopy;
|
|
|
|
std::unique_ptr<TextComponent> mSplashTextDirCreation;
|
|
|
|
|
2023-01-22 20:03:08 +00:00
|
|
|
glm::vec4 mSplashTextPositions;
|
|
|
|
std::vector<ProgressBarRectangle> mProgressBarRectangles;
|
|
|
|
|
2022-02-11 21:10:25 +00:00
|
|
|
float mBackgroundOverlayOpacity;
|
2020-06-21 12:25:28 +00:00
|
|
|
std::vector<GuiComponent*> mGuiStack;
|
|
|
|
std::vector<std::shared_ptr<Font>> mDefaultFonts;
|
2024-08-11 11:28:26 +00:00
|
|
|
std::unique_ptr<TextComponent> mGPUStatisticsText;
|
2013-07-17 06:47:02 +00:00
|
|
|
|
2021-09-18 07:53:26 +00:00
|
|
|
Screensaver* mScreensaver;
|
2021-05-16 11:12:31 +00:00
|
|
|
MediaViewer* mMediaViewer;
|
2023-06-21 21:02:19 +00:00
|
|
|
PDFViewer* mPDFViewer;
|
2021-06-14 17:15:22 +00:00
|
|
|
GuiLaunchScreen* mLaunchScreen;
|
2021-10-07 16:31:40 +00:00
|
|
|
GuiInfoPopup* mInfoPopup;
|
|
|
|
|
|
|
|
std::queue<std::pair<std::string, int>> mInfoPopupQueue;
|
2021-11-07 18:21:01 +00:00
|
|
|
std::shared_ptr<TextureResource> mPostprocessedBackground;
|
|
|
|
|
2023-12-23 22:03:40 +00:00
|
|
|
std::vector<std::string> mGameEndEventParams;
|
2024-08-11 11:28:26 +00:00
|
|
|
std::unique_ptr<TextComponent> mListScrollText;
|
2022-02-11 21:10:25 +00:00
|
|
|
float mListScrollOpacity;
|
2021-01-12 21:41:28 +00:00
|
|
|
|
2020-06-21 12:25:28 +00:00
|
|
|
int mFrameTimeElapsed;
|
|
|
|
int mFrameCountElapsed;
|
|
|
|
int mAverageDeltaTime;
|
2021-09-18 07:53:26 +00:00
|
|
|
unsigned int mTimeSinceLastInput;
|
|
|
|
|
2023-09-20 18:46:51 +00:00
|
|
|
bool mBlockInput;
|
2021-09-18 07:53:26 +00:00
|
|
|
bool mNormalizeNextUpdate;
|
2014-04-12 00:42:04 +00:00
|
|
|
|
2020-11-10 21:33:57 +00:00
|
|
|
bool mRenderScreensaver;
|
2021-09-18 07:53:26 +00:00
|
|
|
bool mRenderMediaViewer;
|
|
|
|
bool mRenderLaunchScreen;
|
2023-06-21 21:02:19 +00:00
|
|
|
bool mRenderPDFViewer;
|
2023-12-23 22:03:40 +00:00
|
|
|
std::atomic<bool> mGameLaunchedState;
|
|
|
|
std::atomic<bool> mAllowTextScrolling;
|
|
|
|
std::atomic<bool> mAllowFileAnimation;
|
2020-09-17 20:00:07 +00:00
|
|
|
bool mCachedBackground;
|
2020-11-11 23:46:59 +00:00
|
|
|
bool mInvalidatedCachedBackground;
|
2022-01-09 16:56:17 +00:00
|
|
|
bool mInitiateCacheTimer;
|
|
|
|
int mInvalidateCacheTimer;
|
2013-08-06 13:15:20 +00:00
|
|
|
|
2021-11-16 16:49:05 +00:00
|
|
|
std::atomic<int> mVideoPlayerCount;
|
2021-05-29 08:58:51 +00:00
|
|
|
|
2020-09-13 11:21:38 +00:00
|
|
|
float mTopScale;
|
feat/update-noruntime (#11)
* Documentation update
* Added the NooDS RetroArch core as an alternative emulator for the gba and nds systems
* Documentation update
* Updated the archive/el_GR.po file
* Fixed an issue where MD5 hashes were calculated when using the single-game scraper
* Refactored the helpsystem code and added support for using an arbitrary amount of helpsystem elements
* Removed the obsolete HelpStyle code
* Fixed some Clang compiler warnings
* Added 'thumbstickclick' as a supported 'entries' property value for the helpsystem element
* Documentation update
* Added 'lr' and 'ltrt' as supported 'entries' property values for the helpsystem element
* Documentation update
* Made it possible to set per-element icon overrides for the helpsystem element
* Fixed an issue where the helpsystem icons were sometimes not getting updated
* Fixed an issue where the default helpsystem element was not displayed if there was no theme configuration for it
* Eliminated some unnecessary helpsystem updates
* Changed a code comment
* Added 'imageSize', 'imageMaxSize', 'imageCropSize' and 'imageCropPos' properties to the video element
* Documentation update
* Added support for a 'none' value to the helpsystem element scope property
* Documentation update
* Rewrote the logic for the 'none' value for the helpsystem element scope property
* Added 'rotation' and 'rotationOrigin' properties to the helpsystem element
* Documentation update
* Added an 'entryLayout' property to the helpsystem element
* Added support for a 'none' value to the video element imageType property
* Documentation update
* Added a 'fadeInType' property to the video element
* Documentation update
* Added a clock element and a corresponding menu entry
* Documentation update
* Adjusted the default position for the clock
* Fixed an issue where applying rounded corners caused rendering artfifacts if the texture did not use premultiplied alpha
* Added a BackgroundComponent to replace NinePatchComponent for rendering menu and popup backgrounds
* Rewrote most components to use BackgroundComponent instead of NinePatchComponent
* Removed the obsolete frame.png and frame.svg graphics resource files
* Increased the background blur slightly when a menu is open
* Removed an unused variable
* Small adjustment to the GuiInfoPopup corner roundness
* Made the menu and launch screen scale up at the same speed regardless of the display refresh rate
* Documentation update
* (Linux) Added support for the Flatpak release of Ruffle
* Added the .ruf file extension to the flash system
* Fixed an issue where the DateTimeComponent gamelist fadeout didn't work correctly
* Changed the rendering order so that the clock is rendered above the textlist quick scrolling overlay
* Added an option to completely disable the game launch screen
* Added a screensaver-game-select custom event
* Added game-select and system-select custom events and a corresponding 'Browsing custom events' menu option
* (Linux) Changed the AppImage find rule for Mandarine to mandarine-qt*.AppImage
* Documentation update
* Made a HelpComponent function private instead of public
* (iOS) Fixed a build issue
* Added support for building against ICU 76.1 and later
* Added a SystemStatus class to poll Bluetooth, Wi-Fi, cellular and battery information from the operating system
* Fixed an issue where the wrong SystemStatus Wi-Fi debug info was shown
* (Android) Changed system status polling to run on the main thread
* (Windows) Fixed a typo that caused a build error
* (Linux) Fixed an issue where the battery was not detected
* (macOS) Fixed an issue where the battery capacity was not calculated correctly
* (Windows) Fixed a linker error due to two missing libraries
* (Linux) Added the BlueZ library as a dependency
* (Linux) Added the BlueZ library as a dependency
* Added a CMake find module for BlueZ
* (Linux) Fixed a CMake find module name mismatch for BlueZ
* Changed the CMake configuration to only check for the BlueZ library on Linux and not on FreeBSD
* Changed a CMake configuration comment
* OCD commit
* (Linux) Added support for checking for multiple Bluetooth adapters
* Disabled system status polling on FreeBSD and Haiku
* Added clamping to the battery capacity to work around buggy OS drivers
* Added system status indicator icons
* Added a system status component
* (Android) Fixed an issue where there was a PLACEHOLDER entry present for the consolearcade system in the es_systems.xml file
* Added menu options to toggle the system status indicators
* Fixed some issues with the system status indicators
* Fixed an issue where the battery text was not updated correctly when changing its menu option
* Documentation update
* (macOS) Added a NSBluetoothAlwaysUsageDescription key to the Info.plist file
* Fixed an issue where the battery percentage text was sometimes shown when it shouldn't have been
* Fixed an issue where some theme properties did not load correctly for the clock element
* Reorganized the positions of the systemstatus and clock elements in ThemeData
* (linear-es-de) Added configuration for the systemstatus and clock elements
* Made a small adjustment to the systemstatus element's default position
* (linear-es-de) Small adjustment to the position of the systemstatus element
* Changed SystemStatusComponent to use a height property instead of a size property
* (linear-es-de) Updated the theme config to use a height property for the systemstatus element
* Documentation update
* (linear-es-de) Relocated the configuration for the systemstatus and clock elements
* Removed the backgroundMargins and lineSpacing properties for the clock element and added backgroundColorEnd, backgroundGradientType and backgroundPadding
* (linear-es-de) Removed an obsolete property for the clock element
* (modern-es-de) Added systemstatus and clock configuration
* (slate-es-de) Added systemstatus and clock configuration
* Fixed a rendering issue when combining rotation and background padding for the clock element
* Added backgroundColor, backgroundColorEnd, backgroundGradientType, backgroundPadding and backgroundCornerRadius properties to the helpsystem element
* Added 'rotation' and 'rotationOrigin' properties to the systemstatus element
* Documentation update
* Added libgallium to the TSAN_suppressions file
* Added a compensation for a strange helpsystem sizing issue when drawing the element background
* Fixed an issue where the override for the 'battery_low' systemstatus icon did not work
* Added two sorting flags to make the translation update script generate identical output across different machines
* Changed the .po update script to not use fuzzy matching
* Added a .continueignore entry to the .gitignore file
* Updated all .po files with the new translation messages
* Updated the en_US and en_GB translations
* Updated the sv_SE translations
* (Android) Added MAME4droid Current emulator entries for all systems where MAME4droid 2024 was supported
Also changed from MAME4droid 2024 to MAME4droid Current for all systems where only this emulator was supported
* (Linux) Added a find rule entry for the new PCSX2 binary name (pcsx2)
* (Linux) Added a find rule entry for the new DuckStation binary name (duckstation)
* Added the b2 RetroArch core as an alternative emulator for the bbcmicro system
* Documentation update
* Updated SDL to 2.32.2
* Updated the MAME index files to include ROMs up to MAME version 0.275
* Bundled the February 2025 release of the Mozilla TLS/SSL certificates
* Documentation update
* Updated the nl_NL translations
* Updated the ro_RO translations
* Updated the fr_FR translations
* Updated the pt_BR translations
* Updated the it_IT translations
* Updated the fr_FR translations
* Updated the ko_KR translations
* Updated the es_ES translations
* Updated the de_DE translations
* Updated the es_ES translations
* Updated the ro_RO translations
* Updated the ru_RU translations
* Updated the ja_JP translations
* Updated the zh_CN translations
* Updated the sv_SE translations
* Updated the ca_ES translations
* Added a 'scope' property to the systemstatus and clock elements
* Documentation update
* Updated the pl_PL translations
* (linear-es-de) Added system metadata translations for 15 languages
* Added support for the Vircon32 Virtual Console (vircon32) game system
* (linear-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* (modern-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* (slate-es-de) Added support for the Vircon32 Virtual Console (vircon32) game system
* Documentation update
* Added the .m3u file extension to the sega32x, sega32xjp and sega32xna systems
* (Android) Added a find rule entry for the new Cemu package name
* Added A7800 standalone as an alternative emulator for the atari7800 system on Linux and Windows
* (Linux) Added XM6 TypeG Wine and XM6 TypeG Proton as alternative emulators for the x68000 system
Also added XM6 TypeG standalone as an alternative emulator for the x68000 system on Windows
* (Android) Added Azahar standalone as an alternative emulator for the n3ds system
* Documentation update
* (Linux) Added MFME Wine and MFME Proton as alternative emulators for the arcade system
Also added MFME standalone as an alternative emulator for the arcade system on Windows
* Added a %ROMRAWWIN% variable
* (Linux) Added support for the manually downloaded release of Mesen
* Added Mesen standalone as an alternative emulator for the colecovision, wonderswan and wonderswancolor systems on Linux and Windows
* Added Azahar standalone as an alternative emulator for the n3ds system on Linux and Windows
* Documentation update
* Made a small adjustment to the button_y_PS helpsystem button
* Updated the de_DE translations
* Updated the de_DE translations
* Updated the zh_TW translations
* Documentation update
* Fixed some segfaults that could occur during emergency shutdown
* Improved the cleanup on window deinit
* Fixed a crash on window deinit
* Fixed a rare issue where reloading the application could lead to a crash
* Optimized HelpComponent updates by caching the icons
* The HelpComponent icon cache is now cleared when pressing ctrl-r
* Added an 'entryRelativeScale' property to the helpsystem element
* Fixed a code comment typo
* Documentation update
* Updated the sv_SE translations
* (linear-es-de) Adjusted the relative scale between the icons and text for the helpsystem element
* Split the backgroundPadding property into backgroundHorizontalPadding and backgroundVerticalPadding properties for the helpsystem, systemstatus and clock elements
* (slate-es-de) Updated to use the new backgroundHorizontalPadding and backgroundVerticalPadding properties for the systemstatus and clock elements
* Documentation update
* The LANG and LANGUAGE variables are now set explicitly to the UTF-8 character encoding on Linux, macOS and Android
* (modern-es-de) Adjusted the relative scale between the icons and text for the helpsystem element
* Added the bsnes-jg RetroArch core as an alternative emulator for the satellaview, sfc, snes, snesna and sufami systems
* (Windows) Fixed an issue where there could be double quotation marks added to the launch command under some special circumstances
* Enabled directories interpreted as files with MAME RetroArch for the apple2, apple2gs and fmtowns systems on Linux, macOS and Windows
* (Windows) Added back accidentally deleted MAME standalone entry for the apple2 system
* Documentation update
* (Windows) Made the hack to remove double quotation marks on game launch slightly less dangerous
* Simplified a number of HelpComponent function and variable names
* (Android) The launch sound is no longer played if the launch screen is set as disabled
* The launch sound is now always stopped when returning to ES-DE after a game launch
* The launch sound is no longer played if the launch screen is set as disabled when built with the DEINIT_ON_LAUNCH option
* Prevented the launch sound from getting stopped when running in the background on game launch
* Updated the de_DE translations
* Fixed an issue where the menus would sometimes contain fractional rows
* Updated the ko_KR translations
* (Android) Added SkyEmu standalone as an alternative emulator for the gb, gba, gbc and nds systems
* Documentation update
* Added support for the 8:7 display aspect ratio
* Added translations for the '8:7 vertical' message
* Documentation update
* Documentation update
* Fixed an issue where a double free in GuiLaunchScreen could cause an unclean application shutdown
* Updated the archive/el_GR.po file
* (Linux) Added MFME Wine and MFME Proton as alternative emulators for the mame system
Also added MFME standalone as an alternative emulator for the mame system on Windows
* (Linux) Added find rule entries for Lindbergh Loader
* Added initial support for the Microsoft Xbox One (xboxone) game system
* (linear-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* (modern-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* (slate-es-de) Added support for the Microsoft Xbox One (xboxone) game system
* Documentation update
* Added support for the Sega Mark III (mark3) game system
* (linear-es-de) Added support for the Sega Mark III (mark3) game system
* (modern-es-de) Added support for the Sega Mark III (mark3) game system
* (slate-es-de) Added support for the Sega Mark III (mark3) game system
* Documentation update
* Added support for the Sony PlayStation 4 (ps4) game system on Linux, macOS and Windows
* Updated the archive/el_GR.po file
* Documentation update
* (Linux) Moved an emulator entry in es_find_rules.xml that was not sorted correctly
* (Android) Added a find rule entry for the Pizza Boy SC Basic emulator
* Added the CannonBall and Mr.Boom RetroArch cores as alternative emulators for the ports system
* Documentation update
* Updated the dummy ROMs archives with the latest systems
* Added RPCS3 Game Serial as an alternative emulator for the consolearcade and ps3 systems on Linux, macOS and Windows
* Documentation update
* (linear-es-de) Updated the system metadata for the mark3, vircon32 and xboxone systems
* (linear-es-de) Added zh_TW metadata translations for most systems
* (linear-es-de) Added zh_TW metadata translations for some systems
* (linear-es-de) Updated the system metadata for some systems
Also removed two obsolete system metadata files
* (linear-es-de) Updated some sv_SE system metadata entries
* Fixed an issue where the update_version_string.sh script would not update the Info.plist file correctly
* Bumped the version to 3.2.0
* Fixed a potential crash when disabling the help prompts
* Updated "update from upstream"script to fetch `stable-3.2`
* Added HelpStyle definition if def RETRODECK
* Removed HelpStyle (was introduced by RetroDECK)
* Added dependencies for ES-DE 3.2.0: dav1d, bluez, libvpx e icu
* fix(manifest): libvpx hash
* fix(manifest): update ICU source SHA256 hash
* fix(icu): change build system to simple and update build commands
* fix(icu): switch build system to autotools and update build directory structure
* fix(es-de): remove ICU dependency and update build options for ES-DE for statically linking it
* Documentation update
* feat(manifest): update runtime version to 6.8
* feat(automation): added the AppImage build job
* feat(build): install PipeWire development dependencies for ES-DE workflow
* feat(build): update dependencies for ES-DE workflow
* feat(workflow): add job to check and delete empty releases after builds
* fix(build): update release notes format in build workflow [skip ci]
* Triggering build
* feat(build): add Bluetooth development dependencies and improve AppImage naming
* feat(build): rename AppImage output for ES-DE to RetroDECK format
* feat(build): update script for RetroDECK AppImage creation
* feat(build): add bcm_host and brcmegl dependencies to build workflow
* feat(build): replace brcmegl with fuse in dependency installation
* Documentation update for the 3.2.0 release
* feat(manifest): reverted runtime version to 6.7 in application YAML
---------
Co-authored-by: Leon Styhre <leon.styhre@nw-soft.com>
2025-04-08 04:33:45 +00:00
|
|
|
int mScaleAccumulator;
|
2020-06-21 12:25:28 +00:00
|
|
|
bool mRenderedHelpPrompts;
|
2023-08-14 20:40:32 +00:00
|
|
|
bool mChangedTheme;
|
2013-04-08 14:41:25 +00:00
|
|
|
};
|
2017-10-31 17:12:50 +00:00
|
|
|
|
|
|
|
#endif // ES_CORE_WINDOW_H
|