diff options
Diffstat (limited to 'intern/ghost/intern/GHOST_ImeWin32.h')
-rw-r--r-- | intern/ghost/intern/GHOST_ImeWin32.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_ImeWin32.h b/intern/ghost/intern/GHOST_ImeWin32.h index 4af988aef6e..bcc4b6eef7c 100644 --- a/intern/ghost/intern/GHOST_ImeWin32.h +++ b/intern/ghost/intern/GHOST_ImeWin32.h @@ -156,6 +156,18 @@ class GHOST_ImeWin32 { */ bool SetInputLanguage(); + /* Returns the current input language id. */ + WORD GetInputLanguage(); + + /* Saves the current conversion status. */ + void UpdateConversionStatus(HWND window_handle); + + /* Is the IME currently in conversion mode? */ + bool IsEnglishMode(); + + /* Checks a key whether IME has to do handling. */ + bool IsImeKeyEvent(char ascii); + /** * Create the IME windows, and allocate required resources for them. * Parameters @@ -371,6 +383,12 @@ class GHOST_ImeWin32 { */ LANGID input_language_id_; + /* Current Conversion Mode Values. Retrieved with ImmGetConversionStatus. */ + DWORD conversion_modes_; + + /* Current Sentence Mode. Retrieved with ImmGetConversionStatus. */ + DWORD sentence_mode_; + /** * Represents whether or not the current input context has created a system * caret to set the position of its IME candidate window. |