summaryrefslogtreecommitdiff
path: root/new/ui_unix.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-06 12:20:51 -0400
committerPietro Gagliardi <[email protected]>2015-04-06 12:20:51 -0400
commitee1653f542f0c070afb8310c9041267496bbdf05 (patch)
treeb18654d87e569457a61ad15d0955ad9c53efd0e7 /new/ui_unix.h
parent50577098478ed0e7cfb3f2a417bddb16187929f6 (diff)
Started doing the C rewrite. Defined the basic initialization and main loop and window API and implemented them on GTK+.
Diffstat (limited to 'new/ui_unix.h')
-rw-r--r--new/ui_unix.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/new/ui_unix.h b/new/ui_unix.h
new file mode 100644
index 0000000..82bcf7c
--- /dev/null
+++ b/new/ui_unix.h
@@ -0,0 +1,13 @@
+// 6 april 2015
+
+#ifndef __UI_UI_UNIX_H__
+#define __UI_UI_UNIX_H__
+
+#define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_32
+#define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_32
+#define GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_4
+#define GDK_VERSION_MAX_ALLOWED GDK_VERSION_3_4
+#include <gtk/gtk.h>
+#include "ui.h"
+
+#endif