TimelineBookmark.h header
#include <ew/core/TimelineBookmark.h>
Namespace ew::core
TimelineBookmark struct
struct ew::core::TimelineBookmark
A named span on the timeline a writer returns to (TL-41): "Act Two", "the war". Unlike a marker (a single instant, TL-19), a bookmark is a RANGE [startMinute, endMinute] – jumping to it frames that whole stretch, so the reader lands looking at the same view they saved. Both endpoints are in minutes since the story epoch (either may be negative for a pre-epoch span). A project-level value type kept in a registry on the project, exactly like timeline markers and eras, and replaced as a whole by one undoable command.
Members
QString ew::core::TimelineBookmark::name
The bookmark's name, shown in the picker and the manage list (e.g. "Act Two").
qint64 ew::core::TimelineBookmark::startMinute = 0
The start of the saved span, in minutes since the story epoch.
qint64 ew::core::TimelineBookmark::endMinute = 0
The end of the saved span, in minutes since the story epoch. Not required to be greater than startMinute – a view that frames a reversed span still frames the same stretch.
bool operator==(const TimelineBookmark &, const TimelineBookmark &)=default
Value equality over all fields, so a no-op edit (a dialog OK'd with no change) can be detected and skipped rather than clearing the redo stack.