Ersa Wearable Platform
Embedded smartwatch firmware and application framework
Loading...
Searching...
No Matches
app_drawer.h
Go to the documentation of this file.
1#pragma once
2#include "ersa/hal/display.h"
3
4namespace AppDrawer {
5
6enum class Item : uint8_t {
7 Clock = 0,
9 Calls,
12 Agenda,
13 Todo,
14 Hotspot,
15 Status,
16 Updater,
17 Count
18};
19
20void begin();
21void next();
22void previous();
24void setSelected(Item item);
25void render(ersa::hal::IDisplay& display, bool full = true);
26
27} // namespace AppDrawer
Definition display.h:40
Definition app_drawer.cpp:5
void setSelected(Item item)
Definition app_drawer.cpp:47
Item selected()
Definition app_drawer.cpp:43
void render(ersa::hal::IDisplay &display, bool full)
Definition app_drawer.cpp:53
void begin()
Definition app_drawer.cpp:25
Item
Definition app_drawer.h:6
void previous()
Definition app_drawer.cpp:36
void next()
Definition app_drawer.cpp:29