1、refactor battery indicator
This commit is contained in:
1 parent
0becd90755
commit
9686a7ff68
5 files changed
+160
-37
No files matched your search
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
#include "lvgl.h"
|
||||
#include "lvgl_private.h"
|
||||
|
||||
struct _lv_battery_indicator_t {
|
||||
lv_obj_t obj;
|
||||
uint8_t percentage;
|
||||
lv_obj_t* indicator;
|
||||
lv_obj_t* label;
|
||||
uint32_t label_text_color;
|
||||
uint32_t label_bg_color;
|
||||
};
|
||||
Reference in new issue
Block a user