11#ifndef __MUTEKI_UI_TYPES_IMAGECLIP_H__
12#define __MUTEKI_UI_TYPES_IMAGECLIP_H__
UI framework type (component, group, event) definitions.
struct ui_component_s ui_component_t
ui_component_s
Definition framework.h:71
struct ui_imageclip_s ui_imageclip_t
Image clip subwidget type.
Definition imageclip.h:24
Image clip subwidget struct.
Definition imageclip.h:30
int unk_0x40
Unknown. Probably padding bytes.
Definition imageclip.h:57
unsigned short blit_mode
Blit mode.
Definition imageclip.h:74
ui_component_t component
The inherited component struct.
Definition imageclip.h:34
lcd_surface_t * surface
Allocated surface that contains the background image.
Definition imageclip.h:49
unsigned short image_allocated
Non-zero if the image surface is allocated by us.
Definition imageclip.h:69
int unk_0x4c[5]
Unknown. Seems unused.
Definition imageclip.h:78
short image_offset_x
X offset within the background image.
Definition imageclip.h:61
int builtin_background_id
Background image ID if it is a built-in image. Otherwise it should be -1.
Definition imageclip.h:53
bool(*) on_replace_image(ui_imageclip_t *self, unsigned int x, unsigned int y, lcd_surface_t *surface, int free_surface, int notify_redraw)
Replace image callback.
Definition imageclip.h:38
short image_offset_y
Y offset within the background image.
Definition imageclip.h:65
Surface type definitions.
struct lcd_surface_s lcd_surface_t
Descriptor of an LCD drawing surface or hardware framebuffer.