#include <text_input_manager.h>
Public Member Functions | |
TextInputManager () noexcept=default | |
virtual | ~TextInputManager ()=default |
void | SetWindowHandle (HWND window_handle) |
void | CreateImeWindow () |
void | DestroyImeWindow () |
void | UpdateImeWindow () |
void | UpdateCaretRect (const Rect &rect) |
virtual long | GetComposingCursorPosition () const |
virtual std::optional< std::u16string > | GetComposingString () const |
virtual std::optional< std::u16string > | GetResultString () const |
void | AbortComposing () |
Definition at line 29 of file text_input_manager.h.
|
defaultnoexcept |
|
virtualdefault |
void flutter::TextInputManager::AbortComposing | ( | ) |
Aborts IME composing.
Aborts composing, closes the candidates window, and clears the contents of the composing string.
Definition at line 126 of file text_input_manager.cc.
References flutter::ImmContext::get(), and flutter::ImmContext::IsValid().
void flutter::TextInputManager::CreateImeWindow | ( | ) |
void flutter::TextInputManager::DestroyImeWindow | ( | ) |
Definition at line 68 of file text_input_manager.cc.
|
virtual |
Definition at line 104 of file text_input_manager.cc.
References flutter::ImmContext::get(), and flutter::ImmContext::IsValid().
|
virtual |
Definition at line 118 of file text_input_manager.cc.
|
virtual |
Definition at line 122 of file text_input_manager.cc.
void flutter::TextInputManager::SetWindowHandle | ( | HWND | window_handle | ) |
Definition at line 47 of file text_input_manager.cc.
void flutter::TextInputManager::UpdateCaretRect | ( | const Rect & | rect | ) |
Definition at line 91 of file text_input_manager.cc.
References flutter::ImmContext::get(), and flutter::ImmContext::IsValid().
void flutter::TextInputManager::UpdateImeWindow | ( | ) |
Definition at line 80 of file text_input_manager.cc.
References flutter::ImmContext::get(), and flutter::ImmContext::IsValid().
Referenced by CreateImeWindow().