summaryrefslogtreecommitdiff
path: root/src/libs/lvgl/porting/lv_port_disp_template.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-03-08 21:46:25 +0100
committerJF <jf@codingfield.com>2020-03-08 21:46:25 +0100
commit0a5cd60fe86149f8958fc546e99f6370cb74950e (patch)
treed630a6c66d69d22c53b8011e215e1072875c6a29 /src/libs/lvgl/porting/lv_port_disp_template.h
parentd834f40c1014ac8926af9aaadc434a49e632b000 (diff)
When a full screen refresh is done, apply a vertical scroll during the refresh. This makes the transition from one screen the another one smoother, even if the refresh rate is slow.
Diffstat (limited to 'src/libs/lvgl/porting/lv_port_disp_template.h')
-rw-r--r--src/libs/lvgl/porting/lv_port_disp_template.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/libs/lvgl/porting/lv_port_disp_template.h b/src/libs/lvgl/porting/lv_port_disp_template.h
new file mode 100644
index 00000000..eeca802b
--- /dev/null
+++ b/src/libs/lvgl/porting/lv_port_disp_template.h
@@ -0,0 +1,44 @@
+/**
+ * @file lv_port_disp_templ.h
+ *
+ */
+
+ /*Copy this file as "lv_port_disp.h" and set this value to "1" to enable content*/
+#if 0
+
+#ifndef LV_PORT_DISP_TEMPL_H
+#define LV_PORT_DISP_TEMPL_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*********************
+ * INCLUDES
+ *********************/
+#include "lvgl/lvgl.h"
+
+/*********************
+ * DEFINES
+ *********************/
+
+/**********************
+ * TYPEDEFS
+ **********************/
+
+/**********************
+ * GLOBAL PROTOTYPES
+ **********************/
+
+/**********************
+ * MACROS
+ **********************/
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /*LV_PORT_DISP_TEMPL_H*/
+
+#endif /*Disable/Enable content*/