Factor out widget_set_{handler,timer}() from app
This commit is contained in:
@ -38,7 +38,7 @@ struct widget_t *widget_find(uint16_t x, uint16_t y);
|
||||
void widget_remove(struct widget_t *widget);
|
||||
*/
|
||||
|
||||
struct widget_t *widget_create(char *name, uint16_t x, uint16_t y, uint16_t w, uint16_t h, uint32_t timer_msec, widget_event_fn handler, void *user_data);
|
||||
struct widget_t *widget_create(char *name, uint16_t x, uint16_t y, uint16_t w, uint16_t h);
|
||||
void widget_set_handler(struct widget_t *w, widget_event_fn handler, void *user_data);
|
||||
void widget_delete_handler(struct widget_t *w);
|
||||
void widget_set_timer(struct widget_t *w, uint32_t timer_msec);
|
||||
|
Reference in New Issue
Block a user