summaryrefslogtreecommitdiffstats
path: root/zoomedit.cpp
blob: a38dc3b4894659c58ea0382705ca32824f8cf7ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
}