Commit graph

3627 commits

Author SHA1 Message Date
shadash 95b729dadf replace badges svgs
minimize svgs
fix bug in flexbox component
adjust theme for new badges style

Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-02 22:31:37 +02:00
shadash 20d14ca71f remove redundant virtual keyword
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-02 22:00:54 +02:00
shadash dbc9ffb99e remove unused imports
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-02 22:00:05 +02:00
shadash 519644f66c make direction and align an enum.
more in line defaults in constructor.
getter/setter in header

Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-02 21:58:04 +02:00
shadash 9d23d124d4 change casts to c++ style
Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
2021-10-02 21:34:38 +02:00
Sophia Hadash f37d915653 remove old code 2021-10-02 21:30:10 +02:00
shadash 33f0b01c55 move to avoid unnecessary copies. 2021-10-02 21:29:27 +02:00
Leon Styhre 14964603d0 Some changes to THEMES-DEV.md 2021-09-30 21:29:30 +02:00
Leon Styhre ba69e210c5 Documentation update. 2021-09-30 20:24:39 +02:00
Leon Styhre 590f080897 (Windows) Fixed an MSVC compiler warning. 2021-09-30 20:18:15 +02:00
Leon Styhre 6ee33634fb Improved the scrolling consistency in ScrollableContainer.
Also fixed an issue where a fractional last text line would sometimes get rendered.
2021-09-30 20:11:56 +02:00
Leon Styhre a2e12ace6a Lowered the minimal supported resolution from 640x480 to 224x224. 2021-09-30 19:51:04 +02:00
Leon Styhre c78386e648 Fixed an issue where defining a really small font size would crash the application. 2021-09-30 19:49:18 +02:00
Leon Styhre 5366af6999 Fixed a sizing issue in OptionListComponent. 2021-09-28 23:02:27 +02:00
Leon Styhre 49347baffe Multiple smaller optimizations. 2021-09-28 21:49:46 +02:00
Leon Styhre 0077e334b7 Made multiple optimizations to the GUI components. 2021-09-28 21:46:45 +02:00
Leon Styhre 32d4353d69 Changed the language standard for clang-format from C++14 to C++17 2021-09-28 21:44:24 +02:00
Leon Styhre 91f1a0a47d Improved the speed of the badges code.
Also made some other adjustments to the badges and flexbox logic.
2021-09-27 22:18:19 +02:00
Leon Styhre 7321bf8f36 Reverted the SVG caching logic. 2021-09-27 21:41:22 +02:00
Leon Styhre 50f2af0077 Manual merges to align with master branch. 2021-09-27 21:27:07 +02:00
Leon Styhre e8956512dc Merged the master branch. 2021-09-27 21:19:11 +02:00
Leon Styhre 1ed0e7e0f2 Added a temporary alternative emulator badge graphics file. 2021-09-27 21:16:56 +02:00
Leon Styhre c51ad4a432 Removed some noexcept operators. 2021-09-27 21:16:05 +02:00
Leon Styhre f6dd49071e Fixed lots of code formatting issues. 2021-09-27 21:06:07 +02:00
Leon Styhre 87d6207c51 Removed lots of unnecessary help component texture resizing. 2021-09-27 21:03:53 +02:00
Leon Styhre 081fbc5665 Made an optimization for SVG graphics to avoid a lot of unnecessary re-rasterizations. 2021-09-27 20:59:33 +02:00
Sophia Hadash a928142d5b make slots configurable by theme (fix) 2021-09-27 01:50:45 +02:00
Sophia Hadash 61434c66b8 Merge remote-tracking branch 'origin/575-theme-add-a-modern-clean-switch-like-theme-as-an-official-theme-in-es-de-to-choose-from' into 575-theme-add-a-modern-clean-switch-like-theme-as-an-official-theme-in-es-de-to-choose-from
# Conflicts:
#	es-core/src/components/BadgesComponent.cpp
#	es-core/src/components/BadgesComponent.h
#	es-core/src/components/ImageComponent.cpp
#	es-core/src/resources/TextureResource.cpp
#	es-core/src/resources/TextureResource.h
#	themes/modern-DE/assets/altemu.svg
#	themes/modern-DE/assets/broken.svg
#	themes/modern-DE/assets/completed.svg
#	themes/modern-DE/assets/favorite.svg
#	themes/modern-DE/assets/kidgame.svg
2021-09-27 01:34:38 +02:00
Sophia Hadash 7a7b2b3b6e artificial drop-shadow, better rasterization 2021-09-27 01:34:16 +02:00
Sophia Hadash ff70347fbc add artificial drop-shadow (test) 2021-09-27 00:56:31 +02:00
Sophia Hadash e1de215d1a Merge branch '63-add-badges-decals-e-g-for-favorites-completed-games-non-working-games-collections-and-folders' into 575-theme-add-a-modern-clean-switch-like-theme-as-an-official-theme-in-es-de-to-choose-from
# Conflicts:
#	es-core/src/components/BadgesComponent.cpp
#	es-core/src/components/BadgesComponent.h
#	es-core/src/components/ImageComponent.cpp
#	es-core/src/resources/TextureResource.cpp
#	es-core/src/resources/TextureResource.h
2021-09-27 00:42:20 +02:00
Sophia Hadash 593b6d94ee remove obtrusive static image component and add svg caching 2021-09-27 00:41:53 +02:00
Sophia Hadash 1fb8a40aeb remove obtrusive static image component and add svg caching 2021-09-27 00:36:21 +02:00
Sophia Hadash 971ad5f7df horizontal padding adjustment 2021-09-27 00:36:21 +02:00
Sophia Hadash 23adf5eaea add alternative emulator badge 2021-09-27 00:36:21 +02:00
Sophia Hadash f74b904ce0 badges v2 2021-09-27 00:36:21 +02:00
Sophia Hadash da92e2349d add badges to modern theme 2021-09-27 00:36:21 +02:00
Sophia Hadash 8bc24cf2fc reformat metadata in detailed,video view 2021-09-27 00:36:21 +02:00
Sophia Hadash 63467455c1 first attempt at implementing grid-view style for modern theme 2021-09-27 00:36:21 +02:00
Sophia Hadash 1b57ac69b8 stubs for new xml helpsystem spec 2021-09-27 00:36:21 +02:00
Sophia Hadash bc3f15ee41 changes to help buttons drawing in modern theme.
general adaptations to the modern theme.
2021-09-27 00:36:21 +02:00
Sophia Hadash 5a994b345d remove .gitignore entry for art-src 2021-09-27 00:36:21 +02:00
Sophia Hadash 9957b488ac merge switch theme into es-de 2021-09-27 00:36:21 +02:00
Sophia Hadash 90d58953ec remove obtrusive static image component and add svg caching 2021-09-27 00:34:17 +02:00
Sophia Hadash 2bd3d03ca9 Merge branch '63-add-badges-decals-e-g-for-favorites-completed-games-non-working-games-collections-and-folders' into 575-theme-add-a-modern-clean-switch-like-theme-as-an-official-theme-in-es-de-to-choose-from 2021-09-27 00:03:51 +02:00
Sophia Hadash 39f67cfcdf finally properly implemented destructor 2021-09-26 23:58:23 +02:00
Sophia Hadash 8a95003644 horizontal padding adjustment 2021-09-26 23:23:29 +02:00
Sophia Hadash 2649939f0f Merge branch '63-add-badges-decals-e-g-for-favorites-completed-games-non-working-games-collections-and-folders' into 575-theme-add-a-modern-clean-switch-like-theme-as-an-official-theme-in-es-de-to-choose-from 2021-09-26 23:04:38 +02:00
Sophia Hadash 2b8c95d2ef fix segfault in badge destructor 2021-09-26 23:04:09 +02:00
Sophia Hadash e2c1d2d0ef fix segfault in badge destructor
fix margins
2021-09-26 22:59:14 +02:00