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
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
41LayoutRole layout_role_pick(bool quiet_on, bool quiet_set, bool night_on, bool night_set);
42
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
Role LayoutRole
Definition layout_role.h:20
Role
Which of the three is showing. The caller's own storage should line up with these.
Definition role.h:26
Which of day, night, and Quiet Time should be on screen right now.