31 #ifndef LV_HOR_RES_MAX
32 #define LV_HOR_RES_MAX (320)
35 #ifndef LV_VER_RES_MAX
36 #define LV_VER_RES_MAX (240)
45 #ifndef LV_COLOR_DEPTH
46 #define LV_COLOR_DEPTH 16
51 #ifndef LV_COLOR_16_SWAP
52 #define LV_COLOR_16_SWAP 1
58 #define LV_COLOR_SCREEN_TRANSP 0
61 #define LV_COLOR_TRANSP LV_COLOR_LIME
64 #define LV_ANTIALIAS 1
68 #define LV_DISP_DEF_REFR_PERIOD 10
82 #define LV_DISP_SMALL_LIMIT 30
83 #define LV_DISP_MEDIUM_LIMIT 50
84 #define LV_DISP_LARGE_LIMIT 70
87 typedef int16_t lv_coord_t;
97 #define LV_MEM_CUSTOM 0
98 #if LV_MEM_CUSTOM == 0
101 #define LV_MEM_SIZE (5U * 1024U)
112 #define LV_MEM_AUTO_DEFRAG 1
114 #define LV_MEM_CUSTOM_INCLUDE <stdlib.h>
115 #define LV_MEM_CUSTOM_ALLOC malloc
116 #define LV_MEM_CUSTOM_FREE free
121 #define LV_MEMCPY_MEMSET_STD 0
125 #define LV_ENABLE_GC 0
126 #if LV_ENABLE_GC != 0
127 #define LV_GC_INCLUDE "gc.h"
128 #define LV_MEM_CUSTOM_REALLOC your_realloc
129 #define LV_MEM_CUSTOM_GET_SIZE your_mem_get_size
140 #define LV_INDEV_DEF_READ_PERIOD 30
143 #define LV_INDEV_DEF_DRAG_LIMIT 10
146 #define LV_INDEV_DEF_DRAG_THROW 20
150 #define LV_INDEV_DEF_LONG_PRESS_TIME 400
154 #define LV_INDEV_DEF_LONG_PRESS_REP_TIME 100
157 #define LV_INDEV_DEF_GESTURE_LIMIT 50
160 #define LV_INDEV_DEF_GESTURE_MIN_VELOCITY 3
167 #define LV_USE_ANIMATION 1
171 typedef void * lv_anim_user_data_t;
175 #define LV_USE_SHADOW 0
181 #define LV_SHADOW_CACHE_SIZE 0
185 #define LV_USE_OUTLINE 0
188 #define LV_USE_PATTERN 0
191 #define LV_USE_VALUE_STR 0
194 #define LV_USE_BLEND_MODES 0
197 #define LV_USE_OPA_SCALE 0
200 #define LV_USE_IMG_TRANSFORM 0
203 #define LV_USE_GROUP 1
205 typedef void * lv_group_user_data_t;
210 #define LV_USE_GPU_STM32_DMA2D 0
213 #define LV_GPU_DMA2D_CMSIS_INCLUDE
216 #define LV_USE_FILESYSTEM 0
217 #if LV_USE_FILESYSTEM
219 typedef void * lv_fs_drv_user_data_t;
223 #define LV_USE_USER_DATA 0
226 #define LV_USE_PERF_MONITOR 0
229 #define LV_USE_API_EXTENSION_V6 1
230 #define LV_USE_API_EXTENSION_V7 1
237 #define LV_IMG_CF_INDEXED 1
240 #define LV_IMG_CF_ALPHA 1
248 #define LV_IMG_CACHE_DEF_SIZE 1
251 typedef void * lv_img_decoder_user_data_t;
258 #define LV_BIG_ENDIAN_SYSTEM 0
261 #define LV_ATTRIBUTE_TICK_INC
264 #define LV_ATTRIBUTE_TASK_HANDLER
267 #define LV_ATTRIBUTE_FLUSH_READY
270 #define LV_ATTRIBUTE_MEM_ALIGN_SIZE
275 #define LV_ATTRIBUTE_MEM_ALIGN
279 #define LV_ATTRIBUTE_LARGE_CONST
283 #define LV_ATTRIBUTE_FAST_MEM
291 #define LV_EXPORT_CONST_INT(int_value) struct _silence_gcc_warning
295 #define LV_ATTRIBUTE_DMA
303 #define LV_TICK_CUSTOM 1
304 #if LV_TICK_CUSTOM == 1
305 #define LV_TICK_CUSTOM_INCLUDE "xtimer.h"
306 #define LV_TICK_CUSTOM_SYS_TIME_EXPR (xtimer_now_usec() / US_PER_MS)
309 typedef void * lv_disp_drv_user_data_t;
310 typedef void * lv_indev_drv_user_data_t;
326 #define LV_LOG_LEVEL LV_LOG_LEVEL_WARN
330 #define LV_LOG_PRINTF 0
346 #define LV_USE_DEBUG 0
350 #define LV_USE_ASSERT_NULL 1
353 #define LV_USE_ASSERT_MEM 1
356 #define LV_USE_ASSERT_MEM_INTEGRITY 0
361 #define LV_USE_ASSERT_STR 0
365 #define LV_USE_ASSERT_OBJ 0
368 #define LV_USE_ASSERT_STYLE 1
385 #define LV_FONT_MONTSERRAT_12 0
386 #define LV_FONT_MONTSERRAT_14 1
387 #define LV_FONT_MONTSERRAT_16 0
388 #define LV_FONT_MONTSERRAT_18 0
389 #define LV_FONT_MONTSERRAT_20 0
390 #define LV_FONT_MONTSERRAT_22 0
391 #define LV_FONT_MONTSERRAT_24 0
392 #define LV_FONT_MONTSERRAT_26 0
393 #define LV_FONT_MONTSERRAT_28 0
394 #define LV_FONT_MONTSERRAT_30 0
395 #define LV_FONT_MONTSERRAT_32 0
396 #define LV_FONT_MONTSERRAT_34 0
397 #define LV_FONT_MONTSERRAT_36 0
398 #define LV_FONT_MONTSERRAT_38 0
399 #define LV_FONT_MONTSERRAT_40 0
400 #define LV_FONT_MONTSERRAT_42 0
401 #define LV_FONT_MONTSERRAT_44 0
402 #define LV_FONT_MONTSERRAT_46 0
403 #define LV_FONT_MONTSERRAT_48 0
406 #define LV_FONT_MONTSERRAT_12_SUBPX 0
407 #define LV_FONT_MONTSERRAT_28_COMPRESSED 0
408 #define LV_FONT_DEJAVU_16_PERSIAN_HEBREW 0
409 #define LV_FONT_SIMSUN_16_CJK 0
413 #define LV_FONT_UNSCII_8 0
421 #define LV_FONT_CUSTOM_DECLARE
426 #define LV_FONT_FMT_TXT_LARGE 0
431 #define LV_USE_FONT_COMPRESSED 0
434 #define LV_USE_FONT_SUBPX 1
435 #if LV_USE_FONT_SUBPX
440 #define LV_FONT_SUBPX_BGR 0
444 typedef void * lv_font_user_data_t;
453 #define LV_USE_THEME_EMPTY 1
457 #define LV_USE_THEME_TEMPLATE 1
466 #define LV_USE_THEME_MATERIAL 1
473 #define LV_USE_THEME_MONO 1
475 #define LV_THEME_DEFAULT_INCLUDE <stdint.h>
476 #define LV_THEME_DEFAULT_INIT lv_theme_material_init
477 #define LV_THEME_DEFAULT_COLOR_PRIMARY lv_color_hex(0x01a2b1)
478 #define LV_THEME_DEFAULT_COLOR_SECONDARY lv_color_hex(0x44d1b6)
479 #define LV_THEME_DEFAULT_FLAG LV_THEME_MATERIAL_FLAG_DARK
480 #define LV_THEME_DEFAULT_FONT_SMALL &lv_font_montserrat_14
481 #define LV_THEME_DEFAULT_FONT_NORMAL &lv_font_montserrat_14
482 #define LV_THEME_DEFAULT_FONT_SUBTITLE &lv_font_montserrat_14
483 #define LV_THEME_DEFAULT_FONT_TITLE &lv_font_montserrat_14
494 #define LV_TXT_ENC LV_TXT_ENC_UTF8
497 #define LV_TXT_BREAK_CHARS " ,.;:-_"
501 #define LV_TXT_LINE_BREAK_LONG_LEN 0
505 #define LV_TXT_LINE_BREAK_LONG_PRE_MIN_LEN 3
509 #define LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN 3
512 #define LV_TXT_COLOR_CMD "#"
518 #define LV_USE_BIDI 0
524 #define LV_BIDI_BASE_DIR_DEF LV_BIDI_DIR_AUTO
530 #define LV_USE_ARABIC_PERSIAN_CHARS 0
533 #define LV_SPRINTF_CUSTOM 0
534 #if LV_SPRINTF_CUSTOM
535 #define LV_SPRINTF_INCLUDE <stdio.h>
536 #define lv_snprintf snprintf
537 #define lv_vsnprintf vsnprintf
539 #define LV_SPRINTF_DISABLE_FLOAT 1
548 typedef void * lv_obj_user_data_t;
550 #define LV_USE_USER_DATA_FREE 0
551 #if LV_USE_USER_DATA_FREE
552 # define LV_USER_DATA_FREE_INCLUDE "something.h"
554 # define LV_USER_DATA_FREE (user_data_free)
559 #define LV_USE_OBJ_REALIGN 1
566 #define LV_USE_EXT_CLICK_AREA LV_EXT_CLICK_AREA_TINY
585 #define LV_USE_BTNMATRIX 1
588 #define LV_USE_CALENDAR 1
590 # define LV_CALENDAR_WEEK_STARTS_MONDAY 0
594 #define LV_USE_CANVAS 1
597 #define LV_USE_CHECKBOX 1
600 #define LV_USE_CHART 1
602 # define LV_CHART_AXIS_TICK_LABEL_MAX_LEN 256
606 #define LV_USE_CONT 1
609 #define LV_USE_CPICKER 1
612 #define LV_USE_DROPDOWN 1
613 #if LV_USE_DROPDOWN != 0
615 # define LV_DROPDOWN_DEF_ANIM_TIME 200
619 #define LV_USE_GAUGE 1
625 #define LV_USE_IMGBTN 1
628 # define LV_IMGBTN_TILED 0
632 #define LV_USE_KEYBOARD 1
635 #define LV_USE_LABEL 1
636 #if LV_USE_LABEL != 0
638 # define LV_LABEL_DEF_SCROLL_SPEED 25
641 # define LV_LABEL_WAIT_CHAR_COUNT 3
644 # define LV_LABEL_TEXT_SEL 0
647 # define LV_LABEL_LONG_TXT_HINT 0
653 # define LV_LED_BRIGHT_MIN 120
654 # define LV_LED_BRIGHT_MAX 255
658 #define LV_USE_LINE 1
661 #define LV_USE_LIST 1
664 # define LV_LIST_DEF_ANIM_TIME 100
668 #define LV_USE_LINEMETER 1
676 # define LV_LINEMETER_PRECISE 0
680 #define LV_USE_OBJMASK 1
683 #define LV_USE_MSGBOX 1
686 #define LV_USE_PAGE 1
689 # define LV_PAGE_DEF_ANIM_TIME 400
693 #define LV_USE_SPINNER 1
694 #if LV_USE_SPINNER != 0
695 # define LV_SPINNER_DEF_ARC_LENGTH 60
696 # define LV_SPINNER_DEF_SPIN_TIME 1000
697 # define LV_SPINNER_DEF_ANIM LV_SPINNER_TYPE_SPINNING_ARC
701 #define LV_USE_ROLLER 1
702 #if LV_USE_ROLLER != 0
704 # define LV_ROLLER_DEF_ANIM_TIME 200
707 # define LV_ROLLER_INF_PAGES 7
711 #define LV_USE_SLIDER 1
714 #define LV_USE_SPINBOX 1
717 #define LV_USE_SWITCH 1
720 #define LV_USE_TEXTAREA 1
721 #if LV_USE_TEXTAREA != 0
722 # define LV_TEXTAREA_DEF_CURSOR_BLINK_TIME 400
723 # define LV_TEXTAREA_DEF_PWD_SHOW_TIME 1500
727 #define LV_USE_TABLE 1
729 # define LV_TABLE_COL_MAX 12
730 # define LV_TABLE_CELL_STYLE_CNT 4
734 #define LV_USE_TABVIEW 1
735 #if LV_USE_TABVIEW != 0
737 # define LV_TABVIEW_DEF_ANIM_TIME 300
741 #define LV_USE_TILEVIEW 1
744 # define LV_TILEVIEW_DEF_ANIM_TIME 300