summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk/WidgetSurface.h
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit/src/gtk/WidgetSurface.h')
-rw-r--r--tikzit/src/gtk/WidgetSurface.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/tikzit/src/gtk/WidgetSurface.h b/tikzit/src/gtk/WidgetSurface.h
index 02f2cbf..667749f 100644
--- a/tikzit/src/gtk/WidgetSurface.h
+++ b/tikzit/src/gtk/WidgetSurface.h
@@ -29,26 +29,21 @@
id <RenderDelegate> renderDelegate;
id <InputDelegate> inputDelegate;
BOOL keepCentered;
- BOOL grabsFocusOnClick;
+ BOOL buttonPressesRequired;
CGFloat defaultScale;
NSSize lastKnownSize;
}
+@property (assign) BOOL canFocus;
+@property (assign) BOOL keepCentered;
+@property (assign) CGFloat defaultScale;
+
- (id) initWithWidget:(GtkWidget*)widget;
- (GtkWidget*) widget;
- (id<InputDelegate>) inputDelegate;
- (void) setInputDelegate:(id<InputDelegate>)delegate;
-- (BOOL) keepCentered;
-- (void) setKeepCentered:(BOOL)centered;
-
-- (BOOL) grabsFocusOnClick;
-- (void) setGrabsFocusOnClick:(BOOL)focusOnClick;
-
-- (CGFloat) defaultScale;
-- (void) setDefaultScale:(CGFloat)scale;
-
/**
* Set the minimum size that this widget wants
*/