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

+5 -2
View File
@@ -8,9 +8,10 @@
#include <fstream>
#include <sstream>
#include <tinyxml2/tinyxml2.h>
#include "edit/edit.hpp"
#include "model/xml.hpp"
#include "util/xml.hpp"
namespace anm2ed::test
{
@@ -86,7 +87,9 @@ namespace anm2ed::test
document.Parse(text.c_str());
if (auto source = document.RootElement()->FirstChildElement("SourceDocument"))
document.RootElement()->DeleteChild(source);
return util::xml::document_to_string(document);
tinyxml2::XMLPrinter printer{};
document.Print(&printer);
return printer.CStr();
}
// Save/reload properties every document must hold.