Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_WindowWin32.cpp
| Context not available. | |||||
| #ifdef WITH_INPUT_IME | #ifdef WITH_INPUT_IME | ||||
| void GHOST_WindowWin32::beginIME(int32_t x, int32_t y, int32_t w, int32_t h, bool completed) | void GHOST_WindowWin32::beginIME(int32_t x, int32_t y, int32_t w, int32_t h, bool completed) | ||||
| { | { | ||||
| m_imeInput.SetEnable(); /* It enable a key event forwarding to IME. */ | |||||
| m_imeInput.BeginIME(m_hWnd, GHOST_Rect(x, y - h, x, y), completed); | m_imeInput.BeginIME(m_hWnd, GHOST_Rect(x, y - h, x, y), completed); | ||||
| } | } | ||||
| void GHOST_WindowWin32::endIME() | void GHOST_WindowWin32::endIME() | ||||
| { | { | ||||
| m_imeInput.SetDisable(); /* It disable a key event forwarding to IME. */ | |||||
| m_imeInput.EndIME(m_hWnd); | m_imeInput.EndIME(m_hWnd); | ||||
| } | } | ||||
| #endif /* WITH_INPUT_IME */ | #endif /* WITH_INPUT_IME */ | ||||
| Context not available. | |||||