|
ginnOS
The reference: libc, the libraries and the kernel
|
idunn: a small control with its label to the right (check box, radio, switch), 10 pixels apart as in the preview. More...
#include "idunn_internal.h"Macros | |
| #define | GAP 10 |
Functions | |
| void | idunn_option_measure (idunn_widget_t *w, int32_t control_w, int32_t control_h, const char *label, int32_t *width, int32_t *height) |
| gfx_rect_t | idunn_option_control (const idunn_widget_t *w, int32_t control_w, int32_t control_h) |
| void | idunn_option_draw_label (idunn_widget_t *w, gfx_buffer_t *buf, int32_t control_w, const char *label) |
| gfx_color_t | idunn_option_border (const idunn_theme_t *t) |
| the border of check boxes and radios (firmer than inputs in dark mode) | |
| void | idunn_draw_shadow (const idunn_theme_t *t, gfx_buffer_t *buf, gfx_rect_t box, int32_t radius, idunn_shadow_t which) |
| all the layers of a shadow token around a round box | |
idunn: a small control with its label to the right (check box, radio, switch), 10 pixels apart as in the preview.
a click on the label is a click on the control.
| #define GAP 10 |
| void idunn_option_measure | ( | idunn_widget_t * | w, |
| int32_t | control_w, | ||
| int32_t | control_h, | ||
| const char * | label, | ||
| int32_t * | width, | ||
| int32_t * | height ) |
| gfx_rect_t idunn_option_control | ( | const idunn_widget_t * | w, |
| int32_t | control_w, | ||
| int32_t | control_h ) |
| void idunn_option_draw_label | ( | idunn_widget_t * | w, |
| gfx_buffer_t * | buf, | ||
| int32_t | control_w, | ||
| const char * | label ) |
| gfx_color_t idunn_option_border | ( | const idunn_theme_t * | t | ) |
the border of check boxes and radios (firmer than inputs in dark mode)
| void idunn_draw_shadow | ( | const idunn_theme_t * | t, |
| gfx_buffer_t * | buf, | ||
| gfx_rect_t | box, | ||
| int32_t | radius, | ||
| idunn_shadow_t | which ) |
all the layers of a shadow token around a round box