55 Commits

Author SHA1 Message Date
Henrik Rydgård f85902d161 Some minor code style cleanup 2026-02-24 00:56:45 +01:00
Henrik Rydgård 22b3ad2372 Get rid of the SettingInfoMessage popups 2025-11-23 13:56:34 +01:00
Henrik Rydgård 4283e66a12 Font style rework: Windows part 2025-11-09 08:52:21 +01:00
Henrik Rydgård 6d1973edfb Add banners on the top of settings pages, if editing game-specific settings show the icon. 2025-11-09 08:51:41 +01:00
Henrik Rydgård 14ddad5ce3 Change how defaults work in the inifile reader (more flexible this way) 2025-10-31 21:57:52 +01:00
Henrik Rydgård bcb97b1b1c Separate UNCHECKEDBOX from SQUARE. Move more images to SVG 2025-09-22 12:19:02 -06:00
Henrik Rydgård 63f9fb73be Split out the atlas code from Theme.cpp into UIAtlas.cpp 2025-09-18 10:54:48 -06:00
Henrik Rydgård e7f6a7560e UWP fix, logging fix, ios fix 2025-09-17 11:21:53 -06:00
Henrik Rydgård 5e6cd101db Made the image list static const 2025-09-17 10:48:07 -06:00
Henrik Rydgård 641fa40d82 Runtime atlas gen: Reorganize, remove global_id 2025-09-17 10:46:08 -06:00
Henrik Rydgård 52f2475353 Remove the LoadImage method (the two users have quite different needs) 2025-09-17 10:37:42 -06:00
Henrik Rydgård 0298536efa Separate images from data in bucketer 2025-09-17 10:28:08 -06:00
Henrik Rydgård 92f5db7445 Remove further references to the fixed ui_atlas. CMakeLists.txt improvements. 2025-09-17 09:56:17 -06:00
Henrik Rydgård 82cf6d7c17 AtlasGen: Remove Effect support 2025-09-17 09:49:54 -06:00
Henrik Rydgård 52c4c31508 Runtime atlas generation 2025-09-17 09:49:54 -06:00
Henrik Rydgård 2bab844852 Do the loading of the atlas texture and metadata together. 2025-09-15 14:32:23 -06:00
Henrik Rydgård daa593bdcb Invert the relationship for loading atlas textures 2025-09-15 12:42:11 -06:00
Henrik Rydgård e78341b822 Hide theme behind an accessor (so we can expose it only as const) 2025-09-15 09:31:18 -06:00
Henrik Rydgård e39c78dab2 Remove the ability of themes to control the UI atlas (temporary) 2025-09-13 19:58:07 -06:00
Nab 4878971dd4 Update fallback PopupStyleBg to match current Default 2025-05-13 19:37:42 +02:00
Nab fd9fe2657f Make slider colors themable 2025-05-01 14:02:38 +02:00
Henrik Rydgård 3760ede133 Sneak in a theme fix
See #19995
2025-02-17 16:20:55 -06:00
Henrik Rydgård 825d358072 Rename PopupHeaderStyle to PopupTitleStyle 2025-02-17 11:47:35 -06:00
Henrik Rydgård af05119869 Themes: Add CollapsibleHeaderStyle 2025-02-14 15:37:01 -06:00
Henrik Rydgård dd810c8252 Fix fallback to Default theme if a theme is gone. 2025-02-14 15:13:18 -06:00
Henrik Rydgård 9a42c4aa7a Themes: Add tooltip style 2025-02-14 15:09:17 -06:00
Henrik Rydgård dc52c62d1a Themes: Add configurable color for the scrollbar bob 2025-02-14 14:47:47 -06:00
Henrik Rydgård 513558b6cd Themes: Add HeaderStyleBg 2025-02-14 14:35:37 -06:00
Henrik Rydgård f719f1c7fd Themes: Reintroduce PopupHeaderStyleFg/Bg 2025-02-14 13:15:13 -06:00
Henrik Rydgård a8d6a31ad4 Themes: Restore PopupStyleFg 2025-02-14 13:02:55 -06:00
Henrik Rydgård 98780ba603 Theme: Avoid checking the ui_atlas multiple times 2024-11-28 15:02:25 +01:00
Henrik Rydgård ba9ee8c42c Store: Minor layout fixes, bigger title text 2024-09-02 17:38:12 +02:00
Henrik Rydgård 5939270d2c Log: Split out StdioListener from ConsoleListener, making the second Win32-only. 2024-07-21 13:55:40 +02:00
Henrik Rydgård e01ca5b057 Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård 591dfdd0c5 Fix bug with empty themes showing up 2024-01-31 12:20:46 +01:00
Henrik Rydgård d82ecf1d3e IniFile: Store sections in unique_ptrs, instead of directly.
This fixes an issue when you create two sections consecutively and
retain pointers to them, and then modify them, such as happens in the
postshader ini initialization. Previously, one of the section pointers
could get invalidated since the section vector got resized. Now, the
pointed-to sections don't move around in memory, only the list of them
does.
2023-08-13 13:41:43 +02:00
Henrik Rydgård 3861e97a94 Experiment with the collapsible header thingy. Slightly increase the font size of headers. 2023-07-31 11:48:50 +02:00
Henrik Rydgård 3d5526a175 Allow specifying the VFS when loading INI files.
Will be useful in the tex replacer.
2023-03-07 10:04:10 +01:00
Henrik Rydgård 3b39e9e068 Turn the VFS into a class, to be able to reuse it for other purposes. 2023-03-06 16:42:47 +01:00
Henrik Rydgård 9547deb0c6 Simplify away some theme parameters. Make popups look better 2023-01-10 16:00:17 +01:00
Henrik Rydgård e6380ecf77 Add new "Dark" theme 2023-01-10 15:37:36 +01:00
lainon b304551747 Code readability, vec reserve() and remove excess c_str() 2022-09-30 12:31:32 +03:00
iota97 319fb59ac0 Use hashtag for RGBA format 2022-07-08 06:43:26 +02:00
iota97 6c0cc94f27 Change theme endianess 2022-07-07 13:13:17 +02:00
iota97 43c54cf5d9 Fix themes as well 2022-05-26 07:07:59 +02:00
Henrik Rydgård fdcf9b731f Merge pull request #15498 from iota97/fix-lazy
Fix lazy loading of metadata
2022-04-30 23:50:33 +02:00
iota97 9787f6a317 Fix lazy loading of metadata 2022-04-24 14:13:47 +02:00
Henrik Rydgård 2178567ba0 UWP: Fix loading the default theme.
Hopefully takes care of #15496

See also #15464
2022-04-24 14:12:15 +02:00
iota97 53fe6940df Allow to change atlas per theme 2022-04-01 09:59:40 +02:00
iota97 1d37ec48a4 Allow to set default background color in a theme 2022-02-18 21:02:07 +01:00