Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_WindowCocoa.mm
| Show First 20 Lines • Show All 1,212 Lines • ▼ Show 20 Lines | if ([m_window isVisible]) { | ||||
| loadCursor(getCursorVisibility(), GHOST_kStandardCursorCustom); | loadCursor(getCursorVisibility(), GHOST_kStandardCursorCustom); | ||||
| } | } | ||||
| [pool drain]; | [pool drain]; | ||||
| return GHOST_kSuccess; | return GHOST_kSuccess; | ||||
| } | } | ||||
| #ifdef WITH_INPUT_IME | #ifdef WITH_INPUT_IME | ||||
| void GHOST_WindowCocoa::beginIME( | void GHOST_WindowCocoa::beginIME( | ||||
| GHOST_TInt32 x, GHOST_TInt32 y, GHOST_TInt32 w, GHOST_TInt32 h, int completed) | int32_t x, int32_t y, int32_t w, int32_t h, int completed) | ||||
| { | { | ||||
| if (m_openGLView) { | if (m_openGLView) { | ||||
| [m_openGLView beginIME:x y:y w:w h:h completed:(bool)completed]; | [m_openGLView beginIME:x y:y w:w h:h completed:(bool)completed]; | ||||
| } | } | ||||
| else { | else { | ||||
| [m_metalView beginIME:x y:y w:w h:h completed:(bool)completed]; | [m_metalView beginIME:x y:y w:w h:h completed:(bool)completed]; | ||||
| } | } | ||||
| } | } | ||||
| Show All 11 Lines | |||||