Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_WindowWayland.cpp
| Show First 20 Lines • Show All 1,262 Lines • ▼ Show 20 Lines | #endif | ||||
| if (context->initializeDrawingContext()) { | if (context->initializeDrawingContext()) { | ||||
| return context; | return context; | ||||
| } | } | ||||
| delete context; | delete context; | ||||
| return nullptr; | return nullptr; | ||||
| } | } | ||||
| #ifdef WITH_INPUT_IME | |||||
| void GHOST_WindowWayland::beginIME(int32_t x, int32_t y, int32_t w, int32_t h, bool completed) | |||||
| { | |||||
| printf("beginIME: %d %d %d %d = %d\n", x, y, w, h, completed); | |||||
| system_->ime_begin(this, x, y, w, h, completed); | |||||
| } | |||||
| void GHOST_WindowWayland::endIME() | |||||
| { | |||||
| printf("endIME\n"); | |||||
| system_->ime_end(this); | |||||
| } | |||||
| #endif | |||||
| /** \} */ | /** \} */ | ||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Public WAYLAND Direct Data Access | /** \name Public WAYLAND Direct Data Access | ||||
| * | * | ||||
| * Expose some members via methods. | * Expose some members via methods. | ||||
| * \{ */ | * \{ */ | ||||
| ▲ Show 20 Lines • Show All 187 Lines • Show Last 20 Lines | |||||