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 Add vertical scrolling to bézier track editor. 2023-10-22 13:51:12 +01:00
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
animation_track_editor_plugins.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
animation_track_editor_plugins.h
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 Search terms are now highlighted when the bar opens with a selection. 2023-10-30 10:21:25 -07:00
connections_dialog.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
connections_dialog.h Show doc tooltips when hovering properties in the theme editor 2023-10-04 11:53:08 -03:00
create_dialog.cpp Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
create_dialog.h Fix accessing editor theme items throughout the UI 2023-09-15 14:51:01 +02:00
dependency_editor.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
dependency_editor.h Use mingw-std-threads in MinGW builds 2023-11-18 11:56:05 +01:00
directory_create_dialog.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
directory_create_dialog.h Standardize dialog input validation as a new class 2023-08-08 16:14:35 +02:00
doc_tools.cpp Add const references detected by clang-tidy 2023-12-16 13:36:44 -05:00
doc_tools.h Polish & fix editor help cache generation 2023-11-02 13:46:37 +01:00
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 Allow to specify target folder when installing assets 2023-09-19 20:10:26 +02:00
editor_atlas_packer.cpp Bounds fixes in TextureAtlas import 2023-06-22 19:20:56 +02:00
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 Add a bus_renamed AudioServer signal 2023-09-15 13:02:03 +03:00
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 Avoid unnecessary inspector updates when loading or switching scenes 2023-08-12 13:32:59 +02:00
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 Allow changing feature profile via EditorInterface 2023-07-24 18:46:36 +02:00
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.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_help_search.cpp Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
editor_help_search.h Limit custom icons size in various editor widgets 2023-10-26 17:56:09 +02:00
editor_inspector.cpp Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
editor_inspector.h Editor: Fix some issues with EditorHelpTooltip 2023-10-10 20:02:47 +03:00
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] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-09-15 20:15:39 +02:00
editor_paths.h
editor_plugin.cpp Extract editor dock manager 2024-01-15 15:15:42 -05:00
editor_plugin.h Allow contextual plugins to persist temporarily 2023-10-06 15:58:50 +02:00
editor_plugin_settings.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_plugin_settings.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_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 Replace radians range hint with radians_as_degrees 2023-09-25 08:50:19 +02:00
editor_properties_vector.h Replace radians range hint with radians_as_degrees 2023-09-25 08:50:19 +02: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 Fix theme application in various editor dialogs 2023-12-04 13:18:48 +01:00
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.cpp Debug CanvasItem redraw 2023-08-28 12:53:56 +02:00
editor_run.h Merge pull request #75444 from lpriebe/editor-run-arg-split-fix 2023-06-21 10:18:37 +02:00
editor_run_native.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_run_native.h
editor_script.cpp Replace GDVIRTUAL_CALL with GDVIRTUAL_REQUIRED_CALL where applicable 2023-12-14 13:22:40 -06:00
editor_script.h Extract ScriptInstance to simplify includes 2023-09-06 22:54:38 +02:00
editor_sectioned_inspector.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_sectioned_inspector.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 Fix API hash related crash in EditorSettings 2023-07-31 16:35:41 +02:00
editor_settings_dialog.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_settings_dialog.h
editor_string_names.cpp Add EditorStringNames singleton 2023-09-03 19:58:18 +02:00
editor_string_names.h Add EditorStringNames singleton 2023-09-03 19:58:18 +02:00
editor_translation.cpp
editor_translation.h
editor_translation_parser.cpp
editor_translation_parser.h Extract ScriptInstance to simplify includes 2023-09-06 22:54:38 +02:00
editor_undo_redo_manager.cpp Fix for stopping the Undo History being desynchronised from actual Undo queue. 2023-11-10 13:04:12 +00:00
editor_undo_redo_manager.h add backward_undo_ops as property for action 2023-06-13 15:32:05 +02:00
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 Extract ScriptInstance to simplify includes 2023-09-06 22:54:38 +02:00
event_listener_line_edit.cpp Make the search bars in the "Project Settings" dialog grab focus when they appear 2023-09-25 01:09:29 -03:00
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 Implement automatic translation for ItemList 2023-10-23 10:14:08 +02:00
history_dock.h
import_defaults_editor.cpp Fix press save in Import Defaults did not save the changed setting 2023-11-01 15:45:51 +08:00
import_defaults_editor.h Deprecate project_settings_changed signal 2023-08-10 15:07:25 +02:00
import_dock.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
import_dock.h Merge pull request #75137 from nongvantinh/implement-6320 2023-08-07 14:43:44 +02:00
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 Improve Control hiding in PluginConfigDialog 2023-11-28 14:59:34 +01:00
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 Fix conversion of hex color strings in project converter 2023-09-29 15:04:35 +02:00
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 Standardize dialog input validation as a new class 2023-08-08 16:14:35 +02:00
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 Fix ScriptCreateDialog not accepting on submit 2023-09-25 22:25:19 +02:00
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 Fix theme application in various editor dialogs 2023-12-04 13:18:48 +01:00
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 Rework the surface upgrade tool to inform users without blocking 2023-11-22 19:03:14 +01:00
template_builders.py
window_wrapper.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
window_wrapper.h