summaryrefslogtreecommitdiffstats
path: root/draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'draw.h')
-rw-r--r--draw.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/draw.h b/draw.h
index 90ebc00..ddffc5f 100644
--- a/draw.h
+++ b/draw.h
@@ -3,18 +3,20 @@
#include <gtk/gtk.h>
#include "Vertex.h"
+#include "EditManager.h"
+#include "Level.h"
-gboolean drawTopView(GtkWidget *widget, GdkEventExpose *event, gpointer data);
+gboolean drawTopView(GtkWidget *widget, GdkEventExpose *event, Level *level, EditManager *editor);
float getScale();
void setScale(float s);
-void imageToView(Vertex *v);
-void viewToImage(Vertex *v);
+void imageToView(Level *level, Vertex *v);
+void viewToImage(Level *level, Vertex *v);
-float getImageWidth();
-float getImageHeight();
+float getImageWidth(Level *level);
+float getImageHeight(Level *level);
float getXTranslate();
void setXTranslate(float x);