mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
Merge pull request #1395 from xennex22/dev-7.0
Rename/move some defines
This commit is contained in:
commit
107aafaf6a
@ -733,8 +733,8 @@
|
||||
#endif
|
||||
|
||||
/*Line meter (dependencies: *;)*/
|
||||
#ifndef LV_USE_LMETER
|
||||
#define LV_USE_LMETER 1
|
||||
#ifndef LV_USE_LINEMETER
|
||||
#define LV_USE_LINEMETER 1
|
||||
#endif
|
||||
|
||||
/*Mask (dependencies: -)*/
|
||||
|
@ -54,4 +54,4 @@ lv_theme_t * lv_theme_material_init(lv_color_t color_primary, lv_color_t color_s
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /*LV_THEME_ALIEN_H*/
|
||||
#endif /*LV_THEME_MATERIAL_H*/
|
||||
|
@ -18,8 +18,8 @@ extern "C" {
|
||||
#if LV_USE_GAUGE != 0
|
||||
|
||||
/*Testing of dependencies*/
|
||||
#if LV_USE_LMETER == 0
|
||||
#error "lv_gauge: lv_linemeter is required. Enable it in lv_conf.h (LV_USE_LMETER 1) "
|
||||
#if LV_USE_LINEMETER == 0
|
||||
#error "lv_gauge: lv_linemeter is required. Enable it in lv_conf.h (LV_USE_LINEMETER 1) "
|
||||
#endif
|
||||
|
||||
#include "../lv_core/lv_obj.h"
|
||||
|
@ -19,8 +19,6 @@
|
||||
*********************/
|
||||
#define LV_OBJX_NAME "lv_keyboard"
|
||||
|
||||
#define LV_KEYBOARD_CTRL_BTN_FLAGS (LV_BTNMATRIX_CTRL_NO_REPEAT | LV_BTNMATRIX_CTRL_CLICK_TRIG)
|
||||
|
||||
/**********************
|
||||
* TYPEDEFS
|
||||
**********************/
|
||||
|
@ -32,6 +32,7 @@ extern "C" {
|
||||
/*********************
|
||||
* DEFINES
|
||||
*********************/
|
||||
#define LV_KEYBOARD_CTRL_BTN_FLAGS (LV_BTNMATRIX_CTRL_NO_REPEAT | LV_BTNMATRIX_CTRL_CLICK_TRIG)
|
||||
|
||||
/**********************
|
||||
* TYPEDEFS
|
||||
|
@ -15,7 +15,7 @@ extern "C" {
|
||||
*********************/
|
||||
#include "../lv_conf_internal.h"
|
||||
|
||||
#if LV_USE_LMETER != 0
|
||||
#if LV_USE_LINEMETER != 0
|
||||
|
||||
#include "../lv_core/lv_obj.h"
|
||||
|
||||
@ -146,7 +146,7 @@ void lv_linemeter_draw_scale(lv_obj_t * lmeter, const lv_area_t * clip_area, uin
|
||||
* MACROS
|
||||
**********************/
|
||||
|
||||
#endif /*LV_USE_LMETER*/
|
||||
#endif /*LV_USE_LINEMETER*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
|
Loading…
x
Reference in New Issue
Block a user