Commit graph

481 commits

Author SHA1 Message Date
Leon Styhre f7643e96a4 Added support for two more controller icons. 2021-11-02 19:01:00 +01:00
Leon Styhre 190b3ba054 Fixed an issue where rasterized window corners would look excessively pixelated. 2021-10-30 13:07:07 +02:00
Leon Styhre 1c79723894 Improved the NinePatchComponent corner sizing for screens in portrait orientation. 2021-10-29 20:10:15 +02:00
Leon Styhre 28f0f8549c Fixed an issue where the OptionList arrows would not get correctly centered vertically. 2021-10-29 19:45:46 +02:00
Leon Styhre 59839546a5 Fixed an issue where ComponentList elements would not get correctly centered vertically. 2021-10-29 19:44:27 +02:00
Leon Styhre a6f72ff934 Replaced a hack in NinePatchComponent with a proper solution. 2021-10-29 19:38:45 +02:00
Leon Styhre c4a7380d40 Added a few more controller types and icons.
Also fixed an incorrect name for one controller and made some other name changes.
2021-10-27 19:10:48 +02:00
Leon Styhre a979c6d0e5 Made the menu texture render correctly when running really low on texture memory. 2021-10-26 18:29:30 +02:00
Leon Styhre fbb974de03 Removed an unnecessary force load setter from ImageComponent. 2021-10-26 18:28:21 +02:00
Leon Styhre 4e02ce230b Disabled dynamic loading of images in BadgeComponent. 2021-10-26 18:27:30 +02:00
Leon Styhre 3d3d951842 Renamed alwaysRasterize to forceRasterization.
Also removed an unnecessary function call in ImageComponent.
2021-10-26 18:22:41 +02:00
Leon Styhre f32c3dc6f4 Reintroduced column mode for BadgeComponent.
Also fixed an issue with direction in FlexboxComponent when using column mode.
2021-10-25 19:13:54 +02:00
Leon Styhre 7ed0267f5b Made a large optimization to the SVG rasterization logic. 2021-10-25 18:39:58 +02:00
Leon Styhre 960f6e56be Fixed an incorrect text debug overlay color in SliderComponent. 2021-10-24 14:53:53 +02:00
Leon Styhre b83db7d33e Added text debug overlay to SliderComponent.
Also changed a variable name to align with the standard naming conventions.
2021-10-24 14:48:42 +02:00
Leon Styhre 71b5c50b85 Made the SliderComponent width consistent across different screen aspect ratios. 2021-10-24 14:17:43 +02:00
Leon Styhre 5247a9f5fe Fixed an issue where the wrong scroll indicator could be shown. 2021-10-24 12:10:38 +02:00
Leon Styhre f2c787e769 Moved the resources/help directory to resources/graphics/help 2021-10-23 20:49:00 +02:00
Leon Styhre 1aa360598d Renamed BadgesComponent to BadgeComponent. 2021-10-23 20:28:07 +02:00
Leon Styhre b5a61a0617 Renamed 'controller types' to 'game controllers' (code) and simply 'controllers' (metadata editor). 2021-10-23 20:14:17 +02:00
Leon Styhre 84514f67d0 Added support for controller types. 2021-10-23 19:08:32 +02:00
Leon Styhre edc11e6255 Added a setter to ImageComponent for mForceLoad. 2021-10-23 17:36:13 +02:00
Leon Styhre 89aefab54c Small simplification in ImageComponent. 2021-10-23 17:35:23 +02:00
Leon Styhre dd94aeec96 Fixed two casting issues. 2021-10-23 15:53:31 +02:00
Leon Styhre 6cee6d2732 Fixed multiple image scaling and rasterization issues. 2021-10-23 15:45:44 +02:00
Leon Styhre bd62f2af14 Fixed an issue where the bar and knob in SliderComponent were not correctly aligned vertically. 2021-10-23 15:36:16 +02:00
Leon Styhre 022f8c7e8b Fixed an issue where resizing in SwitchComponent would not reposition the image. 2021-10-23 15:30:35 +02:00
Leon Styhre 114c91679e Increased the start delay slightly for the scraper GUI game name scrolling. 2021-10-18 19:58:04 +02:00
Leon Styhre 484606fb6f Added horizontal scrolling of long game names to the scraper GUI. 2021-10-18 19:24:47 +02:00
Leon Styhre ccc3cae46b Fixed some small rounding issues in TextListComponent.h 2021-10-18 19:15:50 +02:00
Leon Styhre 94c825e3a3 Changed the 'marquee' variable names to 'loop' in TextListComponent.h 2021-10-18 18:07:20 +02:00
Leon Styhre 1166539466 Fixed a general ImageComponent scaling issue caused by incorrect rounding. 2021-10-17 21:51:21 +02:00
Leon Styhre 975ff0eb69 Fixed a potential rounding issue. 2021-10-17 21:20:17 +02:00
Leon Styhre 62d327b071 Merge branch '655-fix-the-left-and-right-alignment-in-badgescomponent' 2021-10-17 18:45:52 +02:00
Leon Styhre af1d1b3109 Fixed some rounding issues and the right-alignment in FlexboxComponent. 2021-10-17 18:45:21 +02:00
Leon Styhre 11ca17fc91 Fixed an issue where the wrong scroll indicators could be displayed. 2021-10-17 16:14:28 +02:00
shadash 8fd05fcd77 bugfix, simplification
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-17 01:11:01 +02:00
Leon Styhre 690083a123 The scroll indicators don't fade in and out any longer if quick jumping in a list. 2021-10-16 13:21:52 +02:00
Sophia Hadash 1c93ca2c07 fix right align
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-15 21:33:34 +02:00
shadash c68f78f3d1 fix right align
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-15 21:28:12 +02:00
Leon Styhre 3683866062 Improved the layout of the scraper GUIs.
Also added the scroll indicators and replaced a text margin hack with a proper solution.
2021-10-15 20:58:40 +02:00
Leon Styhre 050dccb6b8 Fixed an issue with international characters getting clipped in ScrollableContainer. 2021-10-15 20:31:51 +02:00
Leon Styhre 7311a49f82 Removed an unnecessary column from MenuComponent and adjusted the scroll indicators. 2021-10-14 22:38:30 +02:00
Leon Styhre 10e284c929 Text in ScrollableContainer now mostly stays within the initial area. 2021-10-14 21:59:09 +02:00
Leon Styhre a1ed59553f Made it possible to set a 'a/select' help prompt for TextComponent. 2021-10-14 21:29:23 +02:00
Leon Styhre eb611d12db Fixed some issues in FlexboxComponent.
Also added some sanity checks and size restrictions to BadgeComponent and FlexboxComponent.
2021-10-13 18:18:23 +02:00
Leon Styhre b9b4bd120d Fixed multiple issues where ComponentGrid would display incorrect help prompts. 2021-10-12 23:32:26 +02:00
Leon Styhre 48db23691d Merged BadgeComponent code into master branch. 2021-10-12 23:13:38 +02:00
Leon Styhre ae96cb4c54 Further improvements to the badges code. 2021-10-12 22:53:02 +02:00
Leon Styhre 848277141a Optimized the badges code.
Also made a small adjustment to the alternative emulator badge.
2021-10-11 21:28:37 +02:00