23 enum { FRM_OUT, FRM_IN };
26 struct wt_graphics gfx;
29 struct wt_theme *theme;
31 int colors[NUM_COLORS];
34 extern struct wt_context *wt_curctx_;
37 extern void *(*wt_alloc)(size_t sz);
38 extern void (*wt_free)(void *p);
40 void *wt_zalloc(size_t sz);
42 void wt_gfx_color(int cidx);
43 void wt_gfx_fillrect(struct wt_rect *r);
44 void wt_gfx_frame(struct wt_rect *r, int style, int basecol);
45 void wt_gfx_line(int x0, int y0, int x1, int y1);
47 #endif /* WTIMPL_H_ */