|
PatchworkOS
|
Go to the source code of this file.
Functions | |
| static uint64_t | label_procedure (window_t *win, element_t *elem, const event_t *event) |
| element_t * | label_new (element_t *parent, element_id_t id, const rect_t *rect, const char *text, element_flags_t flags) |
| Create a new label element. | |
Definition at line 6 of file label.c.
References theme_color_set_t::backgroundNormal, draw_frame(), draw_rect(), draw_text(), element_draw_begin(), element_draw_end(), ELEMENT_FLAT, element_get_content_rect(), element_get_theme(), element_t::flags, text_props_t::font, theme_color_set_t::foregroundNormal, theme_t::frameSize, theme_color_set_t::highlight, LEVENT_REDRAW, RECT_SHRINK, theme_color_set_t::shadow, element_t::text, element_t::textProps, theme, event_t::type, theme_t::view, text_props_t::xAlign, and text_props_t::yAlign.
Referenced by label_new().