godot/scene
Yuri Sizov 512182f147 Add theme contexts to various parts of the editor
This change defines additional theme contexts for editor
branches to prevent theme leaking between the default
theme, the project theme, and the editor theme.

- Both editor window and EditorNode define an editor-specific
context with the editor theme and the default theme.
- The 2D viewport defines a project-specific context with
the project theme and the default theme.
- Theme editor preview tabs define the default-only context
with the default theme.

Additionally, the default theme context now only includes
the project theme for running projects (both export and debug).
This prevents the project theme from leaking into the editor.

This commit also does a little clean up on the theming aspects
of the EditorNode.
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 Add theme contexts to various parts of the editor 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