Commit graph

704 commits

Author SHA1 Message Date
Leon Styhre 755df0b10d Removed a deprecated function from NinePatchComponent. 2021-01-15 20:26:33 +01:00
Leon Styhre b0bd77eb7f Log output improvement for TextureData. 2021-01-15 20:09:01 +01:00
Leon Styhre f212a85b23 Fixed scaling of GridTileComponent on high resolution displays. 2021-01-15 19:25:44 +01:00
Leon Styhre db1a97dd85 Made SliderComponent scale properly on high resolution displays. 2021-01-15 19:06:53 +01:00
Leon Styhre 3abbb3c85c Updated TextEditComponent to scale properly on high resolution diplays.
Also changed to SVG graphic files for the text input box frame in order to look smoother at higher resolutions.
2021-01-15 18:53:38 +01:00
Leon Styhre ee8e0a0c89 Some minor code cleanup. 2021-01-15 18:47:01 +01:00
Leon Styhre a99d32f596 Made some separator lines scale correctly on high resolution displays. 2021-01-15 18:44:54 +01:00
Leon Styhre 0bc707a828 Added support for scaling textures during load for raster files. 2021-01-15 18:39:19 +01:00
Leon Styhre 574feadc68 Changed from frame.png to frame.svg in most places. 2021-01-14 22:56:49 +01:00
Leon Styhre f71f4704ce Properly fixed NinePatchComponent so it scales with the screen resolution. 2021-01-14 22:55:07 +01:00
Leon Styhre 1148f941a9 Added support for scaling SVG graphics files directly when loading them. 2021-01-14 22:25:44 +01:00
Leon Styhre 2995a0c7c5 Removed an invalid video resizing attempt. 2021-01-14 21:56:43 +01:00
Leon Styhre be9eaf6b38 Very minor code cleanup. 2021-01-14 21:54:26 +01:00
Leon Styhre fbb78add20 Fixed a GUI element placement issue on high resolution displays. 2021-01-14 18:24:41 +01:00
Leon Styhre 82896f01fb Fixed an issue with NinePatchComponent scaling on 1920x1200 displays. 2021-01-14 00:09:23 +01:00
Leon Styhre ace0366479 Buttons now look correct on high-resolution displays.
Also removed some unneeded SVG metadata from the bundled graphics files.
2021-01-13 23:46:51 +01:00
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
Leon Styhre 35c7c7ec09 Removed deprecated code for handling video subtitles. 2020-10-17 16:06:48 +02:00
Leon Styhre 0beb40d9c9 Fixed a tiny memory leak.
Also fixed a Clang static analyzer error for SystemData.
2020-10-17 14:32:08 +02:00
Leon Styhre 930bdce576 Fixed multiple issues reported by the Clang static analyzer. 2020-10-17 14:05:41 +02:00
Leon Styhre 13e0735dda Implemented variable scrolling speed for ScrollableContainer. 2020-10-17 12:16:58 +02:00
Leon Styhre 2768380446 Fixed several errors reported by Valgrind. 2020-10-11 18:57:37 +02:00
Leon Styhre c2b3b029e5 Fixed a massive memory leak related to SVG images.
Also did a general update and cleanup of TextureData.
2020-10-11 18:46:06 +02:00
Leon Styhre 70f7382680 Fixed a memory leak for GuiInfoPopup notifications. 2020-10-11 09:59:49 +02:00
Leon Styhre 5cd83899f0 Fixed a regression where the video would not pause when launching a game. 2020-10-10 15:46:01 +02:00
Leon Styhre 96da134f7d Added option to scrape based on the metadata name. 2020-10-10 13:05:12 +02:00
Leon Styhre 965f96bbc8 Fixed a sorting issue when clearing game metadata.
Also a small documentation update and a file permission change.
2020-09-27 18:37:43 +02:00
Leon Styhre 107c747374 Fixed a regression where the graying-out of menu entries didn't work. 2020-09-27 14:41:59 +02:00
Leon Styhre 4e9c1361be Fixed two additional instances where video would start playing when it shouldn't. 2020-09-27 13:14:50 +02:00
Leon Styhre 08a2602fe2 Added function to unpause video. 2020-09-26 22:15:36 +02:00
Leon Styhre 8db04c5fcb Added SPDX license identifiers to all source files. 2020-09-21 19:17:34 +02:00
Leon Styhre 83bae1e963 When marking or unmarking a game as favorite, the cursor position is now retained. 2020-09-20 10:05:03 +02:00
Leon Styhre fd92f7f86d Implemented the same opacity animation for the video style as for the detailed style. 2020-09-18 20:43:46 +02:00
Leon Styhre 522fbebee8 Fixed multiple issues and glitches related to the screensaver. 2020-09-18 18:40:22 +02:00
Leon Styhre afa91aa093 Fixed an issue where long game names would sometimes not scroll. 2020-09-18 18:19:02 +02:00
Leon Styhre f4e24bdd56 Fixed an issue where the cursor would end up outside text fields for long strings. 2020-09-18 18:16:12 +02:00
Leon Styhre d4f5b2d20d Text scrolling now stops when launching a game and when the screensaver starts.
Also did some additional code cleanup.
2020-09-17 22:00:07 +02:00
Leon Styhre 2a852170a8 (Windows) Fixed some build issues and got the OpenGL shaders to work.
Also some additional code cleanup.
2020-09-16 22:14:35 +02:00
Leon Styhre ae7c9dabb8 Decreased CPU usage dramatically and fixed multiple UI navigation glitches.
Also did some code cleanup.
2020-09-15 22:57:54 +02:00
Leon Styhre a6430ff0ff Moved the input debug logging to a more appropriate location.
This also fixes the issue where some input was not being logged correctly.
2020-09-15 21:12:32 +02:00
Leon Styhre d787f06c63 The cached gamelist background is now updated when using the metadata editor. 2020-09-13 19:20:30 +02:00
Leon Styhre db0e15f5e8 Fixed an annoying scrolling issue that also affected the application performance. 2020-09-13 19:08:17 +02:00
Leon Styhre 02c9b4fb28 Several small improvements to the video view style.
Also partly rearranged the UI menu.
2020-09-13 14:28:06 +02:00
Leon Styhre 7dea5fb7df Renamed the setting 'Open menu effect' to 'Menu opening effect'. 2020-09-13 13:46:34 +02:00
Leon Styhre 66829b4ffa Added multiple animations and effects (mostly using shaders). 2020-09-13 13:21:38 +02:00
Leon Styhre a34bc45e56 Added an opacity shader. 2020-09-12 19:17:26 +02:00
Leon Styhre 3643c08caf Updates to the OpenGL shader handling. 2020-09-12 12:14:48 +02:00
Leon Styhre 79b5bfffef Some minor cosmetic changes. 2020-09-04 19:05:48 +02:00
Leon Styhre fd10aba815 Updated the GLSL shader logic and added a postprocessing function. 2020-09-04 18:59:19 +02:00
Leon Styhre 9da16dd00e Some minor cosmetic code changes. 2020-08-30 22:25:38 +02:00
Leon Styhre d512c2b11d Implemented OpenGL GLSL shader support. 2020-08-30 22:19:37 +02:00