X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ftuipriv.h;h=27a18b57bcdc72f77cb4108a6034114eea1f70c2;hb=2ba6401e39bcfaaccaa45e6b7ef780a7a15b0c48;hp=144e500d8a58e2bf3fcf7a6ac4180cf8096be976;hpb=6478a82a947e3662c31b95682661f2de9952944d;p=oftp diff --git a/src/tuipriv.h b/src/tuipriv.h index 144e500..27a18b5 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; @@ -24,6 +29,6 @@ struct tui_list { WCOMMON; char **entries; /* darr */ }; - + #endif /* TUIPRIV_H_ */