X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ftuipriv.h;fp=src%2Ftuipriv.h;h=db444cfd7cd47a1cd6d9812bcc8139b9a172230e;hb=2f4fb7c15c5017546238241ea318b16b9a032c52;hp=144e500d8a58e2bf3fcf7a6ac4180cf8096be976;hpb=8091cf11d15e1363d8d608fb640f4f12b0887e52;p=oftp diff --git a/src/tuipriv.h b/src/tuipriv.h index 144e500..db444cf 100644 --- a/src/tuipriv.h +++ b/src/tuipriv.h @@ -3,13 +3,18 @@ #include "tui.h" +enum { + TUI_DRAW = TUI_NUM_CALLBACKS, + TUI_FREE +}; + #define WCOMMON \ int type; \ char *title; \ int x, y, width, height; \ tui_callback cbfunc[TUI_NUM_CALLBACKS]; \ void *cbcls[TUI_NUM_CALLBACKS]; \ - struct widget *next + struct tui_widget *par, *child, *next struct tui_widget { WCOMMON;