godot/editor/plugins
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
..
gizmos Update deferred calls to use Callables 2024-01-09 16:11:47 +01:00
tiles Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
abstract_polygon_2d_editor.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
abstract_polygon_2d_editor.h
animation_blend_space_1d_editor.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
animation_blend_space_1d_editor.h Make GraphEdit toolbar more customizable 2023-10-02 13:43:08 +02:00
animation_blend_space_2d_editor.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
animation_blend_space_2d_editor.h Make GraphEdit toolbar more customizable 2023-10-02 13:43:08 +02:00
animation_blend_tree_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
animation_blend_tree_editor_plugin.h Merge pull request #76654 from TokageItLab/improve-filter-util-anim-tree 2024-01-04 16:38:32 +01:00
animation_library_editor.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
animation_library_editor.h Add icon, tooltip, rename button in AnimationLibraryEditor for clarity. 2024-01-11 05:50:29 +01:00
animation_player_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
animation_player_editor_plugin.h Fix seeking bug in AnimationPlayerEditor 2023-11-22 06:43:26 +09:00
animation_state_machine_editor.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
animation_state_machine_editor.h
animation_tree_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
animation_tree_editor_plugin.h Make GraphEdit toolbar more customizable 2023-10-02 13:43:08 +02:00
asset_library_editor_plugin.cpp Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
asset_library_editor_plugin.h
audio_stream_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
audio_stream_editor_plugin.h
audio_stream_randomizer_editor_plugin.cpp
audio_stream_randomizer_editor_plugin.h
bit_map_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
bit_map_editor_plugin.h
bone_map_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
bone_map_editor_plugin.h Add const lvalue ref to container parameters 2024-01-05 14:49:57 -03:00
camera_3d_editor_plugin.cpp
camera_3d_editor_plugin.h
canvas_item_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
canvas_item_editor_plugin.h Add const lvalue ref to container parameters 2024-01-05 14:49:57 -03:00
cast_2d_editor_plugin.cpp
cast_2d_editor_plugin.h
collision_polygon_2d_editor_plugin.cpp
collision_polygon_2d_editor_plugin.h
collision_shape_2d_editor_plugin.cpp
collision_shape_2d_editor_plugin.h
control_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
control_editor_plugin.h
cpu_particles_2d_editor_plugin.cpp
cpu_particles_2d_editor_plugin.h
cpu_particles_3d_editor_plugin.cpp
cpu_particles_3d_editor_plugin.h
curve_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
curve_editor_plugin.h
debugger_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
debugger_editor_plugin.h
dedicated_server_export_plugin.cpp
dedicated_server_export_plugin.h
editor_debugger_plugin.cpp
editor_debugger_plugin.h
editor_preview_plugins.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_preview_plugins.h Abort threaded preview generators on exit 2023-11-10 15:31:43 +01:00
editor_resource_conversion_plugin.cpp
editor_resource_conversion_plugin.h
editor_resource_tooltip_plugins.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
editor_resource_tooltip_plugins.h
font_config_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
font_config_plugin.h
gdextension_export_plugin.h [iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks. 2023-11-09 20:04:40 +02:00
gpu_particles_2d_editor_plugin.cpp
gpu_particles_2d_editor_plugin.h
gpu_particles_3d_editor_plugin.cpp Only allow MeshInstance3D-based nodes in particles emission shape node selector 2023-11-19 11:22:51 +01:00
gpu_particles_3d_editor_plugin.h
gpu_particles_collision_sdf_editor_plugin.cpp
gpu_particles_collision_sdf_editor_plugin.h
gradient_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
gradient_editor_plugin.h
gradient_texture_2d_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
gradient_texture_2d_editor_plugin.h
input_event_editor_plugin.cpp
input_event_editor_plugin.h
light_occluder_2d_editor_plugin.cpp
light_occluder_2d_editor_plugin.h
lightmap_gi_editor_plugin.cpp Merge pull request #86583 from reduz/lightmapper-dda-fix 2024-01-11 17:37:45 +01:00
lightmap_gi_editor_plugin.h
line_2d_editor_plugin.cpp
line_2d_editor_plugin.h
material_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
material_editor_plugin.h
mesh_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
mesh_editor_plugin.h
mesh_instance_3d_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
mesh_instance_3d_editor_plugin.h
mesh_library_editor_plugin.cpp
mesh_library_editor_plugin.h
multimesh_editor_plugin.cpp Only allow MeshInstance3D-inherited nodes in MultiMesh Populate Surface dialog 2023-11-15 12:24:11 +01:00
multimesh_editor_plugin.h
navigation_link_2d_editor_plugin.cpp
navigation_link_2d_editor_plugin.h
navigation_obstacle_2d_editor_plugin.cpp
navigation_obstacle_2d_editor_plugin.h
navigation_obstacle_3d_editor_plugin.cpp Fix NavigationObstacle3DEditor parenting error 2023-10-27 15:43:28 +02:00
navigation_obstacle_3d_editor_plugin.h
navigation_polygon_editor_plugin.cpp
navigation_polygon_editor_plugin.h
node_3d_editor_gizmos.cpp [Editor] Add missing virtual bind to EditorNode3DGizmo(Plugin) 2024-01-06 17:27:50 +01:00
node_3d_editor_gizmos.h
node_3d_editor_plugin.cpp Update deferred calls to use Callables 2024-01-09 16:11:47 +01:00
node_3d_editor_plugin.h Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
occluder_instance_3d_editor_plugin.cpp
occluder_instance_3d_editor_plugin.h
packed_scene_editor_plugin.cpp
packed_scene_editor_plugin.h
packed_scene_translation_parser_plugin.cpp Parse the names of children of TabContainers on POT generation 2024-01-06 10:52:44 -03:00
packed_scene_translation_parser_plugin.h
particle_process_material_editor_plugin.cpp Improve editing of min/max particle properties 2023-12-20 06:31:08 +01:00
particle_process_material_editor_plugin.h Improve editing of min/max particle properties 2023-12-20 06:31:08 +01:00
path_2d_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
path_2d_editor_plugin.h Improve Path2D editing 2024-01-05 22:34:31 +01:00
path_3d_editor_plugin.cpp Merge pull request #83741 from BlueCube3310/path-3d-plugin-optimize 2023-12-08 16:58:08 +01:00
path_3d_editor_plugin.h Improve Path3D gizmo usability 2023-10-03 09:43:24 +08:00
physical_bone_3d_editor_plugin.cpp
physical_bone_3d_editor_plugin.h
polygon_2d_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
polygon_2d_editor_plugin.h Improve UV editor zoom behavior 2024-01-10 13:27:20 +02:00
polygon_3d_editor_plugin.cpp
polygon_3d_editor_plugin.h
resource_preloader_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
resource_preloader_editor_plugin.h
root_motion_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
root_motion_editor_plugin.h
script_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
script_editor_plugin.h Use mingw-std-threads in MinGW builds 2023-11-18 11:56:05 +01:00
script_text_editor.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
script_text_editor.h
SCsub
shader_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
shader_editor_plugin.h Handle built-in shaders when closing scene 2024-01-02 16:00:11 +01:00
shader_file_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
shader_file_editor_plugin.h
skeleton_2d_editor_plugin.cpp
skeleton_2d_editor_plugin.h
skeleton_3d_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
skeleton_3d_editor_plugin.h Update deferred calls to use Callables 2024-01-09 16:11:47 +01:00
skeleton_ik_3d_editor_plugin.cpp
skeleton_ik_3d_editor_plugin.h
sprite_2d_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
sprite_2d_editor_plugin.h Add zoom controls to Sprite2DPlugin 2023-11-07 20:30:33 +02:00
sprite_frames_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
sprite_frames_editor_plugin.h Defer updating the animations Tree in SpriteFramesEditor to avoid crashes 2023-10-18 06:46:03 +08:00
style_box_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
style_box_editor_plugin.h
sub_viewport_preview_editor_plugin.cpp
sub_viewport_preview_editor_plugin.h
text_editor.cpp Update deferred calls to use Callables 2024-01-09 16:11:47 +01:00
text_editor.h
text_shader_editor.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
text_shader_editor.h
texture_3d_editor_plugin.cpp Add bulk change guards to successive theme overrides in Editor and GUI 2023-10-19 18:14:14 +02:00
texture_3d_editor_plugin.h Add bulk change guards to successive theme overrides in Editor and GUI 2023-10-19 18:14:14 +02:00
texture_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
texture_editor_plugin.h
texture_layered_editor_plugin.cpp Add bulk change guards to successive theme overrides in Editor and GUI 2023-10-19 18:14:14 +02:00
texture_layered_editor_plugin.h Add bulk change guards to successive theme overrides in Editor and GUI 2023-10-19 18:14:14 +02:00
texture_region_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
texture_region_editor_plugin.h
theme_editor_plugin.cpp Split theme generation logic into several subroutines 2024-01-16 11:57:45 +01:00
theme_editor_plugin.h Add const lvalue ref to container parameters 2024-01-05 14:49:57 -03:00
theme_editor_preview.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
theme_editor_preview.h
version_control_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
version_control_editor_plugin.h
visual_shader_editor_plugin.cpp Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
visual_shader_editor_plugin.h Remove unnecessary assignments 2023-12-13 11:06:26 -05:00
voxel_gi_editor_plugin.cpp
voxel_gi_editor_plugin.h