mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Merge pull request #718 from meshtastic/baseui-display-configs
Base UI display config settings
This commit is contained in:
commit
86c738e806
2 changed files with 36 additions and 1 deletions
|
|
@ -2,9 +2,10 @@
|
|||
*DeviceUIConfig.screen_timeout int_size:16
|
||||
*DeviceUIConfig.ring_tone_id int_size:8
|
||||
*DeviceUIConfig.calibration_data max_size:16
|
||||
*DeviceUIConfig.compass_mode int_size:8
|
||||
*NodeFilter.node_name max_size:16
|
||||
*NodeFilter.hops_away int_size:8
|
||||
*NodeFilter.channel int_size:8
|
||||
*NodeHighlight.node_name max_size:16
|
||||
*GeoPoint.zoom int_size:8
|
||||
*Map.style max_size:20
|
||||
*Map.style max_size:20
|
||||
|
|
@ -71,6 +71,23 @@ message DeviceUIConfig {
|
|||
* Map related data
|
||||
*/
|
||||
Map map_data = 15;
|
||||
|
||||
/*
|
||||
* Compass mode
|
||||
*/
|
||||
CompassMode compass_mode = 16;
|
||||
|
||||
/*
|
||||
* RGB color for BaseUI
|
||||
* 0xRRGGBB format, e.g. 0xFF0000 for red
|
||||
*/
|
||||
uint32 screen_rgb_color = 17;
|
||||
|
||||
/*
|
||||
* Clockface analog style
|
||||
* true for analog clockface, false for digital clockface
|
||||
*/
|
||||
bool is_clockface_analog = 18;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -174,6 +191,23 @@ message Map {
|
|||
bool follow_gps = 3;
|
||||
}
|
||||
|
||||
enum CompassMode {
|
||||
/*
|
||||
* Compass with dynamic ring and heading
|
||||
*/
|
||||
DYNAMIC = 0;
|
||||
|
||||
/*
|
||||
* Compass with fixed ring and heading
|
||||
*/
|
||||
FIXED_RING = 1;
|
||||
|
||||
/*
|
||||
* Compass with heading and freeze option
|
||||
*/
|
||||
FREEZE_HEADING = 2;
|
||||
}
|
||||
|
||||
enum Theme {
|
||||
/*
|
||||
* Dark
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue