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. |
||
---|---|---|
.. | ||
atlas_merging_dialog.cpp | ||
atlas_merging_dialog.h | ||
SCsub | ||
tile_atlas_view.cpp | ||
tile_atlas_view.h | ||
tile_data_editors.cpp | ||
tile_data_editors.h | ||
tile_map_editor.cpp | ||
tile_map_editor.h | ||
tile_proxies_manager_dialog.cpp | ||
tile_proxies_manager_dialog.h | ||
tile_set_atlas_source_editor.cpp | ||
tile_set_atlas_source_editor.h | ||
tile_set_editor.cpp | ||
tile_set_editor.h | ||
tile_set_scenes_collection_source_editor.cpp | ||
tile_set_scenes_collection_source_editor.h | ||
tiles_editor_plugin.cpp | ||
tiles_editor_plugin.h |