diff options
Diffstat (limited to 'draw.h')
-rw-r--r-- | draw.h | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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); |