7 typedef struct rtk_any {
9 int x, y, width, height;
12 union rtk_widget *par, *next;
17 typedef struct rtk_window {
19 union rtk_widget *clist, *ctail;
23 typedef struct rtk_button {
28 typedef struct rtk_checkbox {
33 typedef union rtk_widget {
43 #define RTK_ASSERT_TYPE(w, t) assert(w->any.type == t)
46 #endif /* RTK_IMPL_H_ */