TimelineViewPresets.h header

#include <ew/app/TimelineViewPresets.h>

Namespace ew::app

Functions

std::vector< ew::core::TimelineViewPreset > ew::app::builtInTimelineViewPresets()

The timeline view presets offered out of the box (TL-83): "Story" (the comfortable narrative read), "Research" (colour and group by character, dates shown), "Session prep" (a dense, location-coloured GM scan), and "Presentation" (a clean, chrome-free audience view with dates). Each is a full ew::core::TimelineViewSettings bundle with an empty lane arrangement – a built-in cannot know a given project's lane labels, so applying one leaves lanes in their natural order. Pure and deterministic, so it is unit-testable.

std::vector< ew::core::TimelineViewPreset > ew::app::effectiveTimelineViewPresets(const std::vector< ew::core::TimelineViewPreset > &userPresets)

The effective preset list a project offers: the built-ins (builtInTimelineViewPresets, in their canonical order) followed by the user's own saved presets, with one merge rule – a user preset whose name matches a built-in replaces that built-in in place (so the user can customize "Story" without losing its slot), while a user preset with a new name is appended. This mirrors the precedence of the AI command library (a user's saved command overrides a built-in of the same name). Pure: it reads only its arguments.