diff options
Diffstat (limited to 'tikzit/src/gtk/Surface.h')
-rw-r--r-- | tikzit/src/gtk/Surface.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tikzit/src/gtk/Surface.h b/tikzit/src/gtk/Surface.h index d2a0dba..449721f 100644 --- a/tikzit/src/gtk/Surface.h +++ b/tikzit/src/gtk/Surface.h @@ -19,6 +19,18 @@ #import "RenderContext.h" #import "Transformer.h" +typedef enum { + NormalCursor, + ResizeRightCursor, + ResizeBottomRightCursor, + ResizeBottomCursor, + ResizeBottomLeftCursor, + ResizeLeftCursor, + ResizeTopLeftCursor, + ResizeTopCursor, + ResizeTopRightCursor +} Cursor; + @protocol Surface; @protocol RenderDelegate @@ -85,6 +97,8 @@ - (void) zoomInAboutPoint:(NSPoint)p; - (void) zoomOutAboutPoint:(NSPoint)p; - (void) zoomResetAboutPoint:(NSPoint)p; + +- (void) setCursor:(Cursor)c; @end // vim:ft=objc:ts=8:et:sts=4:sw=4 |