refactoring enum declaration

This commit is contained in:
Zaltora
2018-09-18 13:59:40 +02:00
parent bf8eb078ca
commit 589e7f28e0
35 changed files with 164 additions and 110 deletions

View File

@@ -68,7 +68,7 @@ typedef struct
lv_coord_t btn_size; /*Size of the control buttons (square)*/
} lv_win_ext_t;
typedef enum {
enum {
LV_WIN_STYLE_BG,
LV_WIN_STYLE_CONTENT_BG,
LV_WIN_STYLE_CONTENT_SCRL,
@@ -76,7 +76,8 @@ typedef enum {
LV_WIN_STYLE_HEADER,
LV_WIN_STYLE_BTN_REL,
LV_WIN_STYLE_BTN_PR,
} lv_win_style_t;
};
typedef uint8_t lv_win_style_t;
/**********************
* GLOBAL PROTOTYPES