aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/mac.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-02 23:13:54 +0200
committerDavid Robillard <d@drobilla.net>2020-07-02 23:13:54 +0200
commit5182a0348e99e8793f0e0230254eb7ddbc8a3dfd (patch)
tree6d505c2b8739cfc7291b1b612b80fe0ea9daa08b /pugl/detail/mac.h
parent9483e34037463b083d3e7f437eec6f72c8173996 (diff)
downloadpugl-5182a0348e99e8793f0e0230254eb7ddbc8a3dfd.tar.gz
pugl-5182a0348e99e8793f0e0230254eb7ddbc8a3dfd.tar.bz2
pugl-5182a0348e99e8793f0e0230254eb7ddbc8a3dfd.zip
Mac: Declare instance variables in implementation
Declaring instance variables in interfaces is deprecated, according to Wobjc-interface-vars (Apple clang version 11.0.0).
Diffstat (limited to 'pugl/detail/mac.h')
-rw-r--r--pugl/detail/mac.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/pugl/detail/mac.h b/pugl/detail/mac.h
index 296faeb..7b64cfe 100644
--- a/pugl/detail/mac.h
+++ b/pugl/detail/mac.h
@@ -27,15 +27,6 @@
#include <stdint.h>
@interface PuglWrapperView : NSView<NSTextInputClient>
-{
-@public
- PuglView* puglview;
- NSTrackingArea* trackingArea;
- NSMutableAttributedString* markedText;
- NSTimer* timer;
- NSMutableDictionary* userTimers;
- bool reshaped;
-}
- (void) dispatchExpose:(NSRect)rect;
- (void) setReshaped;
@@ -43,10 +34,6 @@
@end
@interface PuglWindow : NSWindow
-{
-@public
- PuglView* puglview;
-}
- (void) setPuglview:(PuglView*)view;