Commit graph

638 commits

Author SHA1 Message Date
Leon Styhre a97b08e87e Eliminated some unnecessary processing in TextComponent. 2021-01-13 19:49:35 +01:00
Leon Styhre 34e10ec319 Minor code cleanup and log output changes. 2021-01-13 19:48:31 +01:00
Leon Styhre ce16c8e3ec Improved GUI consistency when running on high resolution devices. 2021-01-13 19:45:56 +01:00
Leon Styhre 11bf8046d8 Added screen resolution modifiers to get proper high resolution scaling. 2021-01-13 19:42:06 +01:00
Leon Styhre 7e7ba0aac8 Fixed an issue that caused the log to not be flushed during emergency shutdown. 2021-01-12 23:11:23 +01:00
Leon Styhre f25973f9b9 Tiny code cleanup. 2021-01-12 23:10:39 +01:00
Leon Styhre c3778f55f3 Renamed scroll_gradient.png to screen_gradient.png. 2021-01-12 23:10:06 +01:00
Leon Styhre c5b0042dff Fixed the quick list scroll overlay and made it configurable using a menu option. 2021-01-12 22:41:28 +01:00
Leon Styhre b3142edd0a Reverted the recent es_systems.cfg template changes for macOS and Windows. 2021-01-11 18:31:12 +01:00
Leon Styhre 9dd8aacb28 Fixed two minor cosmetic issues. 2021-01-11 18:18:44 +01:00
Leon Styhre 6479178186 (macOS) Changed the es_systems.cfg template to the %COREPATH% logic. 2021-01-10 23:23:36 +01:00
Leon Styhre 3ead3548a1 (Windows) Changed the es_systems.cfg template to the %COREPATH% logic. 2021-01-10 23:05:20 +01:00
Leon Styhre 001a46341e Small improvements to the VSync setup and logging. 2021-01-07 00:17:59 +01:00
Leon Styhre e2b3ca55be Two small changes to the application startup logging. 2021-01-07 00:14:45 +01:00
Leon Styhre 8ecc50b4ce Added margin support to TextComponent for abbreviated text. 2021-01-05 16:52:39 +01:00
Leon Styhre dc9c49438f Fixed an issue where a missing texture in GridTileComponent generated a lot of log warnings. 2021-01-05 15:57:50 +01:00
Leon Styhre a28f174960 Added a function to set scrolling parameters for ScrollableContainer.
Also tuned the scrolling speed a bit.
2021-01-05 12:52:21 +01:00
Leon Styhre d2d6813a54 Fixed multiple issues with the UI modes. 2021-01-05 10:45:32 +01:00
Leon Styhre 1a746ac98f Fixed an issue where the text scrolling speed would change relative to the screen resolution.
Also added a fade-in animation when the scrolling resets to the start position.
2021-01-02 21:17:23 +01:00
Leon Styhre f4cfcbed65 Some improvements to the application logging. 2021-01-01 18:36:53 +01:00
Leon Styhre ed60ab4e3a Fixed an issue where a temporary setting was retained in the configuration file. 2021-01-01 18:16:54 +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 daf9b62936 Fixed an issue where the application would hang if there were no audio devices available. 2020-12-31 14:27:31 +01:00
Leon Styhre 6fa1fa110a Fixed an issue with custom event scripts on Windows. 2020-12-31 13:10:28 +01:00
Leon Styhre c747416071 Changed from localtime to the more secure localtime_r and localtime_s functions. 2020-12-29 13:44:13 +01:00
Leon Styhre eadeb88ece Fixed a compile error on Unix. 2020-12-29 12:58:55 +01:00
Leon Styhre c95334756d Fixed a lot of MSVC compiler warnings. 2020-12-29 12:54:24 +01:00
Leon Styhre 53bb5bb2ea Fixed a compiler error on Unix. 2020-12-29 11:12:18 +01:00
Leon Styhre 0365e9c572 Fixed some MSVC compiler warnings. 2020-12-29 11:06:01 +01:00
Leon Styhre e6847a09c7 (Windows) Fixed some MinGW compile errors. 2020-12-28 23:49:34 +01:00
Leon Styhre 9ec3f19482 (Windows) Added support for the MSVC compiler. 2020-12-28 23:23:01 +01:00
Leon Styhre 963f93e0f8 Replaced the custom math functions with standard C++ functions. 2020-12-28 11:29:32 +01:00
Leon Styhre 94c0919f31 Reverted the file name change for the CA certificate bundle. 2020-12-26 11:36:01 +01:00
Leon Styhre ad5b6ea3ec Updated the CA certificates to the latest available version.
Also changed HttpReq to retain the original CA bundle file name.
2020-12-26 11:29:41 +01:00
Leon Styhre 51ab69b54c Fixed an issue where some SVG graphics would have their right side cut off slightly. 2020-12-23 20:32:12 +01:00
Leon Styhre a27c961987 Some changes to the startup logging.
Also removed some unnecessary audio code.
2020-12-23 17:56:21 +01:00
Leon Styhre f7c33ecd26 Some small changes to the audio code. 2020-12-23 15:32:10 +01:00
Leon Styhre bde34ddffd Further modernizations of the audio handling code. 2020-12-22 23:27:23 +01:00
Leon Styhre 214a7861f9 Modernized the audio handling code a bit. 2020-12-21 00:23:22 +01:00
Leon Styhre cfff577549 Implemented a better way to mute videos. 2020-12-20 20:37:31 +01:00
Leon Styhre 46c178af1d Added volume controls for navigation sounds and the video player. 2020-12-20 16:41:58 +01:00
Leon Styhre 0cce86beca Created a common pixel conversion function for both renderers. 2020-12-18 16:49:11 +01:00
Leon Styhre bb3cc4d4a1 Added logic and menu option for handling invalid media files during scraping.
Also added a shortcut for defining the scraper searches and fixed an issue where games were automatically selected after refining the search.
2020-12-18 16:35:19 +01:00
Leon Styhre defb16b6da Fixed multiple issues with the UI modes (full/kiosk/kid).
Also improved the quit menu.
2020-12-17 23:45:29 +01:00
Leon Styhre ade0160ffe Made the switches slightly smaller in the metadata editor.
Also made the value 'unknown' be set for some entries when clearing them individually in the metadata editor.
2020-12-17 20:49:20 +01:00
Leon Styhre bddc87bbcc Changed some more code from C to C++ 2020-12-17 20:43:52 +01:00
Leon Styhre b86e8ad6e2 Made the icon marker colors in the metadata editor slightly lighter. 2020-12-17 20:36:30 +01:00
Leon Styhre 5208150749 Reverted a removed optimization. 2020-12-17 00:20:25 +01:00
Leon Styhre debf072a0e Rewrote some code from C to C++ 2020-12-16 23:59:00 +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 e6f16be221 Fixed an issue with refining ScreenScraper searches for arcade games.
Also did a tiny cosmetic code change in Window.cpp.
2020-12-16 18:46:38 +01:00
Leon Styhre 6c62b23da8 Fixed an issue where videos would not pause on screensaver activation. 2020-12-16 18:03:23 +01:00
Leon Styhre 29abe2dc8c Removed the deprecated PowerSaver. 2020-12-16 17:57:10 +01:00
Leon Styhre 05302052de Fixed a GUI component alignment issue for the text edit popups. 2020-12-16 17:38:23 +01:00
Leon Styhre 0c7e02e6f4 The scraper filter setting is now retained throughout the program session. 2020-12-16 17:35:23 +01:00
Leon Styhre 98d99ef8bb Added support for graying out menu entries via switch callbacks. 2020-12-15 18:49:43 +01:00
Leon Styhre 024e073e86 Added support for %COREPATH% variable and reverted to a single Unix es_systems.cfg template file. 2020-12-15 18:42:38 +01:00
Leon Styhre e752904ab1 Added logic to retrieve default setting values. 2020-12-14 17:25:41 +01:00
Leon Styhre dc620aa11b Cosmetic log output change to the renderer. 2020-11-29 20:33:17 +01:00
Leon Styhre 48a7bed2c0 Fixed compilation errors on Fedora and GCC 10. 2020-11-28 22:27:00 +01:00
Leon Styhre fe4bb0b7e9 Allowed non-accelerated rendering. 2020-11-27 21:04:49 +01:00
Leon Styhre 5d1b6d2475 Removed unnecessary certificate bundling on NetBSD. 2020-11-26 19:36:08 +01:00
Leon Styhre 19edfd1690 Added support for FreeBSD, NetBSD and OpenBSD. 2020-11-26 18:53:00 +01:00
Leon Styhre 401d433be0 Eliminated unnecessary rendering when the video or slideshow screensaver is running. 2020-11-18 23:52:29 +01:00
Leon Styhre 50e74595e4 Eliminated unnecessary rendering during view transitions. 2020-11-18 23:47:32 +01:00
Leon Styhre e30e636780 Fixed an issue where game media would not get rendered during gamelist transitions. 2020-11-18 22:26:58 +01:00
Leon Styhre 0b6dce687e Changed to C++ casts throughout the application. 2020-11-17 23:06:54 +01:00
Leon Styhre 623c302174 Cosmetic code cleanup of VideoComponent. 2020-11-17 22:13:33 +01:00
Leon Styhre 635e7d2cdd Added a menu option to enable and disable video pillarboxes.
Also did some general code cleanup of VideoVlcComponent.
2020-11-17 17:20:25 +01:00
Leon Styhre bbb5575334 Added black areas around videos with non-standard aspect ratios. 2020-11-16 23:34:08 +01:00
Leon Styhre f334eb7037 Changed the font size and line spacing for the GPU statistics overlay. 2020-11-16 17:46:36 +01:00
Leon Styhre 2220787c3b Fixed multiple issues with view transitions. 2020-11-16 17:44:33 +01:00
Leon Styhre 0a6e1f280f Improved transitions for SystemView. 2020-11-15 20:06:33 +01:00
Leon Styhre 2b189f9d19 Fixed an issue where the game image would sometimes not refresh after scraping. 2020-11-14 17:18:00 +01:00
Leon Styhre 53cacd5eac Renamed VideoPlayerComponent to VideoOmxComponent. 2020-11-12 17:40:06 +01:00
Leon Styhre 00ba2e78ab Improvements to the screensaver and game overlay.
Also added functionality to jump to a game from the screensaver (without launching it).
2020-11-12 17:13:24 +01:00
Leon Styhre 9bea6bb17e Added a game info overlay to the screensaver.
Also refactored Window and SystemScreensaver and added a fade-in effect for the shaded background when opening menus.
2020-11-12 00:46:59 +01:00
Leon Styhre 08786f2027 Small change to remove a compiler warning on macOS. 2020-11-10 22:42:25 +01:00
Leon Styhre 6368ae0cc1 OCD update renaming ScreenSaver to Screensaver. 2020-11-10 22:33:57 +01:00
Leon Styhre bbb2aa5217 Overhaul of the screensaver. 2020-11-10 22:18:20 +01:00
Leon Styhre cc87084959 Fixed a crash when searching recursively through a directory. 2020-11-10 22:16:30 +01:00
Leon Styhre 2c3b452401 Some cosmetic code cleanup and some small documentation updates. 2020-11-08 22:58:06 +01:00
Leon Styhre 3336f50e04 Added a file that was missing in the last commit. 2020-11-08 13:23:50 +01:00
Leon Styhre bd33d5a3b9 Implemented (somehow) proper inversions for images in menus. 2020-11-08 13:03:45 +01:00
Leon Styhre f1f0596fe1 Added support for user accounts for ScreenScraper. 2020-11-07 15:34:15 +01:00
Leon Styhre 1af7e3eda4 Added support for hidden text fields (intended for passwords). 2020-11-07 12:50:30 +01:00
Leon Styhre 8131b81761 Editing now starts by default for the text edit popups. 2020-11-07 12:45:57 +01:00
Leon Styhre 9f747e161d Rewrote collection settings to the new settings logic. 2020-11-06 20:27:41 +01:00
Leon Styhre 1a6bec2e3b Overhaul of settings code. 2020-11-05 18:18:11 +01:00
Leon Styhre 893dee2bab Added option to disable the favorite game toggling shortcut.
Also modified some setting descriptions and updated the corresponding documentation.
2020-10-31 10:01:19 +01:00
Leon Styhre 7f0aede274 Added gamelist info field which displays some useful information. 2020-10-30 14:19:21 +01:00
Leon Styhre 01cf401d8f Added menu options to disable the favorite star markings. 2020-10-25 21:29:54 +01:00
Leon Styhre ab87063770 Added case insensitive sorting option to some StringUtil functions. 2020-10-22 21:14:15 +02:00
Leon Styhre 075ab58bdb Changed the default value for custom collections favorites sorting. 2020-10-21 23:29:13 +02:00
Leon Styhre 9ca948e145 Fixed incorrect help text for the second button in GuiMsgBox. 2020-10-20 21:40:53 +02:00
Leon Styhre 3e8a5391e1 Videos now always start to play immediately if there is no static image. 2020-10-20 21:24:29 +02:00
Leon Styhre 0b6d0bfcd6 Improved some logging as well as handling of a missing es_systems.cfg file. 2020-10-19 17:28:20 +02:00
Leon Styhre 2eb5125d0e Some cosmetic code cleanup. 2020-10-18 19:45:26 +02:00
Leon Styhre 5838481e0d Small adjustments to ScrollableContainer timings. 2020-10-18 11:03:49 +02:00
Leon Styhre 923d1df479 Fixed a libcurl memory leak in the scraper. 2020-10-18 11:01:56 +02:00