refactor(meter, chart) make them extra widgets instead of core
This commit is contained in:
@@ -381,7 +381,6 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
|
|||||||
|
|
||||||
#define LV_USE_CHECKBOX 1
|
#define LV_USE_CHECKBOX 1
|
||||||
|
|
||||||
#define LV_USE_CHART 1
|
|
||||||
|
|
||||||
#define LV_USE_DROPDOWN 1 /*Requires: lv_label*/
|
#define LV_USE_DROPDOWN 1 /*Requires: lv_label*/
|
||||||
|
|
||||||
@@ -395,8 +394,6 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
|
|||||||
|
|
||||||
#define LV_USE_LINE 1
|
#define LV_USE_LINE 1
|
||||||
|
|
||||||
#define LV_USE_METER 1
|
|
||||||
|
|
||||||
#define LV_USE_ROLLER 1 /*Requires: lv_label*/
|
#define LV_USE_ROLLER 1 /*Requires: lv_label*/
|
||||||
#if LV_USE_ROLLER
|
#if LV_USE_ROLLER
|
||||||
# define LV_ROLLER_INF_PAGES 7 /*Number of extra "pages" when the roller is infinite*/
|
# define LV_ROLLER_INF_PAGES 7 /*Number of extra "pages" when the roller is infinite*/
|
||||||
@@ -434,6 +431,8 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
|
|||||||
# define LV_USE_CALENDAR_HEADER_DROPDOWN 1
|
# define LV_USE_CALENDAR_HEADER_DROPDOWN 1
|
||||||
#endif /*LV_USE_CALENDAR*/
|
#endif /*LV_USE_CALENDAR*/
|
||||||
|
|
||||||
|
#define LV_USE_CHART 1
|
||||||
|
|
||||||
#define LV_USE_COLORWHEEL 1
|
#define LV_USE_COLORWHEEL 1
|
||||||
|
|
||||||
#define LV_USE_IMGBTN 1
|
#define LV_USE_IMGBTN 1
|
||||||
@@ -444,6 +443,8 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
|
|||||||
|
|
||||||
#define LV_USE_LIST 1
|
#define LV_USE_LIST 1
|
||||||
|
|
||||||
|
#define LV_USE_METER 1
|
||||||
|
|
||||||
#define LV_USE_MSGBOX 1
|
#define LV_USE_MSGBOX 1
|
||||||
|
|
||||||
#define LV_USE_SPINBOX 1
|
#define LV_USE_SPINBOX 1
|
||||||
|
|||||||
2
lvgl.h
2
lvgl.h
@@ -47,7 +47,6 @@ extern "C" {
|
|||||||
#include "src/widgets/lv_img.h"
|
#include "src/widgets/lv_img.h"
|
||||||
#include "src/widgets/lv_label.h"
|
#include "src/widgets/lv_label.h"
|
||||||
#include "src/widgets/lv_line.h"
|
#include "src/widgets/lv_line.h"
|
||||||
#include "src/widgets/lv_chart.h"
|
|
||||||
#include "src/widgets/lv_table.h"
|
#include "src/widgets/lv_table.h"
|
||||||
#include "src/widgets/lv_checkbox.h"
|
#include "src/widgets/lv_checkbox.h"
|
||||||
#include "src/widgets/lv_bar.h"
|
#include "src/widgets/lv_bar.h"
|
||||||
@@ -57,7 +56,6 @@ extern "C" {
|
|||||||
#include "src/widgets/lv_roller.h"
|
#include "src/widgets/lv_roller.h"
|
||||||
#include "src/widgets/lv_textarea.h"
|
#include "src/widgets/lv_textarea.h"
|
||||||
#include "src/widgets/lv_canvas.h"
|
#include "src/widgets/lv_canvas.h"
|
||||||
#include "src/widgets/lv_meter.h"
|
|
||||||
#include "src/widgets/lv_switch.h"
|
#include "src/widgets/lv_switch.h"
|
||||||
|
|
||||||
#include "src/draw/lv_img_cache.h"
|
#include "src/draw/lv_img_cache.h"
|
||||||
|
|||||||
@@ -9,13 +9,6 @@
|
|||||||
#include "lv_chart.h"
|
#include "lv_chart.h"
|
||||||
#if LV_USE_CHART != 0
|
#if LV_USE_CHART != 0
|
||||||
|
|
||||||
#include "../misc/lv_assert.h"
|
|
||||||
#include "../core/lv_refr.h"
|
|
||||||
#include "../draw/lv_draw.h"
|
|
||||||
#include "../core/lv_disp.h"
|
|
||||||
#include "../core/lv_indev.h"
|
|
||||||
#include "../misc/lv_math.h"
|
|
||||||
|
|
||||||
/*********************
|
/*********************
|
||||||
* DEFINES
|
* DEFINES
|
||||||
*********************/
|
*********************/
|
||||||
@@ -13,13 +13,10 @@ extern "C" {
|
|||||||
/*********************
|
/*********************
|
||||||
* INCLUDES
|
* INCLUDES
|
||||||
*********************/
|
*********************/
|
||||||
#include "../lv_conf_internal.h"
|
#include "../../../lvgl.h"
|
||||||
|
|
||||||
#if LV_USE_CHART != 0
|
#if LV_USE_CHART != 0
|
||||||
|
|
||||||
#include "../core/lv_obj.h"
|
|
||||||
#include "lv_line.h"
|
|
||||||
|
|
||||||
/*********************
|
/*********************
|
||||||
* DEFINES
|
* DEFINES
|
||||||
*********************/
|
*********************/
|
||||||
@@ -16,9 +16,11 @@ extern "C" {
|
|||||||
#include "calendar/lv_calendar.h"
|
#include "calendar/lv_calendar.h"
|
||||||
#include "calendar/lv_calendar_header_arrow.h"
|
#include "calendar/lv_calendar_header_arrow.h"
|
||||||
#include "calendar/lv_calendar_header_dropdown.h"
|
#include "calendar/lv_calendar_header_dropdown.h"
|
||||||
|
#include "chart/lv_chart.h"
|
||||||
#include "keyboard/lv_keyboard.h"
|
#include "keyboard/lv_keyboard.h"
|
||||||
#include "list/lv_list.h"
|
#include "list/lv_list.h"
|
||||||
#include "msgbox/lv_msgbox.h"
|
#include "msgbox/lv_msgbox.h"
|
||||||
|
#include "meter/lv_meter.h"
|
||||||
#include "spinbox/lv_spinbox.h"
|
#include "spinbox/lv_spinbox.h"
|
||||||
#include "spinner/lv_spinner.h"
|
#include "spinner/lv_spinner.h"
|
||||||
#include "tabview/lv_tabview.h"
|
#include "tabview/lv_tabview.h"
|
||||||
|
|||||||
@@ -9,12 +9,6 @@
|
|||||||
#include "lv_meter.h"
|
#include "lv_meter.h"
|
||||||
#if LV_USE_METER != 0
|
#if LV_USE_METER != 0
|
||||||
|
|
||||||
#include "../misc/lv_assert.h"
|
|
||||||
#include "../draw/lv_draw.h"
|
|
||||||
#include "../core/lv_group.h"
|
|
||||||
#include "../misc/lv_math.h"
|
|
||||||
#include "../core/lv_disp.h"
|
|
||||||
|
|
||||||
/*********************
|
/*********************
|
||||||
* DEFINES
|
* DEFINES
|
||||||
*********************/
|
*********************/
|
||||||
@@ -13,12 +13,10 @@ extern "C" {
|
|||||||
/*********************
|
/*********************
|
||||||
* INCLUDES
|
* INCLUDES
|
||||||
*********************/
|
*********************/
|
||||||
#include "../lv_conf_internal.h"
|
#include "../../../lvgl.h"
|
||||||
|
|
||||||
#if LV_USE_METER != 0
|
#if LV_USE_METER != 0
|
||||||
|
|
||||||
#include "../core/lv_obj.h"
|
|
||||||
|
|
||||||
/*********************
|
/*********************
|
||||||
* DEFINES
|
* DEFINES
|
||||||
*********************/
|
*********************/
|
||||||
@@ -3,13 +3,11 @@ CSRCS += lv_bar.c
|
|||||||
CSRCS += lv_btn.c
|
CSRCS += lv_btn.c
|
||||||
CSRCS += lv_btnmatrix.c
|
CSRCS += lv_btnmatrix.c
|
||||||
CSRCS += lv_canvas.c
|
CSRCS += lv_canvas.c
|
||||||
CSRCS += lv_chart.c
|
|
||||||
CSRCS += lv_checkbox.c
|
CSRCS += lv_checkbox.c
|
||||||
CSRCS += lv_dropdown.c
|
CSRCS += lv_dropdown.c
|
||||||
CSRCS += lv_img.c
|
CSRCS += lv_img.c
|
||||||
CSRCS += lv_label.c
|
CSRCS += lv_label.c
|
||||||
CSRCS += lv_line.c
|
CSRCS += lv_line.c
|
||||||
CSRCS += lv_meter.c
|
|
||||||
CSRCS += lv_roller.c
|
CSRCS += lv_roller.c
|
||||||
CSRCS += lv_slider.c
|
CSRCS += lv_slider.c
|
||||||
CSRCS += lv_switch.c
|
CSRCS += lv_switch.c
|
||||||
|
|||||||
Reference in New Issue
Block a user