draw window frame
[windtk] / src / wtimpl.h
index f4956ac..76e51f1 100644 (file)
@@ -20,7 +20,8 @@ enum {
        NUM_COLORS
 };
 
-enum { FRM_OUT, FRM_IN };
+enum { FRM_OUT, FRM_IN, FRM_NOFILL = 0x8000 };
+#define FRMSTYLE(x)    ((x) & 0xff)
 
 struct wt_context {
        struct wt_graphics gfx;
@@ -29,6 +30,8 @@ struct wt_context {
        struct wt_theme *theme;
 
        int colors[NUM_COLORS];
+
+       wt_widget *focuswin;
 };
 
 extern struct wt_context *wt_curctx_;