MCPcopy Create free account
hub / github.com/SpartanJ/eepp / setLocation

Method setLocation

src/eepp/window/inputmethod.cpp:15–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15void InputMethod::setLocation( Rect rect ) {
16#if EE_PLATFORM == EE_PLATFORM_MACOS || EE_PLATFORM == EE_PLATFORM_IOS
17 rect = PixelDensity::pxToDpI( rect );
18#endif
19 if ( rect != mLastLocation ) {
20 mWindow->setTextInputRect( rect );
21 mLastLocation = std::move( rect );
22 }
23}
24
25bool InputMethod::isEditing() const {
26 return mEditing;

Callers 4

updateIMELocationMethod · 0.80
updateIMELocationMethod · 0.80
updateIMELocationMethod · 0.80
updateIMELocationMethod · 0.80

Calls 1

setTextInputRectMethod · 0.45

Tested by

no test coverage detected