More settings implementation
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
#include <pebble.h>
|
||||
|
||||
#define STORAGE_KEY_SETTINGS 69
|
||||
|
||||
typedef struct ClaySettings {
|
||||
bool ShowTimeMG;
|
||||
GColor ColorLED;
|
||||
GColor ColorBG;
|
||||
GColor ColorMGBars;
|
||||
GColor ColorMGTime;
|
||||
GColor ColorFG;
|
||||
} __attribute__((__packed__)) ClaySettings;
|
||||
|
||||
_Static_assert(sizeof(ClaySettings) <= 256, "ClaySettings exceeds Pebble 256-byte persist limit!");
|
||||
Reference in New Issue
Block a user