- DRAW_ROUNDEDCORNERS_NONE = 0,
- DRAW_ROUNDEDCORNERS_ALL = 1,
- DRAW_ROUNDEDCORNERS_TOP = 2,
- DRAW_ROUNDEDCORNERS_BOTTOM = 3,
- DRAW_ROUNDEDCORNERS_LEFT = 4,
- DRAW_ROUNDEDCORNERS_RIGHT = 5
-} drawRoundedCorners_t;
-
-typedef enum
-{
- DRAW_CORNERPOSITION_TOPLEFT = 0,
- DRAW_CORNERPOSITION_TOPRIGHT = 1,
- DRAW_CORNERPOSITION_BOTTOMLEFT = 2,
- DRAW_CORNERPOSITION_BOTTOMRIGHT = 3
-} drawCornerPosition_t;
+ DRAW_CORNERS_NONE = 0x00,
+ DRAW_CORNERS_TOPLEFT = 0x01,
+ DRAW_CORNERS_TOPRIGHT = 0x02,
+ DRAW_CORNERS_BOTTOMLEFT = 0x04,
+ DRAW_CORNERS_BOTTOMRIGHT = 0x08,
+ DRAW_CORNERS_ALL = 0x0F, // 0x01 + 0x02 + 0x04 + 0x08
+ DRAW_CORNERS_TOP = 0x03, // 0x01 + 0x02
+ DRAW_CORNERS_BOTTOM = 0x0C, // 0x04 + 0x08
+ DRAW_CORNERS_LEFT = 0x05, // 0x01 + 0x04
+ DRAW_CORNERS_RIGHT = 0x0A // 0x02 + 0x08
+} drawCorners_t;