From ee1653f542f0c070afb8310c9041267496bbdf05 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 6 Apr 2015 12:20:51 -0400 Subject: Started doing the C rewrite. Defined the basic initialization and main loop and window API and implemented them on GTK+. --- new/uimain_unix.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 new/uimain_unix.c (limited to 'new/uimain_unix.c') 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(); +} -- cgit v1.2.3