BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lvgl
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
lvgl
Commits
0bfb73b6
Commit
0bfb73b6
authored
Dec 07, 2017
by
Gabor Kiss-Vamosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lv_conf_templ update
parent
893475ad
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
22 deletions
+24
-22
lv_conf_templ.h
lv_conf_templ.h
+24
-22
No files found.
lv_conf_templ.h
View file @
0bfb73b6
...
...
@@ -26,12 +26,13 @@
Graphical settings
*=====================*/
/* Horizontal and vertical resolution of the library.
* Screen resolution multiplied by LV_DOWN_SCALE*/
/* Horizontal and vertical resolution of the library.*/
#define LV_HOR_RES 800
#define LV_VER_RES 480
#define LV_DPI 100
/* Buffered rendering: >= lv_disp_hor_res() or 0 to disable buffering*/
#define LV_VDB_SIZE (
40 * lv_disp_hor_res()
)
/* Buffered rendering: >=
LV_DOWNSCALE *
lv_disp_hor_res() or 0 to disable buffering*/
#define LV_VDB_SIZE (
20 * 1024
)
#define LV_VDB_ADR 0 /*Place VDB to a specific address (e.g. in external RAM) (0: allocate into RAM)*/
/* Use two Virtual Display buffers (VDB) parallelize rendering and flushing
...
...
@@ -41,21 +42,21 @@
/* Enable anti aliasing
* If enabled everything will be rendered in double size and filtered to normal size */
#define LV_ANTIALIAS
0
#define LV_ANTIALIAS
1
/* Enable anti aliasing only for fonts (texts)
* It half the size of the letters so you should use double sized fonts
* Much faster then normal anti aliasing (don't use together with LV_ANTIALIAS) */
#define LV_FONT_ANTIALIAS 1
* Much faster then normal anti aliasing */
#define LV_FONT_ANTIALIAS 0
/*Screen refresh settings*/
#define LV_REFR_PERIOD 50 /*Screen refresh period in milliseconds*/
#define LV_INV_FIFO_SIZE 32 /*The average count of objects on a screen */
/*=================
Misc. setting
*=================*/
/*Screen refresh settings*/
#define LV_REFR_PERIOD 50 /*Screen refresh period in milliseconds*/
#define LV_INV_FIFO_SIZE 32 /*The average number of objects on a screen */
/*Input device settings*/
#define LV_INDEV_READ_PERIOD 50 /*Input device read period in milliseconds*/
#define LV_INDEV_POINT_MARKER 0 /*Mark the pressed points*/
...
...
@@ -65,29 +66,31 @@
#define LV_INDEV_LONG_PRESS_REP_TIME 100 /*Repeated trigger period in long press [ms] */
/*Color settings*/
#define LV_COLOR_DEPTH
16
#define LV_COLOR_TRANSP LV_COLOR_LIME /*Images pixels with this color will not be drawn*/
#define LV_COLOR_DEPTH
24
#define LV_COLOR_TRANSP LV_COLOR_LIME /*Images pixels with this color will not be drawn
(chroma keying)
*/
/*Text settings*/
#define LV_TXT_UTF8 1
#define LV_TXT_BREAK_CHARS " ,.;:-_" /*Can break texts on these chars*/
/*Graphics feature usage*/
#define LV_NO_ANIM 0 /*1: disable all animations*/
#define LV_NO_SHADOW 0 /*1: disable shadows*/
#define USE_LV_ANIMATION 1 /*1: disable all animations*/
#define USE_LV_SHADOW 1 /*1: disable shadows*/
#define USE_LV_GROUP 1 /*1: Enable object groups (for keyboards)*/
#define USE_LV_GPU 0 /*1: Enable GPU interface*/
#define USE_LV_FILESYSTEM 1 /*1: Enable file system (required by images aka. lv_img)*/
/*==================
* THEME USAGE
*================*/
#define USE_LV_THEME_TEMPL 0 /*Just for test*/
#define USE_LV_THEME_DEFAULT 0 /*Built manly from the built-in styles. Consumes very few RAM*/
#define USE_LV_THEME_ALIEN
0
/*Dark futuristic theme*/
#define USE_LV_THEME_NIGHT
0
/*Dark elegant theme*/
#define USE_LV_THEME_MONO
0
/*Mono color theme for monochrome displays*/
#define USE_LV_THEME_DEFAULT 0 /*Built ma
i
nly from the built-in styles. Consumes very few RAM*/
#define USE_LV_THEME_ALIEN
1
/*Dark futuristic theme*/
#define USE_LV_THEME_NIGHT
1
/*Dark elegant theme*/
#define USE_LV_THEME_MONO
1
/*Mono color theme for monochrome displays*/
#define USE_LV_THEME_MATERIAL 0 /*Flat theme with bold colors and light shadows (Planned)*/
#define USE_LV_THEME_ZEN 0 /*Peaceful, mainly black and white theme (Planned)*/
/*==================
* FONT USAGE
*===================*/
...
...
@@ -147,12 +150,11 @@
#define USE_LV_FONT_SYMBOL_80_FILE 0
#define USE_LV_FONT_SYMBOL_80_FEEDBACK 0
/*==================
/*==================
=
* LV_OBJ SETTINGS
*==================*/
#define LV_OBJ_FREE_NUM_TYPE uint32_t /*Type of free number attribute (comment out disable free number)*/
#define LV_OBJ_FREE_PTR 1 /*Enable the free pointer attribute*/
#define USE_LV_GROUP 1 /*Enable object groups (for keyboards)*/
/*==================
* LV OBJ X USAGE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment