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

+3 -2
View File
@@ -1,4 +1,4 @@
#include "frame_properties.hpp"
#include "panel.hpp"
#include <limits>
#include <ranges>
@@ -45,8 +45,9 @@ namespace anm2ed::imgui
constexpr FlipButton FLIP_BUTTONS[] = {{LABEL_FLIP_X, EDIT_FRAME_FLIP_X, TOOLTIP_FLIP_X},
{LABEL_FLIP_Y, EDIT_FRAME_FLIP_Y, TOOLTIP_FLIP_Y}};
void FrameProperties::update(Manager& manager, Settings& settings)
void frame_properties_update(Manager& manager, Settings& settings, FramePropertiesPanel& panel)
{
auto& [changeAllFrameProperties, isBatchMode] = panel;
auto& document = *manager.get();
auto frameSelectionCount = document.frame_references_get(Document::FrameReferenceFallback::NONE).size();
if (frameSelectionCount == 0 && document.reference_get().frameIndex >= 0) frameSelectionCount = 1;