Stage 8c: timeline cleanup

- One TimelineRow type for rows, row selection and drag payloads (replaces
  TimelineItemRow + TimelineRowReference).
- Frame/track selection helpers live on Document (frames_select, frame_select,
  frame_toggle, frames_range_select, frame_focus_select, focus_clear,
  track_select) instead of TimelineContext *_for(Document&) wrappers.
- Drop target and frame-move drag carry References; selection anchors are
  optionals; single-use helpers and write-only fields are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-03 17:55:14 -04:00
1 parent 6f7a457f8f
commit dc32483c45
10 files changed
+245 -393

No files matched your search

+7
View File
@@ -157,6 +157,13 @@ namespace anm2ed
void focused_id_set(SelectionKind, int);
void selected_clear(SelectionKind);
Choices choices_get(SelectionKind, int = -1) const;
void frames_select(const edit::Uids&);
void frame_select(Reference);
void frame_toggle(Reference);
bool frames_range_select(Reference, Reference, bool);
void frame_focus_select();
void focus_clear();
void track_select(Reference);
std::set<int> animations_selected_get() const;
void animations_selected_set(const std::set<int>&);
std::set<Reference> item_frame_references_get(Reference) const;