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
514d2b38
Commit
514d2b38
authored
Nov 30, 2017
by
Gabor Kiss-Vamosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lv_obj folder rename to lv_core
parent
2f5a09bc
Hide whitespace changes
Inline
Side-by-side
Showing
54 changed files
with
77 additions
and
80 deletions
+77
-80
lv_conf_templ.h
lv_conf_templ.h
+7
-11
lv_group.c
lv_core/lv_group.c
+2
-2
lv_group.h
lv_core/lv_group.h
+3
-3
lv_indev.c
lv_core/lv_indev.c
+3
-3
lv_indev.h
lv_core/lv_indev.h
+2
-2
lv_obj.c
lv_core/lv_obj.c
+6
-6
lv_obj.h
lv_core/lv_obj.h
+1
-1
lv_refr.c
lv_core/lv_refr.c
+0
-0
lv_refr.h
lv_core/lv_refr.h
+0
-0
lv_style.c
lv_core/lv_style.c
+0
-0
lv_style.h
lv_core/lv_style.h
+0
-0
lv_vdb.c
lv_core/lv_vdb.c
+0
-0
lv_vdb.h
lv_core/lv_vdb.h
+0
-0
lv_draw.h
lv_draw/lv_draw.h
+1
-1
lv_draw_vbasic.c
lv_draw/lv_draw_vbasic.c
+1
-1
lv_hal_disp.c
lv_hal/lv_hal_disp.c
+1
-1
lv_bar.h
lv_objx/lv_bar.h
+1
-1
lv_btn.c
lv_objx/lv_btn.c
+1
-1
lv_btn.h
lv_objx/lv_btn.h
+1
-1
lv_btnm.c
lv_objx/lv_btnm.c
+2
-2
lv_btnm.h
lv_objx/lv_btnm.h
+1
-1
lv_cb.c
lv_objx/lv_cb.c
+3
-3
lv_cb.h
lv_objx/lv_cb.h
+1
-1
lv_chart.h
lv_objx/lv_chart.h
+1
-1
lv_cont.h
lv_objx/lv_cont.h
+1
-1
lv_ddlist.c
lv_objx/lv_ddlist.c
+2
-2
lv_ddlist.h
lv_objx/lv_ddlist.h
+1
-1
lv_gauge.h
lv_objx/lv_gauge.h
+1
-1
lv_img.h
lv_objx/lv_img.h
+1
-1
lv_kb.h
lv_objx/lv_kb.h
+1
-1
lv_label.c
lv_objx/lv_label.c
+3
-3
lv_label.h
lv_objx/lv_label.h
+1
-1
lv_led.h
lv_objx/lv_led.h
+1
-1
lv_line.h
lv_objx/lv_line.h
+1
-1
lv_list.c
lv_objx/lv_list.c
+1
-1
lv_list.h
lv_objx/lv_list.h
+1
-1
lv_lmeter.c
lv_objx/lv_lmeter.c
+2
-2
lv_lmeter.h
lv_objx/lv_lmeter.h
+1
-1
lv_mbox.c
lv_objx/lv_mbox.c
+1
-1
lv_mbox.h
lv_objx/lv_mbox.h
+1
-1
lv_objx_templ.h
lv_objx/lv_objx_templ.h
+1
-1
lv_page.c
lv_objx/lv_page.c
+4
-4
lv_page.h
lv_objx/lv_page.h
+1
-1
lv_roller.c
lv_objx/lv_roller.c
+1
-1
lv_roller.h
lv_objx/lv_roller.h
+1
-1
lv_slider.c
lv_objx/lv_slider.c
+1
-1
lv_slider.h
lv_objx/lv_slider.h
+1
-1
lv_sw.h
lv_objx/lv_sw.h
+1
-1
lv_ta.c
lv_objx/lv_ta.c
+1
-1
lv_ta.h
lv_objx/lv_ta.h
+1
-1
lv_tabview.h
lv_objx/lv_tabview.h
+1
-1
lv_win.h
lv_objx/lv_win.h
+1
-1
lv_theme.h
lv_themes/lv_theme.h
+1
-1
lvgl.h
lvgl.h
+3
-2
No files found.
lv_conf_templ.h
View file @
514d2b38
...
...
@@ -73,7 +73,10 @@
#define LV_TXT_UTF8 1
#define LV_TXT_BREAK_CHARS " ,.;:-_" /*Can break texts on these chars*/
/*Feature usage*/
/*Group settings*/
#define LV_GROUP 1 /*Enable object groups (for keyboards)*/
/*Graphics feature usage*/
#define LV_NO_ANIM 0 /*1: disable all animations*/
#define LV_NO_SHADOW 0 /*1: disable shadows*/
...
...
@@ -147,17 +150,10 @@
#define USE_LV_FONT_SYMBOL_80_FEEDBACK 0
/*==================
* IMAGE USAGE
*================*/
#define LV_IMAGE_ENABLE_ALL 1 /*Unconditionally enable all image maps*/
//#define USE_IMG_XYZ 1 /*Enable or disable to compile you image map files*/
/*==================
* 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 LV_OBJ_GROUP 1 /*Enable object groups*/
/*==================
* LV OBJ X USAGE
...
...
@@ -180,7 +176,7 @@
#define USE_LV_LINE 1
/*******************
* Container object
* Container object
s
*******************/
/*Container (dependencies: -*/
...
...
@@ -199,7 +195,7 @@
#endif
/*************************
* Data visualizer object
* Data visualizer object
s
*************************/
/*Bar (dependencies: -)*/
...
...
@@ -228,7 +224,7 @@
#endif
/*************************
* User input object
* User input object
s
*************************/
/*Button (dependencies: lv_cont*/
...
...
lv_
obj
/lv_group.c
→
lv_
core
/lv_group.c
View file @
514d2b38
...
...
@@ -7,7 +7,7 @@
* INCLUDES
*********************/
#include "lv_group.h"
#if LV_
OBJ_
GROUP != 0
#if LV_GROUP != 0
#include <stddef.h>
/*********************
...
...
@@ -265,4 +265,4 @@ static void style_mod_def(lv_style_t * style)
style
->
text
.
color
=
lv_color_mix
(
style
->
text
.
color
,
LV_COLOR_ORANGE
,
LV_OPA_70
);
}
#endif
/*LV_
OBJ_
GROUP != 0*/
#endif
/*LV_GROUP != 0*/
lv_
obj
/lv_group.h
→
lv_
core
/lv_group.h
View file @
514d2b38
...
...
@@ -20,7 +20,7 @@ extern "C" {
* DEFINES
*********************/
/*Predefined keys to control the focused object via lv_group_send(group, c)*/
/*For compatibility in signal function define the keys regardless to LV_
OBJ_
GROUP*/
/*For compatibility in signal function define the keys regardless to LV_GROUP*/
#define LV_GROUP_KEY_UP 17
/*0x11*/
#define LV_GROUP_KEY_DOWN 18
/*0x12*/
#define LV_GROUP_KEY_RIGHT 19
/*0x13*/
...
...
@@ -30,7 +30,7 @@ extern "C" {
#define LV_GROUP_KEY_NEXT 9
/*0x09, '\t'*/
#define LV_GROUP_KEY_PREV 11
/*0x0B, '*/
#if LV_
OBJ_
GROUP != 0
#if LV_GROUP != 0
/**********************
* TYPEDEFS
**********************/
...
...
@@ -125,7 +125,7 @@ lv_obj_t * lv_group_get_focused(lv_group_t * group);
* MACROS
**********************/
#endif
/*LV_
OBJ_
GROUP != 0*/
#endif
/*LV_GROUP != 0*/
#ifdef __cplusplus
}
/* extern "C" */
...
...
lv_
obj
/lv_indev.c
→
lv_
core
/lv_indev.c
View file @
514d2b38
...
...
@@ -10,7 +10,7 @@
#include "../../lv_conf.h"
#include "../lv_hal/lv_hal_tick.h"
#include "../lv_
obj
/lv_group.h"
#include "../lv_
core
/lv_group.h"
#include "../lv_misc/lv_task.h"
#include "../lv_misc/lv_math.h"
#include "../lv_draw/lv_draw_rbasic.h"
...
...
@@ -128,7 +128,7 @@ void lv_indev_set_cursor(lv_indev_t *indev, lv_obj_t *cur_obj)
lv_obj_set_pos
(
indev
->
cursor
,
indev
->
proc
.
act_point
.
x
,
indev
->
proc
.
act_point
.
y
);
}
#if LV_
OBJ_
GROUP
#if LV_GROUP
/**
* Set a destination group for a keypad input device
* @param indev pointer to an input device (type: 'LV_INDEV_TYPE_KEYPAD')
...
...
@@ -237,7 +237,7 @@ static void indev_proc_task(void * param)
indev_proc_point
(
&
i
->
proc
);
}
else
if
(
i
->
driver
.
type
==
LV_INDEV_TYPE_KEYPAD
)
{
#if LV_
OBJ_
GROUP != 0
#if LV_GROUP != 0
if
(
i
->
group
!=
NULL
&&
data
.
key
!=
0
&&
data
.
state
==
LV_INDEV_STATE_PR
&&
i
->
proc
.
last_state
==
LV_INDEV_STATE_REL
)
{
...
...
lv_
obj
/lv_indev.h
→
lv_
core
/lv_indev.h
View file @
514d2b38
...
...
@@ -15,7 +15,7 @@ extern "C" {
*********************/
#include "lv_obj.h"
#include "../lv_hal/lv_hal_indev.h"
#include "../lv_
obj
/lv_group.h"
#include "../lv_
core
/lv_group.h"
/*********************
* DEFINES
...
...
@@ -66,7 +66,7 @@ void lv_indev_enable(lv_hal_indev_type_t type, bool enable);
*/
void
lv_indev_set_cursor
(
lv_indev_t
*
indev
,
lv_obj_t
*
cur_obj
);
#if LV_
OBJ_
GROUP
#if LV_GROUP
/**
* Set a destination group for a keypad input device
* @param indev pointer to an input device (type: 'LV_INDEV_TYPE_KEYPAD')
...
...
lv_
obj
/lv_obj.c
→
lv_
core
/lv_obj.c
View file @
514d2b38
...
...
@@ -152,7 +152,7 @@ lv_obj_t * lv_obj_create(lv_obj_t * parent, lv_obj_t * copy)
new_obj
->
free_ptr
=
NULL
;
#endif
#if LV_
OBJ_
GROUP != 0
#if LV_GROUP != 0
new_obj
->
group_p
=
NULL
;
#endif
/*Set attributes*/
...
...
@@ -197,7 +197,7 @@ lv_obj_t * lv_obj_create(lv_obj_t * parent, lv_obj_t * copy)
#if LV_OBJ_FREE_PTR != 0
new_obj
->
free_ptr
=
NULL
;
#endif
#if LV_
OBJ_
GROUP != 0
#if LV_GROUP != 0
new_obj
->
group_p
=
NULL
;
#endif
...
...
@@ -235,7 +235,7 @@ lv_obj_t * lv_obj_create(lv_obj_t * parent, lv_obj_t * copy)
new_obj
->
style_p
=
copy
->
style_p
;
#if LV_
OBJ_
GROUP != 0
#if LV_GROUP != 0
/*Add to the same group*/
if
(
copy
->
group_p
!=
NULL
)
{
lv_group_add_obj
(
copy
->
group_p
,
new_obj
);
...
...
@@ -1209,7 +1209,7 @@ lv_style_t * lv_obj_get_style(lv_obj_t * obj)
par
=
par
->
par
;
}
}
#if LV_
OBJ_
GROUP != 0
#if LV_GROUP != 0
if
(
obj
->
group_p
)
{
if
(
lv_group_get_focused
(
obj
->
group_p
)
==
obj
)
{
style_act
=
lv_group_mod_style
(
obj
->
group_p
,
style_act
);
...
...
@@ -1366,7 +1366,7 @@ void * lv_obj_get_free_ptr(lv_obj_t * obj)
}
#endif
#if LV_
OBJ_
GROUP != 0
#if LV_GROUP != 0
/**
* Get the group of the object
* @param obj pointer to an object
...
...
@@ -1539,7 +1539,7 @@ static void delete_children(lv_obj_t * obj)
#endif
/*Delete from the group*/
#if LV_
OBJ_
GROUP != 0
#if LV_GROUP != 0
if
(
obj
->
group_p
!=
NULL
)
lv_group_remove_obj
(
obj
);
#endif
...
...
lv_
obj
/lv_obj.h
→
lv_
core
/lv_obj.h
View file @
514d2b38
...
...
@@ -774,7 +774,7 @@ LV_OBJ_FREE_NUM_TYPE lv_obj_get_free_num(lv_obj_t * obj);
void
*
lv_obj_get_free_ptr
(
lv_obj_t
*
obj
);
#endif
#if LV_
OBJ_
GROUP != 0
#if LV_GROUP != 0
/**
* Get the group of the object
* @param obj pointer to an object
...
...
lv_
obj
/lv_refr.c
→
lv_
core
/lv_refr.c
View file @
514d2b38
File moved
lv_
obj
/lv_refr.h
→
lv_
core
/lv_refr.h
View file @
514d2b38
File moved
lv_
obj
/lv_style.c
→
lv_
core
/lv_style.c
View file @
514d2b38
File moved
lv_
obj
/lv_style.h
→
lv_
core
/lv_style.h
View file @
514d2b38
File moved
lv_
obj
/lv_vdb.c
→
lv_
core
/lv_vdb.c
View file @
514d2b38
File moved
lv_
obj
/lv_vdb.h
→
lv_
core
/lv_vdb.h
View file @
514d2b38
File moved
lv_draw/lv_draw.h
View file @
514d2b38
...
...
@@ -13,7 +13,7 @@ extern "C" {
/*********************
* INCLUDES
*********************/
#include "../lv_
obj
/lv_style.h"
#include "../lv_
core
/lv_style.h"
#include "../lv_misc/lv_txt.h"
/*********************
...
...
lv_draw/lv_draw_vbasic.c
View file @
514d2b38
...
...
@@ -17,7 +17,7 @@
#if LV_VDB_SIZE != 0
#include <stddef.h>
#include "../lv_
obj
/lv_vdb.h"
#include "../lv_
core
/lv_vdb.h"
/*********************
* INCLUDES
...
...
lv_hal/lv_hal_disp.c
View file @
514d2b38
...
...
@@ -13,7 +13,7 @@
#include <stddef.h>
#include "../lv_hal/lv_hal_disp.h"
#include "../lv_misc/lv_mem.h"
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
/*********************
* DEFINES
...
...
lv_objx/lv_bar.h
View file @
514d2b38
...
...
@@ -16,7 +16,7 @@ extern "C" {
#include "../../lv_conf.h"
#if USE_LV_BAR != 0
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
#include "lv_cont.h"
#include "lv_btn.h"
#include "lv_label.h"
...
...
lv_objx/lv_btn.c
View file @
514d2b38
...
...
@@ -12,7 +12,7 @@
#include <string.h>
#include "lv_btn.h"
#include "../lv_
obj
/lv_group.h"
#include "../lv_
core
/lv_group.h"
#include "../lv_draw/lv_draw.h"
#include "../lv_themes/lv_theme.h"
#include "../lv_misc/lv_area.h"
...
...
lv_objx/lv_btn.h
View file @
514d2b38
...
...
@@ -22,7 +22,7 @@ extern "C" {
#endif
#include "lv_cont.h"
#include "../lv_
obj
/lv_indev.h"
#include "../lv_
core
/lv_indev.h"
/*********************
* DEFINES
...
...
lv_objx/lv_btnm.c
View file @
514d2b38
...
...
@@ -10,9 +10,9 @@
#if USE_LV_BTNM != 0
#include "lv_btnm.h"
#include "../lv_
obj
/lv_group.h"
#include "../lv_
core
/lv_group.h"
#include "../lv_draw/lv_draw.h"
#include "../lv_
obj
/lv_refr.h"
#include "../lv_
core
/lv_refr.h"
#include "../lv_themes/lv_theme.h"
#include "../lv_misc/lv_txt.h"
...
...
lv_objx/lv_btnm.h
View file @
514d2b38
...
...
@@ -17,7 +17,7 @@ extern "C" {
#include "../../lv_conf.h"
#if USE_LV_BTNM != 0
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
#include "lv_label.h"
#include "lv_btn.h"
...
...
lv_objx/lv_cb.c
View file @
514d2b38
...
...
@@ -10,7 +10,7 @@
#if USE_LV_CB != 0
#include "lv_cb.h"
#include "../lv_
obj
/lv_group.h"
#include "../lv_
core
/lv_group.h"
#include "../lv_themes/lv_theme.h"
/*********************
...
...
@@ -247,7 +247,7 @@ static bool lv_bullet_design(lv_obj_t * bullet, const lv_area_t * mask, lv_desig
if
(
mode
==
LV_DESIGN_COVER_CHK
)
{
return
ancestor_bullet_design
(
bullet
,
mask
,
mode
);
}
else
if
(
mode
==
LV_DESIGN_DRAW_MAIN
)
{
#if LV_
OBJ_
GROUP != 0
#if LV_GROUP != 0
/* If the check box is the active in a group and
* the background is not visible (transparent or empty)
* then activate the style of the bullet*/
...
...
@@ -265,7 +265,7 @@ static bool lv_bullet_design(lv_obj_t * bullet, const lv_area_t * mask, lv_desig
#endif
ancestor_bullet_design
(
bullet
,
mask
,
mode
);
#if LV_
OBJ_
GROUP != 0
#if LV_GROUP != 0
bullet
->
style_p
=
style_ori
;
/*Revert the style*/
#endif
}
else
if
(
mode
==
LV_DESIGN_DRAW_POST
)
{
...
...
lv_objx/lv_cb.h
View file @
514d2b38
...
...
@@ -25,7 +25,7 @@ extern "C" {
#error "lv_cb: lv_label is required. Enable it in lv_conf.h (USE_LV_LABEL 1) "
#endif
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
#include "lv_btn.h"
#include "lv_label.h"
...
...
lv_objx/lv_chart.h
View file @
514d2b38
...
...
@@ -16,7 +16,7 @@ extern "C" {
#include "../../lv_conf.h"
#if USE_LV_CHART != 0
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
#include "lv_line.h"
/*********************
...
...
lv_objx/lv_cont.h
View file @
514d2b38
...
...
@@ -16,7 +16,7 @@ extern "C" {
#include "../../lv_conf.h"
#if USE_LV_CONT != 0
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
/*********************
* DEFINES
...
...
lv_objx/lv_ddlist.c
View file @
514d2b38
...
...
@@ -12,8 +12,8 @@
#include "lv_ddlist.h"
#include "../lv_draw/lv_draw.h"
#include "../lv_
obj
/lv_group.h"
#include "../lv_
obj
/lv_indev.h"
#include "../lv_
core
/lv_group.h"
#include "../lv_
core
/lv_indev.h"
#include "../lv_themes/lv_theme.h"
#include "../lv_misc/lv_fonts/symbol_def.h"
#include "../lv_misc/lv_anim.h"
...
...
lv_objx/lv_ddlist.h
View file @
514d2b38
...
...
@@ -25,7 +25,7 @@ extern "C" {
#error "lv_ddlist: lv_label is required. Enable it in lv_conf.h (USE_LV_LABEL 1) "
#endif
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
#include "../lv_objx/lv_page.h"
#include "../lv_objx/lv_label.h"
...
...
lv_objx/lv_gauge.h
View file @
514d2b38
...
...
@@ -21,7 +21,7 @@ extern "C" {
#error "lv_gauge: lv_lmeter is required. Enable it in lv_conf.h (USE_LV_LMETER 1) "
#endif
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
#include "lv_lmeter.h"
#include "lv_label.h"
#include "lv_line.h"
...
...
lv_objx/lv_img.h
View file @
514d2b38
...
...
@@ -16,7 +16,7 @@ extern "C" {
#include "../../lv_conf.h"
#if USE_LV_IMG != 0
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
#include "../lv_misc/lv_fs.h"
#include "../lv_misc/lv_fonts/symbol_def.h"
#include "lv_label.h"
...
...
lv_objx/lv_kb.h
View file @
514d2b38
...
...
@@ -16,7 +16,7 @@ extern "C" {
#include "../../lv_conf.h"
#if USE_LV_KB != 0
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
#include "lv_btnm.h"
/*********************
...
...
lv_objx/lv_label.c
View file @
514d2b38
...
...
@@ -10,8 +10,8 @@
#if USE_LV_LABEL != 0
#include "lv_label.h"
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
obj
/lv_group.h"
#include "../lv_
core
/lv_obj.h"
#include "../lv_
core
/lv_group.h"
#include "../lv_draw/lv_draw.h"
#include "../lv_misc/lv_color.h"
#include "../lv_misc/lv_math.h"
...
...
@@ -629,7 +629,7 @@ static bool lv_label_design(lv_obj_t * label, const lv_area_t * mask, lv_design_
lv_style_t
*
style
=
lv_obj_get_style
(
label
);
lv_obj_get_coords
(
label
,
&
cords
);
#if LV_
OBJ_
GROUP != 0
#if LV_GROUP != 0
lv_group_t
*
g
=
lv_obj_get_group
(
label
);
if
(
lv_group_get_focused
(
g
)
==
label
)
{
lv_draw_rect
(
&
cords
,
mask
,
style
);
...
...
lv_objx/lv_label.h
View file @
514d2b38
...
...
@@ -16,7 +16,7 @@ extern "C" {
#include "../../lv_conf.h"
#if USE_LV_LABEL != 0
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
#include "../lv_misc/lv_font.h"
#include "../lv_misc/lv_txt.h"
#include "../lv_misc/lv_fonts/symbol_def.h"
...
...
lv_objx/lv_led.h
View file @
514d2b38
...
...
@@ -16,7 +16,7 @@ extern "C" {
#include "../../lv_conf.h"
#if USE_LV_LED != 0
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
/*********************
* DEFINES
...
...
lv_objx/lv_line.h
View file @
514d2b38
...
...
@@ -16,7 +16,7 @@ extern "C" {
#include "../../lv_conf.h"
#if USE_LV_LINE != 0
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
/*********************
* DEFINES
...
...
lv_objx/lv_list.c
View file @
514d2b38
...
...
@@ -10,7 +10,7 @@
#if USE_LV_LIST != 0
#include "lv_list.h"
#include "../lv_
obj
/lv_group.h"
#include "../lv_
core
/lv_group.h"
#include "../lv_themes/lv_theme.h"
#include "../lv_misc/lv_anim.h"
#include "../lv_misc/lv_math.h"
...
...
lv_objx/lv_list.h
View file @
514d2b38
...
...
@@ -30,7 +30,7 @@ extern "C" {
#endif
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
#include "lv_page.h"
#include "lv_btn.h"
#include "lv_label.h"
...
...
lv_objx/lv_lmeter.c
View file @
514d2b38
...
...
@@ -12,7 +12,7 @@
#include "lv_lmeter.h"
#include "../lv_draw/lv_draw.h"
#include "../lv_themes/lv_theme.h"
#include "../lv_
obj
/lv_group.h"
#include "../lv_
core
/lv_group.h"
#include "../lv_misc/lv_trigo.h"
/*********************
...
...
@@ -242,7 +242,7 @@ static bool lv_lmeter_design(lv_obj_t * lmeter, const lv_area_t * mask, lv_desig
memcpy
(
&
style_tmp
,
style
,
sizeof
(
lv_style_t
));
#if LV_
OBJ_
GROUP
#if LV_GROUP
lv_group_t
*
g
=
lv_obj_get_group
(
lmeter
);
if
(
lv_group_get_focused
(
g
)
==
lmeter
)
{
style_tmp
.
line
.
width
+=
1
<<
LV_ANTIALIAS
;
...
...
lv_objx/lv_lmeter.h
View file @
514d2b38
...
...
@@ -16,7 +16,7 @@ extern "C" {
#include "../../lv_conf.h"
#if USE_LV_LMETER != 0
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
/*********************
* DEFINES
...
...
lv_objx/lv_mbox.c
View file @
514d2b38
...
...
@@ -11,7 +11,7 @@
#if USE_LV_MBOX != 0
#include "lv_mbox.h"
#include "../lv_
obj
/lv_group.h"
#include "../lv_
core
/lv_group.h"
#include "../lv_themes/lv_theme.h"
#include "../lv_misc/lv_anim.h"
#include "../lv_misc/lv_math.h"
...
...
lv_objx/lv_mbox.h
View file @
514d2b38
...
...
@@ -30,7 +30,7 @@ extern "C" {
#endif
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
#include "lv_cont.h"
#include "lv_btnm.h"
#include "lv_label.h"
...
...
lv_objx/lv_objx_templ.h
View file @
514d2b38
...
...
@@ -24,7 +24,7 @@ extern "C" {
#include "../../lv_conf.h"
#if USE_LV_TEMPL != 0
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
/*********************
* DEFINES
...
...
lv_objx/lv_page.c
View file @
514d2b38
...
...
@@ -9,11 +9,11 @@
#include "../../lv_conf.h"
#if USE_LV_PAGE != 0
#include "../lv_
obj
/lv_group.h"
#include "../lv_
core
/lv_group.h"
#include "../lv_objx/lv_page.h"
#include "../lv_draw/lv_draw.h"
#include "../lv_themes/lv_theme.h"
#include "../lv_
obj
/lv_refr.h"
#include "../lv_
core
/lv_refr.h"
#include "../lv_misc/lv_anim.h"
#include "../lv_misc/lv_math.h"
...
...
@@ -389,7 +389,7 @@ static bool lv_scrl_design(lv_obj_t * scrl, const lv_area_t * mask, lv_design_mo
if
(
mode
==
LV_DESIGN_COVER_CHK
)
{
return
ancestor_design
(
scrl
,
mask
,
mode
);
}
else
if
(
mode
==
LV_DESIGN_DRAW_MAIN
)
{
#if LV_
OBJ_
GROUP != 0
#if LV_GROUP != 0
/* If the page is the active in a group and
* the background (page) is not visible (transparent or empty)
* then activate the style of the scrollable*/
...
...
@@ -407,7 +407,7 @@ static bool lv_scrl_design(lv_obj_t * scrl, const lv_area_t * mask, lv_design_mo
#endif
ancestor_design
(
scrl
,
mask
,
mode
);
#if LV_
OBJ_
GROUP != 0
#if LV_GROUP != 0
scrl
->
style_p
=
style_ori
;
/*Revert the style*/
#endif
}
else
if
(
mode
==
LV_DESIGN_DRAW_POST
)
{
...
...
lv_objx/lv_page.h
View file @
514d2b38
...
...
@@ -22,7 +22,7 @@ extern "C" {
#endif
#include "lv_cont.h"
#include "../lv_
obj
/lv_indev.h"
#include "../lv_
core
/lv_indev.h"
/*********************
* DEFINES
...
...
lv_objx/lv_roller.c
View file @
514d2b38
...
...
@@ -11,7 +11,7 @@
#include "lv_roller.h"
#include "../lv_draw/lv_draw.h"
#include "../lv_
obj
/lv_group.h"
#include "../lv_
core
/lv_group.h"
#include "../lv_themes/lv_theme.h"
/*********************
...
...
lv_objx/lv_roller.h
View file @
514d2b38
...
...
@@ -16,7 +16,7 @@ extern "C" {
#include "../../lv_conf.h"
#if USE_LV_ROLLER != 0
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
#include "lv_ddlist.h"
/*********************
...
...
lv_objx/lv_slider.c
View file @
514d2b38
...
...
@@ -10,7 +10,7 @@
#if USE_LV_SLIDER != 0
#include "lv_slider.h"
#include "../lv_
obj
/lv_group.h"
#include "../lv_
core
/lv_group.h"
#include "../lv_draw/lv_draw.h"
#include "../lv_themes/lv_theme.h"
#include "../lv_misc/lv_math.h"
...
...
lv_objx/lv_slider.h
View file @
514d2b38
...
...
@@ -16,7 +16,7 @@ extern "C" {
#include "../../lv_conf.h"
#if USE_LV_SLIDER != 0
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
#include "lv_bar.h"
/*********************
...
...
lv_objx/lv_sw.h
View file @
514d2b38
...
...
@@ -21,7 +21,7 @@ extern "C" {
#error "lv_sw: lv_slider is required. Enable it in lv_conf.h (USE_LV_SLIDER 1)"
#endif
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
#include "lv_slider.h"
/*********************
...
...
lv_objx/lv_ta.c
View file @
514d2b38
...
...
@@ -11,7 +11,7 @@
#if USE_LV_TA != 0
#include "lv_ta.h"
#include "../lv_
obj
/lv_group.h"
#include "../lv_
core
/lv_group.h"
#include "../lv_draw/lv_draw.h"
#include "../lv_themes/lv_theme.h"
#include "../lv_misc/lv_anim.h"
...
...
lv_objx/lv_ta.h
View file @
514d2b38
...
...
@@ -25,7 +25,7 @@ extern "C" {
#error "lv_ta: lv_label is required. Enable it in lv_conf.h (USE_LV_LABEL 1) "
#endif
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
#include "lv_page.h"
#include "lv_label.h"
...
...
lv_objx/lv_tabview.h
View file @
514d2b38
...
...
@@ -26,7 +26,7 @@ extern "C" {
#error "lv_tabview: lv_page is required. Enable it in lv_conf.h (USE_LV_PAGE 1) "
#endif
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
#include "../lv_objx/lv_win.h"
#include "../lv_objx/lv_page.h"
...
...
lv_objx/lv_win.h
View file @
514d2b38
...
...
@@ -34,7 +34,7 @@ extern "C" {
#error "lv_win: lv_page is required. Enable it in lv_conf.h (USE_LV_PAGE 1) "
#endif
#include "../lv_
obj
/lv_obj.h"
#include "../lv_
core
/lv_obj.h"
#include "lv_cont.h"
#include "lv_btn.h"
#include "lv_label.h"
...
...
lv_themes/lv_theme.h
View file @
514d2b38
...
...
@@ -14,7 +14,7 @@ extern "C" {
* INCLUDES
*********************/
#include "../../lv_conf.h"
#include "../lv_
obj
/lv_style.h"
#include "../lv_
core
/lv_style.h"
/*********************
* DEFINES
...
...
lvgl.h
View file @
514d2b38
...
...
@@ -19,8 +19,9 @@ extern "C" {
#include "lv_hal/lv_hal.h"
#include "lv_obj/lv_obj.h"
#include "lv_obj/lv_group.h"
#include "lv_core/lv_obj.h"
#include "lv_core/lv_group.h"
#include "lv_core/lv_vdb.h"
#include "lv_themes/lv_theme.h"
...
...
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