From 0a5cd60fe86149f8958fc546e99f6370cb74950e Mon Sep 17 00:00:00 2001 From: JF Date: Sun, 8 Mar 2020 21:46:25 +0100 Subject: 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. --- src/libs/lvgl/porting/lv_port_disp_template.h | 44 +++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/libs/lvgl/porting/lv_port_disp_template.h (limited to 'src/libs/lvgl/porting/lv_port_disp_template.h') 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*/ -- cgit v1.2.3