3 static void draw_win(wt_widget *w);
5 wt_widget *wt_window(wt_widget *par, const char *title, int style, int x, int y, int xsz, int ysz)
9 if(!(w = wt_alloc_widget(par))) {
12 w->type = WT_TYPE_WINDOW;
13 wt_set_text(w, title);
15 wt_resize(w, xsz, ysz);
22 static void draw_win(wt_widget *w)
25 wt_gfx_fillrect(&w->rect);