X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fwidget.h;h=e7c44dccaf95b6de1b65ed2b082ea8839006a8de;hb=HEAD;hp=c174f43dcaaf876f4d9d53f86f240a13a11c60b5;hpb=526fc352816f21f1cbfa8110262a58224c14d208;p=windtk diff --git a/src/widget.h b/src/widget.h index c174f43..e7c44dc 100644 --- a/src/widget.h +++ b/src/widget.h @@ -16,6 +16,8 @@ struct wt_widget { wt_callback_func cb[WT_NUM_CALLBACKS]; void *cbcls[WT_NUM_CALLBACKS]; + int dirty; /* redraw pending */ + wt_draw_func draw; void (*click)(struct wt_widget *w); void (*keypress)(struct wt_widget *w, int key);