Stage 10a: delete dead code, merge tiny files, unify duplicated concepts

- Dead code: util/map, util/unordered_map, unused vector/math/string/input
  helpers, Document getters, special-interpolation bake leftovers,
  triggers_sort, SnapshotStack::max_size_get, AudioStream capture API.
- Merges: util/xml, util/string, resource/strings.cpp inlined; constants
  into input.hpp; tooltip into layout; Recorder into render; onionskin,
  tools, welcome and frame properties are panel functions; timeline
  popups.cpp folded into timeline.cpp.
- util/origin.hpp replaced by model Origin (the merge setting stays a
  combo index, so saved preferences keep their meaning).
- Item type names/icons/colors moved from model/common.hpp to the
  timeline header; the model no longer includes icon/strings headers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-03 18:35:22 -04:00
1 parent 4d16f21541
commit 4c569cb1e5
60 files changed
+605 -1021

No files matched your search

+4 -4
View File
@@ -51,10 +51,10 @@ namespace anm2ed::imgui
regions_update(panel, regions);
}
if (settings.windowIsEvents) panel_update(events, events_update);
if (settings.windowIsFrameProperties) frameProperties.update(manager, settings);
if (settings.windowIsFrameProperties) frame_properties_update(manager, settings, frameProperties);
if (settings.windowIsLayers) panel_update(layers, layers_update);
if (settings.windowIsNulls) panel_update(nulls, nulls_update);
if (settings.windowIsOnionskin) onionskin.update(manager, settings);
if (settings.windowIsOnionskin) onionskin_update(manager, settings);
if (settings.windowIsShaders)
{
auto panel = panel_make(shaders.state);
@@ -68,13 +68,13 @@ namespace anm2ed::imgui
spritesheets_update(panel, spritesheets);
}
if (settings.windowIsTimeline) timeline.update(manager, settings, resources, clipboard);
if (settings.windowIsTools) tools.update(manager, settings, resources);
if (settings.windowIsTools) tools_update(manager, settings, resources, toolsColorEditPopup);
isCanvasFocused = (settings.windowIsAnimationPreview && animationPreview.is_focused_get()) ||
(settings.windowIsSpritesheetEditor && spritesheetEditor.is_focused_get());
}
}
else
welcome.update(manager, resources, dialog, taskbar, documents);
welcome_update(manager, resources, dialog, taskbar, documents);
autosaveRestore.update(manager);
}