godot/editor
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
..
debugger Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
export Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
gui Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
icons Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
import Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
plugins Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
themes Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
translations i18n: Sync translations with Weblate 2023-12-11 22:10:21 +01:00
action_map_editor.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
action_map_editor.h
animation_bezier_editor.cpp Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
animation_bezier_editor.h
animation_track_editor_plugins.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
animation_track_editor_plugins.h
animation_track_editor.cpp Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
animation_track_editor.h Merge pull request #85142 from CookieBadger/animation-player-improvements 2024-01-08 11:50:38 +01:00
audio_stream_preview.cpp Update deferred calls to use Callables 2024-01-09 16:11:47 +01:00
audio_stream_preview.h
code_editor.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
code_editor.h
connections_dialog.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
connections_dialog.h
create_dialog.cpp Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
create_dialog.h
dependency_editor.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
dependency_editor.h
directory_create_dialog.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
directory_create_dialog.h
doc_tools.cpp Add const references detected by clang-tidy 2023-12-16 13:36:44 -05:00
doc_tools.h
editor_about.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_about.h Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_asset_installer.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_asset_installer.h
editor_atlas_packer.cpp
editor_atlas_packer.h
editor_audio_buses.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_audio_buses.h
editor_autoload_settings.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_autoload_settings.h
editor_build_profile.cpp Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
editor_build_profile.h
editor_builders.py Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_command_palette.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_command_palette.h Merge pull request #86727 from KoBeWi/shortcut_revolution 2024-01-09 15:31:00 +01:00
editor_data.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_data.h
editor_dock_manager.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_dock_manager.h Extract editor dock manager 2024-01-15 15:15:42 -05:00
editor_feature_profile.cpp Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
editor_feature_profile.h
editor_file_system.cpp Update deferred calls to use Callables 2024-01-09 16:11:47 +01:00
editor_file_system.h Implement project-wide node groups 2023-12-19 18:07:19 +01:00
editor_folding.cpp
editor_folding.h
editor_help_search.cpp Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
editor_help_search.h
editor_help.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_help.h Improve engine startup/shutdown benchmarks 2023-12-08 12:53:04 +01:00
editor_inspector.cpp Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
editor_inspector.h
editor_interface.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_interface.h Add autocompletion for a few EditorInterface methods 2024-01-06 19:19:31 +01:00
editor_layouts_dialog.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_layouts_dialog.h
editor_locale_dialog.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_locale_dialog.h
editor_log.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_log.h Handle clickable [url] tags in print_rich() editor output log 2024-01-15 14:54:13 +01:00
editor_native_shader_source_visualizer.cpp
editor_native_shader_source_visualizer.h
editor_node.cpp Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
editor_node.h Extract editor dock manager 2024-01-15 15:15:42 -05:00
editor_paths.cpp
editor_paths.h
editor_plugin_settings.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_plugin_settings.h
editor_plugin.cpp Extract editor dock manager 2024-01-15 15:15:42 -05:00
editor_plugin.h
editor_properties_array_dict.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_properties_array_dict.h Rework update_property for array. 2023-12-21 10:00:04 +01:00
editor_properties_vector.cpp
editor_properties_vector.h
editor_properties.cpp Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
editor_properties.h Use set_value_no_signal in editor property code 2023-12-18 11:47:03 -06:00
editor_property_name_processor.cpp Capitalize OIDN in editor settings and properties 2024-01-12 13:45:20 +01:00
editor_property_name_processor.h
editor_quick_open.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_quick_open.h
editor_resource_picker.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_resource_picker.h Add const lvalue ref to container parameters 2024-01-05 14:49:57 -03:00
editor_resource_preview.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_resource_preview.h Run resource previewer on the main thread if using GL compatibility 2024-01-16 10:01:41 +01:00
editor_run_native.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_run_native.h
editor_run.cpp
editor_run.h
editor_script.cpp Replace GDVIRTUAL_CALL with GDVIRTUAL_REQUIRED_CALL where applicable 2023-12-14 13:22:40 -06:00
editor_script.h
editor_sectioned_inspector.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_sectioned_inspector.h
editor_settings_dialog.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_settings_dialog.h
editor_settings.cpp Merge pull request #85923 from Calinou/editor-filesystem-dock-add-open-in-terminal 2023-12-22 17:19:53 +01:00
editor_settings.h
editor_string_names.cpp
editor_string_names.h
editor_translation_parser.cpp
editor_translation_parser.h
editor_translation.cpp
editor_translation.h
editor_undo_redo_manager.cpp
editor_undo_redo_manager.h
editor_vcs_interface.cpp Replace GDVIRTUAL_CALL with GDVIRTUAL_REQUIRED_CALL where applicable 2023-12-14 13:22:40 -06:00
editor_vcs_interface.h
event_listener_line_edit.cpp
event_listener_line_edit.h
fbx_importer_manager.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
fbx_importer_manager.h
filesystem_dock.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
filesystem_dock.h Extract editor dock manager 2024-01-15 15:15:42 -05:00
find_in_files.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
find_in_files.h Stop the searching of find in files in folders that have .gdignore 2023-12-08 19:26:06 -03:00
group_settings_editor.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
group_settings_editor.h Implement project-wide node groups 2023-12-19 18:07:19 +01:00
groups_editor.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
groups_editor.h Use ObjectID to track cached scene groups. 2024-01-09 11:14:38 +01:00
history_dock.cpp
history_dock.h
import_defaults_editor.cpp
import_defaults_editor.h
import_dock.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
import_dock.h
input_event_configuration_dialog.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
input_event_configuration_dialog.h Add input action name to window title in input map editor 2023-12-18 01:42:59 +01:00
inspector_dock.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
inspector_dock.h
localization_editor.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
localization_editor.h
multi_node_edit.cpp
multi_node_edit.h
node_dock.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
node_dock.h Hide Node dock successfully on undo/redo and deletion 2023-12-12 10:26:05 +01:00
plugin_config_dialog.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
plugin_config_dialog.h
pot_generator.cpp Merge pull request #84445 from Rubonnek/add-const-references-clang-tidy 2024-01-04 14:25:33 +01:00
pot_generator.h
progress_dialog.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
progress_dialog.h Update deferred calls to use Callables 2024-01-09 16:11:47 +01:00
project_converter_3_to_4.cpp Add deprecation notice to a duplicate method of class Window 2024-01-12 18:18:28 +01:00
project_converter_3_to_4.h
project_manager.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
project_manager.h Fix incorrect check on importing project 2024-01-07 00:52:16 +01:00
project_settings_editor.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
project_settings_editor.h Merge pull request #82283 from YeldhamDev/focus_that_search_bar! 2024-01-04 16:38:52 +01:00
property_selector.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
property_selector.h
register_editor_types.cpp Move 3D scene import classes to their own folder 2024-01-04 11:02:49 -06:00
register_editor_types.h
register_exporters.h
rename_dialog.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
rename_dialog.h
renames_map_3_to_4.cpp Fix invalid 3-to-4 renames of add_animation to add_animation_library 2024-01-11 18:35:29 +01:00
renames_map_3_to_4.h
reparent_dialog.cpp
reparent_dialog.h
scene_create_dialog.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
scene_create_dialog.h
scene_tree_dock.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
scene_tree_dock.h Fix behavior of 'Editable Children' toggle. 2024-01-09 13:34:38 +01:00
script_create_dialog.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
script_create_dialog.h
SCsub Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
shader_create_dialog.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
shader_create_dialog.h
shader_globals_editor.cpp Improve "Add" button consistency in Project Settings 2024-01-11 17:13:23 -03:00
shader_globals_editor.h Improve "Add" button consistency in Project Settings 2024-01-11 17:13:23 -03:00
surface_upgrade_tool.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
surface_upgrade_tool.h
template_builders.py
window_wrapper.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
window_wrapper.h