Adaptor& adaptorImpl( Adaptor::GetImplementation( Adaptor::Get() ) );\r
Any nativeWindow = adaptorImpl.GetNativeWindowHandle();\r
\r
- // The Ecore_X_Window needs to use the InputMethodContext.\r
- // Only when the render surface is window, we can get the Ecore_X_Window.\r
- Ecore_X_Window ecoreXwin( AnyCast<Ecore_X_Window>(nativeWindow) );\r
- if (ecoreXwin)\r
+ // The Win_Window_Handle needs to use the InputMethodContext.\r
+ // Only when the render surface is window, we can get the Win_Window_Handle.\r
+ Win_Window_Handle winWindow( AnyCast<Win_Window_Handle>(nativeWindow) );\r
+ if ( winWindow )\r
{\r
- // If we fail to get Ecore_X_Window, we can't use the InputMethodContext correctly.\r
+ // If we fail to get Win_Window_Handle, we can't use the InputMethodContext correctly.\r
// Thus you have to call "ecore_imf_context_client_window_set" somewhere.\r
// In EvasPlugIn, this function is called in EvasPlugin::ConnectEcoreEvent().\r
\r
- manager = new InputMethodContextWin( ecoreXwin );\r
+ manager = new InputMethodContextWin( winWindow );\r
}\r
else\r
{\r
//DeleteContext();\r
}\r
\r
-InputMethodContextWin::InputMethodContextWin( Ecore_X_Window ecoreXwin )\r
-//: mIMFContext(),\r
-: mEcoreXwin( ecoreXwin ),\r
+InputMethodContextWin::InputMethodContextWin( Win_Window_Handle winWindow )\r
+: mWin32Window( winWindow ),\r
mIMFCursorPosition( 0 ),\r
mSurroundingText(),\r
mRestoreAfterFocusLost( false ),\r
\r
void InputMethodContextWin::Initialize()\r
{\r
- CreateContext( mEcoreXwin );\r
+ CreateContext( mWin32Window );\r
ConnectCallbacks();\r
//VirtualKeyboard::ConnectCallbacks( mIMFContext );\r
}\r
\r
-void InputMethodContextWin::CreateContext( Ecore_X_Window ecoreXwin )\r
+void InputMethodContextWin::CreateContext( Win_Window_Handle ecoreXwin )\r
{\r
DALI_LOG_INFO( gLogFilter, Debug::General, "InputMethodContextWin::CreateContext\n" );\r
\r