diff options
Diffstat (limited to 'linden/indra/llwindow/llwindowwin32.h')
-rw-r--r-- | linden/indra/llwindow/llwindowwin32.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/linden/indra/llwindow/llwindowwin32.h b/linden/indra/llwindow/llwindowwin32.h index c93b880..3f78dca 100644 --- a/linden/indra/llwindow/llwindowwin32.h +++ b/linden/indra/llwindow/llwindowwin32.h | |||
@@ -12,12 +12,12 @@ | |||
12 | * ("GPL"), unless you have obtained a separate licensing agreement | 12 | * ("GPL"), unless you have obtained a separate licensing agreement |
13 | * ("Other License"), formally executed by you and Linden Lab. Terms of | 13 | * ("Other License"), formally executed by you and Linden Lab. Terms of |
14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | 14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or |
15 | * online at http://secondlife.com/developers/opensource/gplv2 | 15 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 |
16 | * | 16 | * |
17 | * There are special exceptions to the terms and conditions of the GPL as | 17 | * There are special exceptions to the terms and conditions of the GPL as |
18 | * it is applied to this Source Code. View the full text of the exception | 18 | * it is applied to this Source Code. View the full text of the exception |
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 19 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
20 | * online at http://secondlife.com/developers/opensource/flossexception | 20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception |
21 | * | 21 | * |
22 | * By copying, modifying or distributing this software, you acknowledge | 22 | * By copying, modifying or distributing this software, you acknowledge |
23 | * that you have read and understood your obligations described above, | 23 | * that you have read and understood your obligations described above, |
@@ -109,8 +109,10 @@ public: | |||
109 | /*virtual*/ void bringToFront(); | 109 | /*virtual*/ void bringToFront(); |
110 | /*virtual*/ void focusClient(); | 110 | /*virtual*/ void focusClient(); |
111 | 111 | ||
112 | /*virtual*/ void allowLanguageTextInput(BOOL b); | 112 | /*virtual*/ void allowLanguageTextInput(LLPreeditor *preeditor, BOOL b); |
113 | /*virtual*/ void setLanguageTextInput( const LLCoordGL & pos ); | 113 | /*virtual*/ void setLanguageTextInput( const LLCoordGL & pos ); |
114 | /*virtual*/ void updateLanguageTextInputArea(); | ||
115 | /*virtual*/ void interruptLanguageTextInput(); | ||
114 | 116 | ||
115 | protected: | 117 | protected: |
116 | LLWindowWin32( | 118 | LLWindowWin32( |
@@ -139,6 +141,14 @@ protected: | |||
139 | 141 | ||
140 | BOOL shouldPostQuit() { return mPostQuit; } | 142 | BOOL shouldPostQuit() { return mPostQuit; } |
141 | 143 | ||
144 | void fillCompositionForm(const LLRect& bounds, COMPOSITIONFORM *form); | ||
145 | void fillCandidateForm(const LLCoordGL& caret, const LLRect& bounds, CANDIDATEFORM *form); | ||
146 | void fillCharPosition(const LLCoordGL& caret, const LLRect& bounds, const LLRect& control, IMECHARPOSITION *char_position); | ||
147 | void fillCompositionLogfont(LOGFONT *logfont); | ||
148 | U32 fillReconvertString(const LLWString &text, S32 focus, S32 focus_length, RECONVERTSTRING *reconvert_string); | ||
149 | void handleStartCompositionMessage(); | ||
150 | void handleCompositionMessage(U32 indexes); | ||
151 | BOOL handleImeRequests(U32 request, U32 param, LRESULT *result); | ||
142 | 152 | ||
143 | protected: | 153 | protected: |
144 | // | 154 | // |
@@ -189,6 +199,10 @@ protected: | |||
189 | static DWORD sWinIMEConversionMode; | 199 | static DWORD sWinIMEConversionMode; |
190 | static DWORD sWinIMESentenceMode; | 200 | static DWORD sWinIMESentenceMode; |
191 | static LLCoordWindow sWinIMEWindowPosition; | 201 | static LLCoordWindow sWinIMEWindowPosition; |
202 | LLCoordGL mLanguageTextInputPointGL; | ||
203 | LLRect mLanguageTextInputAreaGL; | ||
204 | |||
205 | LLPreeditor *mPreeditor; | ||
192 | 206 | ||
193 | friend class LLWindowManager; | 207 | friend class LLWindowManager; |
194 | }; | 208 | }; |