godot/editor/export
Yuri Sizov 635b8a1474 Split theme generation logic into several subroutines
This change introduces a new theme configuration struct to be
passed to the aforementioned routines to better control reuse
of styles and definitions in the generator.

Everything not passed and not explicitly shared is scoped so it
is not automatically accessible throughout the routine. This
should ensure that the decision to share styles is a conscious one.

In the future we will try to reduce the number of unique definitions
and share most of it. This PR is a stepping stone on this path.

This also puts the effort into separating redefinitions of
default theme items vs custom types introduced only by the editor.
In a few cases where editor-specific definitions need to reference
default definitions we simply fetch them from the theme. It's not
ideal and hides the dependency a bit, but hopefully these cases
will be abstracted properly in due time.
2024-01-16 11:57:45 +01:00
..
editor_export.cpp
editor_export.h
editor_export_platform.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_export_platform.h
editor_export_platform_pc.cpp
editor_export_platform_pc.h
editor_export_plugin.cpp
editor_export_plugin.h
editor_export_preset.cpp
editor_export_preset.h
editor_export_shared_object.h
export_template_manager.cpp Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
export_template_manager.h
project_export.cpp Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
project_export.h
SCsub