summaryrefslogtreecommitdiff
path: root/src/displayapp/lv_pinetime_theme.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2021-05-21 09:38:38 (GMT)
committerGitea <gitea@fake.local>2021-05-21 09:38:38 (GMT)
commitde69905c0647997091d9e385538c96de30be93e6 (patch)
tree4775001d808da520c93a7552da1bea80e7714a30 /src/displayapp/lv_pinetime_theme.h
parenta80e782f267cd2424d22da23d809c0c6a8ff8761 (diff)
parent7c9513be8a3bf36fda5706cb0fb1bd6232d42ffd (diff)
Merge branch 'develop' of JF/PineTime into master
Diffstat (limited to 'src/displayapp/lv_pinetime_theme.h')
-rw-r--r--src/displayapp/lv_pinetime_theme.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/src/displayapp/lv_pinetime_theme.h b/src/displayapp/lv_pinetime_theme.h
index 6697015..f914516 100644
--- a/src/displayapp/lv_pinetime_theme.h
+++ b/src/displayapp/lv_pinetime_theme.h
@@ -19,24 +19,22 @@ extern "C" {
* DEFINES
*********************/
/*Colors*/
-#define LV_PINETIME_WHITE lv_color_hex(0xffffff)
-#define LV_PINETIME_LIGHT lv_color_hex(0xf3f8fe)
-#define LV_PINETIME_GRAY lv_color_hex(0x8a8a8a)
-#define LV_PINETIME_LIGHT_GRAY lv_color_hex(0xc4c4c4)
-#define LV_PINETIME_BLUE lv_color_hex(0x2f3243) //006fb6
-#define LV_PINETIME_GREEN lv_color_hex(0x4cb242)
-#define LV_PINETIME_RED lv_color_hex(0xd51732)
+#define LV_PINETIME_WHITE lv_color_hex(0xffffff)
+#define LV_PINETIME_LIGHT lv_color_hex(0xf3f8fe)
+#define LV_PINETIME_GRAY lv_color_hex(0x8a8a8a)
+#define LV_PINETIME_LIGHT_GRAY lv_color_hex(0xc4c4c4)
+#define LV_PINETIME_BLUE lv_color_hex(0x2f3243) // 006fb6
+#define LV_PINETIME_GREEN lv_color_hex(0x4cb242)
+#define LV_PINETIME_RED lv_color_hex(0xd51732)
/**********************
* TYPEDEFS
**********************/
-
/**********************
* GLOBAL PROTOTYPES
**********************/
-
/**
* Initialize the default
* @param color_primary the primary color of the theme
@@ -48,9 +46,13 @@ extern "C" {
* @param font_title pointer to a extra large font
* @return a pointer to reference this theme later
*/
-lv_theme_t * lv_pinetime_theme_init(lv_color_t color_primary, lv_color_t color_secondary, uint32_t flags,
- const lv_font_t * font_small, const lv_font_t * font_normal, const lv_font_t * font_subtitle,
- const lv_font_t * font_title);
+lv_theme_t* lv_pinetime_theme_init(lv_color_t color_primary,
+ lv_color_t color_secondary,
+ uint32_t flags,
+ const lv_font_t* font_small,
+ const lv_font_t* font_normal,
+ const lv_font_t* font_subtitle,
+ const lv_font_t* font_title);
/**********************
* MACROS
**********************/