Commit graph

112 commits

Author SHA1 Message Date
Leon Styhre 2a83f616e6 Code cleanup of various GUIs. 2022-09-03 12:44:49 +02:00
Leon Styhre 81268fb11c (Windows) Changed many logging entries to use backslashes instead of forward slashes as directory separators. 2022-07-01 16:39:18 +02:00
Leon Styhre 7b07ccb44d Fixed an issue where the 'Jump to..' quick selector wouldn't work correctly for multi-byte Unicode characters. 2022-05-09 20:21:39 +02:00
Leon Styhre 963834afec Renamed 'launch file' to 'folder link'. 2022-04-12 18:35:57 +02:00
Leon Styhre 45af7441e9 Added support for launching game files inside folders without having to enter the folder. 2022-04-11 23:28:18 +02:00
Leon Styhre a115b3f941 Added alignment support and separate dimming of gamelist and system views to the help system. 2022-03-18 20:14:51 +01:00
Leon Styhre f0c35d8509 Refactored the rendering code into proper classes. 2022-03-14 19:51:48 +01:00
Leon Styhre c4eb1b8b97 Greatly simplified the video controls code.
Also fixed a cosmetic issue with carousel fade transitions.
2022-02-19 17:04:23 +01:00
Leon Styhre a42d63e567 Code cleanup by moving a lot of casts to the appropriate getter functions. 2022-02-11 23:38:23 +01:00
Leon Styhre a443f86235 Removed a huge amount of unnecessary Window* function arguments. 2022-01-19 18:01:54 +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 e6c36e88c5 Moved UIModeController.cpp from the es-app/views directory to es-app 2022-01-17 21:53:23 +01:00
Leon Styhre 0c8efee8ad General refactoring and code cleanup. 2022-01-16 18:18:28 +01:00
Leon Styhre c7964b7ebc Renamed GameList to Gamelist throughout the codebase. 2022-01-15 13:38:09 +01:00
Leon Styhre 6ca4d6b96e Removed an unused constructor parameter for GuiMetaDataEd. 2022-01-14 23:42:52 +01:00
Leon Styhre 119dfc90f8 Changed ViewController::get() to ViewController::getInstance() 2022-01-04 21:49:22 +01:00
Leon Styhre 254b00a3d8 Large refactoring to improve thread safety and improve singleton pattern usage. 2022-01-04 21:21:26 +01:00
Leon Styhre daf66c4b60 Added proper support for interpreting directories as files. 2021-12-17 20:18:47 +01:00
Leon Styhre 445b914379 Completely refactored MameNames. 2021-11-17 21:32:40 +01:00
Leon Styhre dd0f36f82b Changed most increment and decrement operators from postfix to prefix for es-app. 2021-11-17 17:35:34 +01:00
Leon Styhre 6bc4a09c9b Multiple thread safety improvements to AudioManager and VideoFFmpegComponent.
Also some general refactoring and re-enabling of some SDL_AudioStream functions.
2021-11-15 22:43:06 +01:00
Leon Styhre 9c20498339 The OptionListComponent key repeat parameters are now configurable. 2021-10-08 21:11:38 +02:00
Leon Styhre 72cf219b05 Added key repeat for the 'Jump to' and 'Sort games by' selectors on the game options menu. 2021-10-08 19:16:23 +02:00
Leon Styhre 49347baffe Multiple smaller optimizations. 2021-09-28 21:49:46 +02:00
Leon Styhre 0b6d987263 Fixed lots of compiler warnings reported by the -Wall and -Wpedantic flags. 2021-09-18 09:53:26 +02:00
Leon Styhre 1fb0ccef0d Replaced the internal Vector2f data type and functions with the GLM library equivalent. 2021-08-16 18:25:01 +02:00
Leon Styhre af5e32e121 Formatted the es-app source tree using clang-format. 2021-07-07 20:03:42 +02:00
Leon Styhre ccb4c19d78 Changed input type 'select' to 'back' to align with the SDL naming conventions. 2021-05-23 20:31:15 +02:00
Leon Styhre 2aa4ef385d Made the game options menu buttons and help text a bit more consistent. 2021-04-09 22:28:28 +02:00
Leon Styhre d073dae00b A dummy entry is now displayed in the game options menu if the system has no games. 2021-04-09 19:16:27 +02:00
Leon Styhre 4ca11e7062 Fixed a potential crash due to the filter menu entry being displayed when it shouldn't.
Also some very minor code cleanup.
2021-04-05 14:37:33 +02:00
Leon Styhre 4b0f505b01 Hack to fix some missing theme elements when invalidating the cached background. 2021-03-21 16:41:24 +01:00
Leon Styhre b5b999cc9e Fixed an issue where gamelist filters were sometimes not applied. 2021-03-19 19:14:23 +01:00
Leon Styhre 3e9e592c3b Filters are now applied only when there were actual changes made.
Also disabled the free text filter entry if the system has no games.
2021-03-18 20:22:49 +01:00
Leon Styhre 652adc41d8 Fixed an issue where clearing a game would randomly keep some theme elements from being rendered. 2021-03-12 23:15:55 +01:00
Leon Styhre cd91eb6ec9 Fixed an issue where clearing a game and reactivating some collections could lead to a crash. 2021-03-12 22:23:01 +01:00
Leon Styhre 814b0cfd18 Fixed an issue where deleting a game would not properly reload the gamelist. 2021-01-31 19:28:30 +01:00
Leon Styhre 8173ccda80 Moved the first character extraction function to StringUtil. 2021-01-23 16:25:53 +01:00
Leon Styhre 43da188b3b Fixed an issue where a leading Unicode character in the game name could crash the application. 2021-01-16 17:22:12 +01:00
Leon Styhre b361da6e1e Fixed two MSVC compiler warnings. 2021-01-09 13:44:18 +01:00
Leon Styhre 77978ee83a Fixed multiple issues related to the gamelist sorting options. 2021-01-08 20:30:21 +01:00
Leon Styhre 910b9e0125 Fixed a filter reset issue for grouped custom collections. 2021-01-02 18:30:39 +01:00
Leon Styhre 5e7480bfab Made re-enabling of custom collection entries work on Windows with UTF-16 support. 2021-01-01 10:28:42 +01:00
Leon Styhre 4dded3306c Fixed an issue where clearing a game would not update its collection entries. 2020-12-31 19:58:51 +01:00
Leon Styhre f4233db66e Small cosmetic change to the game options menu. 2020-12-25 22:50:20 +01:00
Leon Styhre 327676d7d7 Renamed CollectionSystemManager to CollectionSystemsManager. 2020-12-23 18:06:30 +01:00
Leon Styhre 605aa4ba8e Moved the favorite and folder character constants to a more logical location. 2020-12-16 21:19:48 +01:00
Leon Styhre 0b6dce687e Changed to C++ casts throughout the application. 2020-11-17 23:06:54 +01:00
Leon Styhre e5fcb51f57 Added support for multiple search results for ScreenScraper.
Also fixed some other scraping issues and added some additional scraper logging.
2020-11-14 15:30:49 +01:00
Leon Styhre 1a6bec2e3b Overhaul of settings code. 2020-11-05 18:18:11 +01:00