godot/scene/theme
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
..
icons Move default theme files to scene/theme 2023-08-28 00:23:38 +02:00
default_theme_builders.py Move default theme files to scene/theme 2023-08-28 00:23:38 +02:00
default_theme.cpp Move default theme files to scene/theme 2023-08-28 00:23:38 +02:00
default_theme.h Move default theme files to scene/theme 2023-08-28 00:23:38 +02:00
SCsub Move default theme files to scene/theme 2023-08-28 00:23:38 +02:00
theme_db.cpp Add theme contexts to various parts of the editor 2023-09-06 19:40:43 +02:00
theme_db.h Add theme contexts to various parts of the editor 2023-09-06 19:40:43 +02:00
theme_owner.cpp Introduce the concept of global theme contexts 2023-09-06 19:40:43 +02:00
theme_owner.h Introduce the concept of global theme contexts 2023-09-06 19:40:43 +02:00