Commit graph

3647 commits

Author SHA1 Message Date
Leon Styhre d140804dad Adjusted a few log warning messages in ThemeData. 2022-01-30 21:35:39 +01:00
Leon Styhre 872aaf6b48 Preliminary update to SystemView for the new theme engine. 2022-01-30 21:16:03 +01:00
Leon Styhre 1dd5e52760 Updated ThemeData to more strictly enforce the new theme engine format. 2022-01-30 21:13:49 +01:00
Leon Styhre e96aa82dd3 Fixed an issue where some images would not get rendered. 2022-01-30 20:48:31 +01:00
Leon Styhre db05fb3800 Fixed an issue where an extra game image could be shown for legacy themes. 2022-01-30 20:00:49 +01:00
Leon Styhre f2c708bf79 Fixed two incorrect intializations in TextComponent. 2022-01-30 19:36:58 +01:00
Leon Styhre bf222d7eb0 Fixed some missing initializations in TextComponent. 2022-01-30 19:31:53 +01:00
Leon Styhre 3bf46c3fb0 Added support for two new 'scrollFadeIn' and 'defaultImage' properties.
Also fixed some issues with theming ScrollableContainer.
2022-01-30 19:30:38 +01:00
Leon Styhre 6676e9c353 Documentation update. 2022-01-29 19:03:21 +01:00
Leon Styhre c35a297d9a Large update to get the new theme engine up and running. 2022-01-29 18:41:22 +01:00
Leon Styhre 0ca2b62edf Some minor code cleanup. 2022-01-29 18:16:30 +01:00
Leon Styhre 336ff3ea7c Added an extra assert macro to GuiComponent. 2022-01-29 18:12:30 +01:00
Leon Styhre 4b1138ebc7 Fixed an issue where ScrollableContainer could round its size to zero.
Also added a sizing check to prevent application hangs on zero-sized containers.
2022-01-29 11:06:58 +01:00
Leon Styhre 24f65a2560 Prevented ImageComponent from attempting to render an empty texture. 2022-01-25 18:18:16 +01:00
Leon Styhre dc20a9e21b Cleaned up ThemeData a bit. 2022-01-23 20:03:50 +01:00
Leon Styhre 644f79ebec Improved the theme loading error logging.
Also cleaned up the code a bit.
2022-01-23 17:50:51 +01:00
Leon Styhre 906450f82e Documentation update. 2022-01-22 22:04:53 +01:00
Leon Styhre 098cde5f98 Pointless change to silence a GCC compiler warning. 2022-01-22 21:50:42 +01:00
Leon Styhre 62d5c1e656 Rewrote the gamelist logic for the new theme engine.
Also split out all legacy mode (backward compatibility) functions to a separate header file.
2022-01-22 21:42:43 +01:00
Leon Styhre a147c87cea Added a new getRatingValue function to RatingComponent. 2022-01-22 21:25:35 +01:00
Leon Styhre 487422454e Added support for the 'metadata' element to TextComponent and DateTimeComponent. 2022-01-22 21:24:19 +01:00
Leon Styhre 6229592c74 Added two new 'metadata' and 'scrollHide' elements to ThemeData. 2022-01-22 21:21:13 +01:00
Leon Styhre d04a49957c Added a metadata field to GuiComponent.
Also did some general code cleanup of GuiComponent.
2022-01-22 21:17:28 +01:00
Leon Styhre 2aabe2eef3 Reduced CPU usage significantly when a menu is open. 2022-01-19 19:31:27 +01:00
Leon Styhre 7275f020f1 Fixed the gamelist fade-in animation which was too slow. 2022-01-19 19:30:11 +01:00
Leon Styhre a443f86235 Removed a huge amount of unnecessary Window* function arguments. 2022-01-19 18:01:54 +01:00
Leon Styhre 21b167ed9b Added support to the new gamelist classes for changing view styles.
Also removed the deprecated 'grid' view style and corresponding menu option.
2022-01-18 22:04:05 +01:00
Leon Styhre 4e444c369c Made the new gamelist code work correctly for the detailed view style. 2022-01-18 21:09:06 +01:00
Leon Styhre 51578903ff Replaced the legacy gamelist code with rudimentary support for GamelistBase and GamelistView. 2022-01-18 20:42:50 +01:00
Leon Styhre dfeddebc66 Removed a lot of unnecessary combinations of the virtual and override keywords. 2022-01-18 17:40:47 +01:00
Leon Styhre ec0a7ad2f1 Added the preliminary GamelistBase and GamelistView classes. 2022-01-18 17:14:17 +01:00
Leon Styhre 50db59a6f6 Updated the include guards for UIModeController. 2022-01-17 21:59:00 +01:00
Leon Styhre e6c36e88c5 Moved UIModeController.cpp from the es-app/views directory to es-app 2022-01-17 21:53:23 +01:00
Leon Styhre 1a2920c5fc Some minor code cleanup in TextListComponent.h 2022-01-17 21:35:59 +01:00
Leon Styhre 293fb1cc77 (macOS) Added emulator configuration for RPCS3 to the ps3 system. 2022-01-17 21:23:26 +01:00
Leon Styhre 2ebfb45bdf Some minor code cleanup. 2022-01-17 20:47:30 +01:00
Leon Styhre a6be6225d8 Renamed SystemScreensaver to Screensaver. 2022-01-17 18:43:29 +01:00
Leon Styhre acd18bd1f8 Very minor change to the command line --help output. 2022-01-17 18:35:03 +01:00
Leon Styhre 99c7a252ed Documentation update. 2022-01-16 18:36:59 +01:00
Leon Styhre 0c8efee8ad General refactoring and code cleanup. 2022-01-16 18:18:28 +01:00
Leon Styhre 8a6652552f Set the clang-format option SpaceBeforeCpp11BracedList to true. 2022-01-16 12:09:55 +01:00
Leon Styhre e64976d4bc Renamed GuiGameScraper to GuiScraperSingle. 2022-01-16 11:10:32 +01:00
Leon Styhre 5f2f439fc3 Moved the fan art scrape menu option to the bottom and set it as disabled by default. 2022-01-16 10:43:12 +01:00
Leon Styhre 89cf82b88e When multi-scraping and scrolling a long name, the start position would sometimes not reset correctly. 2022-01-15 19:28:41 +01:00
Leon Styhre c2619fd520 Added media type checks for fan art and TheGamesDB box back covers to the multi-scraper. 2022-01-15 18:29:38 +01:00
Leon Styhre d343e785af Fixed an issue with scraping fan art images using ScreenScraper. 2022-01-15 18:14:11 +01:00
Leon Styhre 5df9e722a5 Documentation update. 2022-01-15 16:24:20 +01:00
Leon Styhre 97e08922a0 Renamed GamelistFileParse to GamelistFileParser and moved it to its own namespace. 2022-01-15 14:12:56 +01:00
Leon Styhre b43c991a9d Renamed Gamelist.cpp/Gamelist.h to GamelistFileParse. 2022-01-15 13:57:08 +01:00
Leon Styhre 7323dd5dfd Renamed some GAME_LIST constants to GAMELIST. 2022-01-15 13:49:14 +01:00