Files
Flipdot-display/src/esp32/logic/builtin_pages.h
T

18 lines
709 B
C
Raw Normal View History

#pragma once
#include "logic/page.h"
// 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).
//
// 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);
// The built-in name as it is written, nullptr when it is no built-in page
const char *builtinPageName(const char *name);
// False when there is no built-in page with this name (compared without case)
bool builtinPage(const char *name, DynamicPage &page);