summaryrefslogtreecommitdiff
path: root/src/libs/lv_conf.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-02-23 12:44:39 (GMT)
committerJF <jf@codingfield.com>2020-02-23 12:44:39 (GMT)
commit02772b996fb26146cf38fc6deccff7f43a49dfd6 (patch)
treef2ff90c577f68ccb44b6470621bf87e68a49aed8 /src/libs/lv_conf.h
parent2bdff7ed2b490cb8ce5599341e12d707c0ba7fd0 (diff)
Do not compile GFX and older fonts anymore.
Refactor SystemTask in its own class. Refactor Screen to be able to close current screen and open a new one. Re-enable sleep/wake up and propagate button event to Screens.
Diffstat (limited to 'src/libs/lv_conf.h')
-rw-r--r--src/libs/lv_conf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/lv_conf.h b/src/libs/lv_conf.h
index 8d7a6f7..3445795 100644
--- a/src/libs/lv_conf.h
+++ b/src/libs/lv_conf.h
@@ -123,7 +123,7 @@ typedef int16_t lv_coord_t;
*==================*/
/*1: Enable the Animations */
-#define LV_USE_ANIMATION 0
+#define LV_USE_ANIMATION 1
#if LV_USE_ANIMATION
/*Declare the type of the user data of animations (can be e.g. `void *`, `int`, `struct`)*/
@@ -563,7 +563,7 @@ typedef void * lv_obj_user_data_t;
#define LV_USE_TILEVIEW 1
#if LV_USE_TILEVIEW
/*Time of slide animation [ms] (0: no animation)*/
-# define LV_TILEVIEW_DEF_ANIM_TIME 0
+# define LV_TILEVIEW_DEF_ANIM_TIME 300
#endif
/*Window (dependencies: lv_cont, lv_btn, lv_label, lv_img, lv_page)*/