Pebble App Framework
main
How It Works
CLI
Device API
Phone API
C Coverage
TS Coverage
GitHub
Theme
Pebble App Framework: Device API
Toggle main menu visibility
Loading...
Searching...
No Matches
layout_role.h
Go to the documentation of this file.
1
11
#pragma once
12
#include "
role/role.h
"
13
18
20
typedef
Role
LayoutRole
;
21
23
#define LAYOUT_ROLE_DAY ROLE_DAY
25
#define LAYOUT_ROLE_NIGHT ROLE_NIGHT
27
#define LAYOUT_ROLE_QUIET ROLE_QUIET
29
#define LAYOUT_ROLE_COUNT ROLE_COUNT
30
41
LayoutRole
layout_role_pick
(
bool
quiet_on,
bool
quiet_set,
bool
night_on,
bool
night_set);
42
layout_role_pick
LayoutRole layout_role_pick(bool quiet_on, bool quiet_set, bool night_on, bool night_set)
Which layout wins. Forwards to role_pick.
Definition
layout_role.c:9
LayoutRole
Role LayoutRole
Definition
layout_role.h:20
Role
Role
Which of the three is showing. The caller's own storage should line up with these.
Definition
role.h:26
role.h
Which of day, night, and Quiet Time should be on screen right now.
src
c
core
layout
layout_role.h
Generated by
1.18.0