17 typedef struct rtk_any {
19 int x, y, width, height;
23 union rtk_widget *par, *next;
28 typedef struct rtk_window {
30 union rtk_widget *clist, *ctail;
34 typedef struct rtk_button {
39 typedef union rtk_widget {
46 typedef struct rtk_iconsheet {
50 struct rtk_icon *icons;
53 #define RTK_ASSERT_TYPE(w, t) assert(w->any.type == t)
56 #endif /* RTK_IMPL_H_ */