15 typedef struct rtk_any {
17 int x, y, width, height;
21 union rtk_widget *par, *next;
26 typedef struct rtk_window {
28 union rtk_widget *clist, *ctail;
32 typedef struct rtk_button {
37 typedef union rtk_widget {
44 typedef struct rtk_icon {
46 int width, height, scanlen;
49 struct rtk_icon *next;
52 typedef struct rtk_iconsheet {
56 struct rtk_icon *icons;
59 #define RTK_ASSERT_TYPE(w, t) assert(w->any.type == t)
62 #endif /* RTK_IMPL_H_ */