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

-1
View File
@@ -70,7 +70,6 @@ namespace anm2ed::edit
Uids frames_move(model::Model&, const std::set<Reference>&, Reference, int);
Uids frame_durations_set(model::Model&, const std::map<Reference, int>&);
Uids trigger_at_frame_set(model::Model&, Reference, int);
Uids triggers_sort(model::Model&, Reference);
Uids frames_paste(model::Model&, Reference, const std::set<Reference>&, const std::string&, int, std::string*);
Uids root_bake_into(model::Model&, const std::set<Reference>&, const std::set<Reference>&, RootBakeOptions);
-6
View File
@@ -216,12 +216,6 @@ namespace anm2ed::edit
return {};
}
Uids triggers_sort(Model& model, Reference reference)
{
if (auto track = model.track_edit(reference)) frames_sort_by_at_frame(*track);
return {};
}
// Pastes clipboard frames after the track's selected frames (or its current frame); triggers go at `time`, stepping
// past occupied frames. Frames lose regions that do not exist on the target layer.
Uids frames_paste(Model& model, Reference reference, const std::set<Reference>& selection, const std::string& text,