diff options
Diffstat (limited to 'tikzit/src/gtk/GraphEditorPanel.m')
-rw-r--r-- | tikzit/src/gtk/GraphEditorPanel.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tikzit/src/gtk/GraphEditorPanel.m b/tikzit/src/gtk/GraphEditorPanel.m index 542dba1..d2a1831 100644 --- a/tikzit/src/gtk/GraphEditorPanel.m +++ b/tikzit/src/gtk/GraphEditorPanel.m @@ -17,6 +17,7 @@ #import "GraphEditorPanel.h" +#import "Application.h" #import "GraphRenderer.h" #import "HandTool.h" #import "InputDelegate.h" @@ -168,6 +169,13 @@ [tool mouseScrolledAt:pos inDirection:dir withMask:mask]; } } + +- (void) keyPressed:(unsigned int)keyVal withMask:(InputMask)mask { + [app activateToolForKey:keyVal withMask:mask]; +} + +- (void) keyReleased:(unsigned int)keyVal withMask:(InputMask)mask { +} @end // vim:ft=objc:ts=8:et:sts=4:sw=4 |