summaryrefslogtreecommitdiffstats
path: root/Window.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-12-24 01:04:02 +0100
committerneoraider <devnull@localhost>2007-12-24 01:04:02 +0100
commit953a6ff48ac6c46a0d81bedb0fbdafe5d637666e (patch)
tree2e918dd669dd5c34f59a4aed3cb3a71b1c0d2a3a /Window.h
parent9b5296b04eef553dba951fa13936184b0f30cded (diff)
downloadzoomedit-953a6ff48ac6c46a0d81bedb0fbdafe5d637666e.tar
zoomedit-953a6ff48ac6c46a0d81bedb0fbdafe5d637666e.zip
zoomedit: Use tools for event handling and rendering
Diffstat (limited to 'Window.h')
-rw-r--r--Window.h5
1 files changed, 5 insertions, 0 deletions
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;
}