wt_callback_func cb[WT_NUM_CALLBACKS];
void *cbcls[WT_NUM_CALLBACKS];
- void (*draw)(struct wt_widget *w);
+ wt_draw_func draw;
void (*click)(struct wt_widget *w);
void (*keypress)(struct wt_widget *w, int key);
void (*mbutton)(struct wt_widget *w, int bn, int st, int x, int y);
void (*mmotion)(struct wt_widget *w, int x, int y);
+
+ void (*use_theme)(struct wt_widget *w, struct wt_theme *theme);
};
#endif /* WIDGET_H_ */