Loading...
Searching...
No Matches
layout_role.h File Reference

Deprecated names for the day/night/Quiet Time picker that role.h provides. More...

#include "role/role.h"

Go to the source code of this file.

Macros

#define LAYOUT_ROLE_DAY   ROLE_DAY
#define LAYOUT_ROLE_NIGHT   ROLE_NIGHT
#define LAYOUT_ROLE_QUIET   ROLE_QUIET
#define LAYOUT_ROLE_COUNT   ROLE_COUNT

Typedefs

typedef Role LayoutRole

Functions

LayoutRole layout_role_pick (bool quiet_on, bool quiet_set, bool night_on, bool night_set)
 Which layout wins. Forwards to role_pick.

Detailed Description

Deprecated names for the day/night/Quiet Time picker that role.h provides.

role_pick and Role in role/role.h do this job for any face, a layout editor or a themed face alike. These names forward to them so a face on them keeps building. They go at the next major release. Move to role_pick and Role when convenient.