+typedef struct rtk_icon rtk_icon;
+typedef struct rtk_iconsheet rtk_iconsheet;
+
+typedef struct rtk_rect {
+ int x, y, width, height;
+} rtk_rect;
+
+typedef struct rtk_icon {
+ char *name;
+ int width, height, scanlen;
+ uint32_t *pixels;
+
+ struct rtk_icon *next;
+} rtk_icon;
+
+
+typedef struct rtk_draw_ops {
+ void (*fill)(rtk_rect *rect, uint32_t color);
+ void (*blit)(int x, int y, rtk_icon *icon);
+ void (*drawtext)(int x, int y, const char *str);
+ void (*textrect)(const char *str, rtk_rect *rect);
+} rtk_draw_ops;