Add schedule sync and schedule-aware playback

This commit is contained in:
NeilClack
2026-09-11 19:14:55 -05:00
parent a043ec84d8
commit f37beaf07e
23 changed files with 893 additions and 32 deletions
+3 -3
View File
@@ -28,14 +28,14 @@ public:
private:
struct FlatItem {
enum class Type { Category, Group, Proclamation };
enum class Type { ScheduleToggle, Category, Group, Proclamation };
Type type = Type::Proclamation;
std::string id; // category id, group id, or proclamation id
std::string id; // category id, group id, proclamation id, or "schedule"
std::string label; // display text
int depth = 0; // 0 = category / default, 1 = group, 2 = proclamation
bool expanded = false; // categories and groups only
bool selected = false; // proclamations only
bool selected = false; // proclamations and the schedule toggle
bool isDefault = false; // the always-on top-level proclamation
};