Commit Graph

20 Commits

Author SHA1 Message Date
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
iota97
561870dc25 Merge item and button style, remove hightlighed and few other fixes 2022-02-14 13:57:22 +01:00
iota97
7860aea62f Fix disabled bg 2022-02-14 11:30:37 +01:00
iota97
e5843160fe Add themes to assets 2022-02-14 07:37:56 +01:00
iota97
65b7b65bcd Adress feedback 2022-02-12 18:30:55 +01:00
iota97
5e1062678f Allow custom UI themes 2022-02-11 12:42:38 +01:00