diff options
author | neoraider <devnull@localhost> | 2007-12-24 01:04:02 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2007-12-24 01:04:02 +0100 |
commit | 953a6ff48ac6c46a0d81bedb0fbdafe5d637666e (patch) | |
tree | 2e918dd669dd5c34f59a4aed3cb3a71b1c0d2a3a /Window.h | |
parent | 9b5296b04eef553dba951fa13936184b0f30cded (diff) | |
download | zoomedit-953a6ff48ac6c46a0d81bedb0fbdafe5d637666e.tar zoomedit-953a6ff48ac6c46a0d81bedb0fbdafe5d637666e.zip |
zoomedit: Use tools for event handling and rendering
Diffstat (limited to 'Window.h')
-rw-r--r-- | Window.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; } |