summaryrefslogtreecommitdiffstats
path: root/draw.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-06-21 21:52:03 +0200
committerneoraider <devnull@localhost>2007-06-21 21:52:03 +0200
commit84361f7a9e03f76e7ea90f48239825dc5bca07e9 (patch)
tree60eb7a4611cef032d0d4689f2fc19a769353c8e1 /draw.h
downloadzoomedit-84361f7a9e03f76e7ea90f48239825dc5bca07e9.tar
zoomedit-84361f7a9e03f76e7ea90f48239825dc5bca07e9.zip
zoomedit: Added level editor zoomedit.
Diffstat (limited to 'draw.h')
-rw-r--r--draw.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/draw.h b/draw.h
new file mode 100644
index 0000000..b7a301a
--- /dev/null
+++ b/draw.h
@@ -0,0 +1,19 @@
+#ifndef DRAW_H_
+#define DRAW_H_
+
+#include <gtk/gtk.h>
+
+gboolean drawTopView(GtkWidget *widget, GdkEventExpose *event, gpointer data);
+
+double getScale();
+void setScale(double s);
+
+double getImageWidth();
+double getImageHeight();
+
+double getXTranslate();
+void setXTranslate(double x);
+double getYTranslate();
+void setYTranslate(double y);
+
+#endif /*DRAW_H_*/