mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
635b8a1474
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. |
||
---|---|---|
.. | ||
editor_dir_dialog.cpp | ||
editor_dir_dialog.h | ||
editor_file_dialog.cpp | ||
editor_file_dialog.h | ||
editor_object_selector.cpp | ||
editor_object_selector.h | ||
editor_run_bar.cpp | ||
editor_run_bar.h | ||
editor_scene_tabs.cpp | ||
editor_scene_tabs.h | ||
editor_spin_slider.cpp | ||
editor_spin_slider.h | ||
editor_title_bar.cpp | ||
editor_title_bar.h | ||
editor_toaster.cpp | ||
editor_toaster.h | ||
editor_validation_panel.cpp | ||
editor_validation_panel.h | ||
editor_zoom_widget.cpp | ||
editor_zoom_widget.h | ||
scene_tree_editor.cpp | ||
scene_tree_editor.h | ||
SCsub |