2026-10-15 19:43:59 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "logic/page.h"
|
|
|
|
|
|
2026-10-16 22:13:23 +02:00
|
|
|
// The original dynamic pages. display/page_store stores a copy of each at boot that can be
|
|
|
|
|
// edited; the original is the fallback (deleting the copy resets the page).
|
2026-10-15 19:43:59 +02:00
|
|
|
//
|
|
|
|
|
// Clock Pikachu with the time in a thought bubble, yawning from 17:00 (the clock of
|
|
|
|
|
// the old firmware; also the default page)
|
|
|
|
|
|
|
|
|
|
#define BUILTIN_PAGE_CLOCK "Clock"
|
|
|
|
|
|
|
|
|
|
int builtinPageCount();
|
|
|
|
|
const char *builtinPageName(int index);
|
2026-10-16 22:13:23 +02:00
|
|
|
// The built-in name as it is written, nullptr when it is no built-in page
|
|
|
|
|
const char *builtinPageName(const char *name);
|
2026-10-15 19:43:59 +02:00
|
|
|
// False when there is no built-in page with this name (compared without case)
|
|
|
|
|
bool builtinPage(const char *name, DynamicPage &page);
|