virtualx-engine/scene/theme
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
..
icons 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
default_theme_builders.py 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 Introduce the concept of global theme contexts 2023-09-06 19:40:43 +02:00
theme_db.h Introduce the concept of global theme contexts 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