Beginning work on graphic windows. Hopelessly broken still....
[rodin/chimara.git] / libchimara / graphics.h
diff --git a/libchimara/graphics.h b/libchimara/graphics.h
new file mode 100644 (file)
index 0000000..cf81d59
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef GRAPHICS_H
+#define GRAPHICS_H
+
+#include <glib.h>
+#include <gtk/gtk.h>
+
+#include "glk.h"
+#include "gi_blorb.h"
+#include "resource.h"
+#include "window.h"
+
+struct image_info {
+       guint32 resource_number;
+       gint width, height;
+};
+
+void on_graphics_size_allocate(GtkWidget *widget, GtkAllocation *allocation, winid_t *win);
+
+#endif