godot/scene
Yuri Sizov 58126e479c Introduce the concept of global theme contexts
This commit adds the default theme context, which replaces
the need to manually check the project and the default theme
all the time; simplifies related code.

It also adds framework for custom theme contexts, to be used
by the editor. Custom contexts can be attached to any node,
and not necessarily a GUI/Window node. Contexts do no break
theme inheritance and only define which global themes a node
uses as a fallback.

Contexts propagate NOTIFICATION_THEME_CHANGED when one of their
global themes changes. This ensures that global themes act just
like themes assigned to individual nodes and can be previewed
live in the editor.
2023-09-06 19:40:43 +02:00
..
2d Merge pull request #80105 from Sauermann/fix-global-transform 2023-08-28 12:03:53 +02:00
3d Introduce the concept of global theme contexts 2023-09-06 19:40:43 +02:00
animation Prevent errors if Tween callback's object is freed 2023-08-29 14:50:53 +02:00
audio Use StringName consistently to refer to the Master audio bus name 2023-08-07 18:06:17 +02:00
debugger Fix arg count checks in SceneDebugger 2023-07-19 18:13:15 +02:00
gui Introduce the concept of global theme contexts 2023-09-06 19:40:43 +02:00
main Introduce the concept of global theme contexts 2023-09-06 19:40:43 +02:00
resources Introduce the concept of global theme contexts 2023-09-06 19:40:43 +02:00
theme Introduce the concept of global theme contexts 2023-09-06 19:40:43 +02:00
property_utils.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
property_utils.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
register_scene_types.cpp Move default theme files to scene/theme 2023-08-28 00:23:38 +02:00
register_scene_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
scene_string_names.cpp Use StringName consistently to refer to the Master audio bus name 2023-08-07 18:06:17 +02:00
scene_string_names.h Use StringName consistently to refer to the Master audio bus name 2023-08-07 18:06:17 +02:00
SCsub Add ThemeDB, expose previously static Theme methods 2022-08-26 19:23:05 +03:00