summaryrefslogtreecommitdiff
path: root/indra/llwindow/llopenglview-objc.h
diff options
context:
space:
mode:
authorGeenz <geenz@geenzo.com>2013-03-19 06:32:56 -0400
committerGeenz <geenz@geenzo.com>2013-03-19 06:32:56 -0400
commitebe320e7c3579241e2e034a424ade9f087523b75 (patch)
tree807e42d7930994c029bf173919303a9c39be76c1 /indra/llwindow/llopenglview-objc.h
parentad26f3c39002b6043e5fc4e00f9793e0f0e4941c (diff)
Refactored LLNSWindow and LLOpenGLView significantly. All input goes through LLOpenGLView now.
Diffstat (limited to 'indra/llwindow/llopenglview-objc.h')
-rw-r--r--indra/llwindow/llopenglview-objc.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/llwindow/llopenglview-objc.h b/indra/llwindow/llopenglview-objc.h
index c144831da4..5134063193 100644
--- a/indra/llwindow/llopenglview-objc.h
+++ b/indra/llwindow/llopenglview-objc.h
@@ -19,6 +19,7 @@
{
std::string mLastDraggedUrl;
unsigned int mModifiers;
+ float mMousePos[2];
}
- (id) initWithSamples:(NSUInteger)samples;
- (id) initWithSamples:(NSUInteger)samples andVsync:(BOOL)vsync;
@@ -41,10 +42,7 @@
@end
-@interface LLNSWindow : NSWindow {
- float mMousePos[2];
- unsigned int mModifiers;
-}
+@interface LLNSWindow : NSWindow
- (NSPoint)convertToScreenFromLocalPoint:(NSPoint)point relativeToView:(NSView *)view;
- (NSPoint)flipPoint:(NSPoint)aPoint;