summaryrefslogtreecommitdiff
path: root/indra/llwindow/llopenglview-objc.h
diff options
context:
space:
mode:
authorGeenz <geenz@geenzo.com>2013-04-07 11:33:39 -0400
committerGeenz <geenz@geenzo.com>2013-04-07 11:33:39 -0400
commitaa0cb35db561004c205c7aac2570407ae88ad472 (patch)
treef91a5860aa0b445d303e3fa3d08a4124eacb0cd8 /indra/llwindow/llopenglview-objc.h
parent5098d43a9be5b9638a8806918e9bb82a096c000f (diff)
Support the committing of the current pre edit string when language input is interrupted per the viewer's original pre edit functionality.
Diffstat (limited to 'indra/llwindow/llopenglview-objc.h')
-rw-r--r--indra/llwindow/llopenglview-objc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llwindow/llopenglview-objc.h b/indra/llwindow/llopenglview-objc.h
index 6b21148bb6..6d0f138950 100644
--- a/indra/llwindow/llopenglview-objc.h
+++ b/indra/llwindow/llopenglview-objc.h
@@ -19,11 +19,14 @@
float mMousePos[2];
bool mHasMarkedText;
unsigned int mMarkedTextLength;
+ NSAttributedString *mMarkedText;
}
- (id) initWithSamples:(NSUInteger)samples;
- (id) initWithSamples:(NSUInteger)samples andVsync:(BOOL)vsync;
- (id) initWithFrame:(NSRect)frame withSamples:(NSUInteger)samples andVsync:(BOOL)vsync;
+- (void)commitCurrentPreedit;
+
// rebuildContext
// Destroys and recreates a context with the view's internal format set via setPixelFormat;
// Use this in event of needing to rebuild a context for whatever reason, without needing to assign a new pixel format.