mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Merge pull request #143 from meshtastic/oem-screen
Add storage for OEM screen text and logo
This commit is contained in:
commit
8bac81b631
2 changed files with 57 additions and 0 deletions
|
|
@ -9,3 +9,6 @@
|
|||
|
||||
*ChannelFile.channels max_count:8
|
||||
|
||||
*OEMStore.oem_text max_size:40
|
||||
|
||||
*OEMStore.oem_icon_bits max_size:2048
|
||||
|
|
@ -81,3 +81,57 @@ message ChannelFile {
|
|||
*/
|
||||
repeated Channel channels = 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
enum ScreenFonts {
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
FONT_SMALL = 0;
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
FONT_MEDIUM = 1;
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
FONT_LARGE = 2;
|
||||
}
|
||||
|
||||
/*
|
||||
* This can be used for customizing the firmware distribution. If populated,
|
||||
* show a secondary bootup screen with cuatom logo and text for 2.5 seconds.
|
||||
*/
|
||||
message OEMStore {
|
||||
|
||||
/*
|
||||
* The Logo width in Px
|
||||
*/
|
||||
uint32 oem_icon_width = 1;
|
||||
|
||||
/*
|
||||
* The Logo height in Px
|
||||
*/
|
||||
uint32 oem_icon_height = 2;
|
||||
|
||||
/*
|
||||
* The Logo in xbm bytechar format
|
||||
*/
|
||||
bytes oem_icon_bits = 3;
|
||||
|
||||
/*
|
||||
* Use this font for the OEM text.
|
||||
*/
|
||||
ScreenFonts oem_font = 4;
|
||||
|
||||
/*
|
||||
* Use this font for the OEM text.
|
||||
*/
|
||||
string oem_text = 5;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue