aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/lv_pinetime_theme.h
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2022-08-16 08:21:23 +0300
committerGitHub <noreply@github.com>2022-08-16 08:21:23 +0300
commit78fc1682dac113fb6583d29de4a5f440c2e42363 (patch)
treea64e1bb2ba0f240fcec5a487a7d0fe1c55c24e74 /src/displayapp/lv_pinetime_theme.h
parentd6aa767bdac84ac7ed8469288ae3400b5c0b5698 (diff)
Centralize most color definitions (#1258)
Diffstat (limited to 'src/displayapp/lv_pinetime_theme.h')
-rw-r--r--src/displayapp/lv_pinetime_theme.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/displayapp/lv_pinetime_theme.h b/src/displayapp/lv_pinetime_theme.h
deleted file mode 100644
index b68b7380..00000000
--- a/src/displayapp/lv_pinetime_theme.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#pragma once
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <lvgl/lvgl.h>
-
-#define IT_COLOR_BG LV_COLOR_MAKE(0x5d, 0x69, 0x7e)
-#define IT_COLOR_BG_DARK LV_COLOR_MAKE(0x18, 0x18, 0x18)
-#define IT_COLOR_SEL LV_COLOR_MAKE(0x0, 0xb0, 0x0)
-
-/**
- * Initialize the default
- * @param color_primary the primary color of the theme
- * @param color_secondary the secondary color for the theme
- * @param flags ORed flags starting with `LV_THEME_DEF_FLAG_...`
- * @param font_small pointer to a small font
- * @param font_normal pointer to a normal font
- * @param font_subtitle pointer to a large font
- * @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);
-#ifdef __cplusplus
-} /* extern "C" */
-#endif