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

@@ -32,7 +32,7 @@ extern "C" {
**********************/
/*Layout options*/
typedef enum
enum
{
LV_LAYOUT_OFF = 0,
LV_LAYOUT_CENTER,
@@ -44,7 +44,8 @@ typedef enum
LV_LAYOUT_ROW_B, /*Row bottom align*/
LV_LAYOUT_PRETTY, /*Put as many object as possible in row and begin a new row*/
LV_LAYOUT_GRID, /*Align same-sized object into a grid*/
} lv_layout_t;
};
typedef uint8_t lv_layout_t;
typedef struct
{