summaryrefslogtreecommitdiff
path: root/new/uimain_unix.c
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/uimain_unix.c
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/uimain_unix.c')
-rw-r--r--new/uimain_unix.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/new/uimain_unix.c b/new/uimain_unix.c
new file mode 100644
index 0000000..988519a
--- /dev/null
+++ b/new/uimain_unix.c
@@ -0,0 +1,12 @@
+// 6 april 2015
+#include "ui_unix.h"
+
+void uiMain(void)
+{
+ gtk_main();
+}
+
+void uiQuit(void)
+{
+ gtk_main_quit();
+}