From 953a6ff48ac6c46a0d81bedb0fbdafe5d637666e Mon Sep 17 00:00:00 2001 From: neoraider Date: Mon, 24 Dec 2007 00:04:02 +0000 Subject: zoomedit: Use tools for event handling and rendering --- Window.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Window.h') diff --git a/Window.h b/Window.h index 2e75f13..c8fa469 100644 --- a/Window.h +++ b/Window.h @@ -36,6 +36,7 @@ class Window { const Window& operator=(const Window &w); static gboolean deleteEvent(GtkWidget *widget, GdkEvent *event, Window *window); + public: Window(GdkGLConfig *glconfig, WindowManager *manager); virtual ~Window(); @@ -48,6 +49,10 @@ class Window { drawer.update(); } + Tool* getActiveTool() { + return sidebar.getActiveTool(); + } + EditManager& getEditManager() { return editor; } -- cgit v1.2.3