diff options
Diffstat (limited to 'draw.h')
-rw-r--r-- | draw.h | 20 |
1 files changed, 3 insertions, 17 deletions
@@ -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_*/ |