summaryrefslogtreecommitdiffstats
path: root/zoomedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zoomedit.cpp')
-rw-r--r--zoomedit.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/zoomedit.cpp b/zoomedit.cpp
new file mode 100644
index 0000000..a38dc3b
--- /dev/null
+++ b/zoomedit.cpp
@@ -0,0 +1,24 @@
+#include <gtk/gtk.h>
+#include <stdlib.h>
+#include "level.h"
+#include "window.h"
+
+
+int main(int argc, char *argv[]) {
+ LEVEL *lvl = (LEVEL*)calloc(1, sizeof(LEVEL));
+ GtkWidget *window;
+
+ setLevel(lvl);
+
+ gtk_init(&argc, &argv);
+
+ window = createMainWindow();
+
+ gtk_widget_show(window);
+
+ gtk_main();
+
+ freeLevel(lvl);
+
+ return 0;
+}