0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00
Commit Graph

9 Commits

Author SHA1 Message Date
derrod
418c9b87cf UI: Fixup ResolveVariable to be less jank 2024-08-17 16:05:26 -07:00
derrod
e12ef51068 UI: Return std::optional from ParseThemeMeta 2024-07-29 19:52:42 -04:00
derrod
718bd0b265 UI: Use unique_ptr for theme objects 2024-06-12 18:41:11 -04:00
derrod
4a46d2d722 UI: Fix themeDir buffer being resized incorrectly
c677bac875 changed the order here, but
this also resulted in the string having whatever size was necessary for
the install data path, rather than being large enough to fit a userdata
path. To fix this, move the resize operaetion *after* the buit-in
themes are searched, and also bump it to 1024 just to be sure.

This resulted in a crash due to a bug in os_get_path_internal() which
will need to be fixed separately.
2024-06-12 17:57:02 -04:00
derrod
21adf0930f UI: Prevent recursion in theme dependencies 2024-06-11 18:25:40 -04:00
tytan652
c677bac875 UI: Avoid allowing to override provided themes 2024-06-10 17:01:21 -04:00
tytan652
34d577d748 UI: Enforce completely Fusion Qt style on Linux
As of 8dcfae9a39, indicating the base
style to the proxy is completely functional.

It also bypasses QT_STYLE_OVERRIDE and -style, but since the system
theme is no longer available on Linux this is a non-issue.
2024-05-25 16:58:26 -07:00
Warchamp7
af685be40d UI: Add OS specific theme variables via prefix 2024-05-10 18:39:18 -04:00
derrod
503968671d UI: Add composable themes feature
Co-authored-by: Warchamp7 <warchamp2003@hotmail.com>
2024-04-21 00:01:16 -04:00