mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-04 06:42:54 +08:00
Merge branch 'dev-6.1' of github.com:littlevgl/lvgl into dev-6.1
This commit is contained in:
@@ -96,10 +96,13 @@ enum {
|
|||||||
|
|
||||||
typedef union
|
typedef union
|
||||||
{
|
{
|
||||||
uint8_t blue : 1;
|
struct
|
||||||
uint8_t green : 1;
|
{
|
||||||
uint8_t red : 1;
|
uint8_t blue : 1;
|
||||||
uint8_t full : 1;
|
uint8_t green : 1;
|
||||||
|
uint8_t red : 1;
|
||||||
|
} ch;
|
||||||
|
uint8_t full;
|
||||||
} lv_color1_t;
|
} lv_color1_t;
|
||||||
|
|
||||||
typedef union
|
typedef union
|
||||||
|
|||||||
+1
-1
@@ -149,7 +149,7 @@ static inline bool lv_cb_is_checked(const lv_obj_t * cb)
|
|||||||
*/
|
*/
|
||||||
static inline bool lv_cb_is_inactive(const lv_obj_t * cb)
|
static inline bool lv_cb_is_inactive(const lv_obj_t * cb)
|
||||||
{
|
{
|
||||||
return lv_btn_get_state(cb) == LV_BTN_STATE_INA ? false : true;
|
return lv_btn_get_state(cb) == LV_BTN_STATE_INA ? true :false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ extern "C" {
|
|||||||
*********************/
|
*********************/
|
||||||
#define LV_LABEL_DOT_NUM 3
|
#define LV_LABEL_DOT_NUM 3
|
||||||
#define LV_LABEL_POS_LAST 0xFFFF
|
#define LV_LABEL_POS_LAST 0xFFFF
|
||||||
#define LV_LABEL_TEXT_SEL_OFF 0
|
#define LV_LABEL_TEXT_SEL_OFF LV_DRAW_LABEL_NO_TXT_SEL
|
||||||
|
|
||||||
LV_EXPORT_CONST_INT(LV_LABEL_DOT_NUM);
|
LV_EXPORT_CONST_INT(LV_LABEL_DOT_NUM);
|
||||||
LV_EXPORT_CONST_INT(LV_LABEL_POS_LAST);
|
LV_EXPORT_CONST_INT(LV_LABEL_POS_LAST);
|
||||||
|
|||||||
Reference in New Issue
Block a user