diff options
Diffstat (limited to 'linden/indra/llwindow/llwindow.h')
-rw-r--r-- | linden/indra/llwindow/llwindow.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/linden/indra/llwindow/llwindow.h b/linden/indra/llwindow/llwindow.h index 2bb49e9..1016bce 100644 --- a/linden/indra/llwindow/llwindow.h +++ b/linden/indra/llwindow/llwindow.h | |||
@@ -218,6 +218,10 @@ public: | |||
218 | // return a platform-specific window reference (HWND on Windows, WindowRef on the Mac) | 218 | // return a platform-specific window reference (HWND on Windows, WindowRef on the Mac) |
219 | virtual void *getPlatformWindow() = 0; | 219 | virtual void *getPlatformWindow() = 0; |
220 | 220 | ||
221 | // control platform's Language Text Input mechanisms. | ||
222 | virtual void allowLanguageTextInput( BOOL b ) {}; | ||
223 | virtual void setLanguageTextInput( LLCoordWindow pos ) {}; | ||
224 | |||
221 | protected: | 225 | protected: |
222 | LLWindow(BOOL fullscreen, U32 flags); | 226 | LLWindow(BOOL fullscreen, U32 flags); |
223 | virtual ~LLWindow() {} | 227 | virtual ~LLWindow() {} |
@@ -246,6 +250,15 @@ protected: | |||
246 | U32 mFlags; | 250 | U32 mFlags; |
247 | F32 mJoyAxis[6]; | 251 | F32 mJoyAxis[6]; |
248 | U8 mJoyButtonState[16]; | 252 | U8 mJoyButtonState[16]; |
253 | U16 mHighSurrogate; | ||
254 | |||
255 | // Handle a UTF-16 encoding unit received from keyboard. | ||
256 | // Converting the series of UTF-16 encoding units to UTF-32 data, | ||
257 | // this method passes the resulting UTF-32 data to mCallback's | ||
258 | // handleUnicodeChar. The mask should be that to be passed to the | ||
259 | // callback. This method uses mHighSurrogate as a dedicated work | ||
260 | // variable. | ||
261 | void handleUnicodeUTF16(U16 utf16, MASK mask); | ||
249 | 262 | ||
250 | friend class LLWindowManager; | 263 | friend class LLWindowManager; |
251 | }; | 264 | }; |