summaryrefslogtreecommitdiffstats
path: root/draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'draw.h')
-rw-r--r--draw.h20
1 files changed, 3 insertions, 17 deletions
diff --git a/draw.h b/draw.h
index ddffc5f..9754cf5 100644
--- a/draw.h
+++ b/draw.h
@@ -3,24 +3,10 @@
#include <gtk/gtk.h>
#include "Vertex.h"
-#include "EditManager.h"
-#include "Level.h"
+#include "Window.h"
+#include "Drawer.h"
-gboolean drawTopView(GtkWidget *widget, GdkEventExpose *event, Level *level, EditManager *editor);
-
-float getScale();
-void setScale(float s);
-
-void imageToView(Level *level, Vertex *v);
-void viewToImage(Level *level, Vertex *v);
-
-float getImageWidth(Level *level);
-float getImageHeight(Level *level);
-
-float getXTranslate();
-void setXTranslate(float x);
-float getYTranslate();
-void setYTranslate(float y);
+gboolean drawTopView(GtkWidget *widget, GdkEventExpose *event, Window *window, Drawer *drawer);
#endif /*DRAW_H_*/