Go to the source code of this file.
|
| struct | __attribute__ ((__packed__)) |
| |
| | DEFINE_MESSAGE (figure, _a, _b, _c, _d, _e) |
| |
| | DEFINE_MESSAGE (line, _a, _b, _c, end_x, end_y) |
| |
| | DEFINE_MESSAGE (rect, _a, _b, _c, end_x, end_y) |
| |
| | DEFINE_MESSAGE (round, _a, _b, r, _d, _e) |
| |
| | DEFINE_MESSAGE (ellipse, _a, _b, _c, rx, ry) |
| |
| | DEFINE_MESSAGE (arc, start_angle, end_angle, _c, rx, ry) |
| |
◆ CAT
◆ DEFINE_MESSAGE
| #define DEFINE_MESSAGE |
( |
|
name, |
|
|
|
p_a, |
|
|
|
p_b, |
|
|
|
p_c, |
|
|
|
p_d, |
|
|
|
p_e |
|
) |
| |
Value:
uint8_t figure_name[3]; \
uint32_t operate_type:3; \
uint32_t figure_type:3; \
uint32_t layer:4; \
uint32_t color:4; \
uint32_t width:10; \
uint32_t start_x:11; \
uint32_t start_y:11; \
} MESSAGE_PACKED ui_interface_ ## name ##_t
#define PRIMITIVE_CAT(x, y)
Definition ui_types.h:56
struct __attribute__((__packed__))
Definition ui_types.h:25
◆ PRIMITIVE_CAT
| #define PRIMITIVE_CAT |
( |
|
x, |
|
|
|
y |
|
) |
| x ## y |
◆ __attribute__()
| struct __attribute__ |
( |
(__packed__) |
| ) |
|
◆ DEFINE_MESSAGE() [1/6]
| DEFINE_MESSAGE |
( |
arc |
, |
|
|
start_angle |
, |
|
|
end_angle |
, |
|
|
_c |
, |
|
|
rx |
, |
|
|
ry |
|
|
) |
| |
◆ DEFINE_MESSAGE() [2/6]
| DEFINE_MESSAGE |
( |
ellipse |
, |
|
|
_a |
, |
|
|
_b |
, |
|
|
_c |
, |
|
|
rx |
, |
|
|
ry |
|
|
) |
| |
◆ DEFINE_MESSAGE() [3/6]
| DEFINE_MESSAGE |
( |
figure |
, |
|
|
_a |
, |
|
|
_b |
, |
|
|
_c |
, |
|
|
_d |
, |
|
|
_e |
|
|
) |
| |
◆ DEFINE_MESSAGE() [4/6]
| DEFINE_MESSAGE |
( |
line |
, |
|
|
_a |
, |
|
|
_b |
, |
|
|
_c |
, |
|
|
end_x |
, |
|
|
end_y |
|
|
) |
| |
◆ DEFINE_MESSAGE() [5/6]
| DEFINE_MESSAGE |
( |
rect |
, |
|
|
_a |
, |
|
|
_b |
, |
|
|
_c |
, |
|
|
end_x |
, |
|
|
end_y |
|
|
) |
| |
◆ DEFINE_MESSAGE() [6/6]
| DEFINE_MESSAGE |
( |
round |
, |
|
|
_a |
, |
|
|
_b |
, |
|
|
r |
, |
|
|
_d |
, |
|
|
_e |
|
|
) |
| |
◆ ui_1_frame_t
| MESSAGE_PACKED ui_1_frame_t |
◆ ui_2_frame_t
| MESSAGE_PACKED ui_2_frame_t |
◆ ui_5_frame_t
| MESSAGE_PACKED ui_5_frame_t |
◆ ui_7_frame_t
| MESSAGE_PACKED ui_7_frame_t |
◆ ui_delete_frame_t
| MESSAGE_PACKED ui_delete_frame_t |
◆ ui_frame_header_t
| MESSAGE_PACKED ui_frame_header_t |
◆ ui_interface_number_t
| MESSAGE_PACKED ui_interface_number_t |
◆ ui_interface_string_t
| MESSAGE_PACKED ui_interface_string_t |
◆ ui_string_frame_t
| MESSAGE_PACKED ui_string_frame_t |