namespace Adaptor\r
{\r
\r
-class InputMethodContextWin : public Dali::Internal::Adaptor::InputMethodContext\r
+class InputMethodContextWin : public Dali::Internal::Adaptor::InputMethodContext, public Dali::ConnectionTracker\r
{\r
public:\r
/**\r
* @brief Creates a new InputMethodContext handle\r
*\r
+ * @param[in] actor The actor that uses the new InputMethodContext instance.\r
* @return InputMethodContext pointer\r
*/\r
- static InputMethodContextPtr New();\r
+ static InputMethodContextPtr New( Dali::Actor actor );\r
\r
/**\r
* Constructor\r
* @param[in] win32Window, The window is created by application.\r
*/\r
- explicit InputMethodContextWin( WinWindowHandle win32Window );\r
+ explicit InputMethodContextWin( Dali::Actor actor );\r
\r
public:\r
\r
*/\r
Dali::InputMethodContext::InputPanelLanguage GetInputPanelLanguage() const override;\r
\r
+ /**\r
+ * @copydoc Dali::InputMethodContext::SetInputPanelPosition()\r
+ */\r
+ void SetInputPanelPosition( unsigned int x, unsigned int y ) override;\r
+\r
+ /**\r
+ * @copydoc Dali::InputMethodContext::GetPreeditStyle()\r
+ */\r
+ void GetPreeditStyle( Dali::InputMethodContext::PreEditAttributeDataContainer& attrs ) const override;\r
+\r
private:\r
/**\r
* Context created the first time and kept until deleted.\r
* @param[in] keyEvent The event key to be handled.\r
* @return Whether the event key is handled.\r
*/\r
- bool ProcessEventKeyDown( const KeyEvent& keyEvent );\r
+ bool ProcessEventKeyDown( const Dali::KeyEvent& keyEvent );\r
\r
/**\r
* @brief Process event key up, whether filter a key to isf.\r
* @param[in] keyEvent The event key to be handled.\r
* @return Whether the event key is handled.\r
*/\r
- bool ProcessEventKeyUp( const KeyEvent& keyEvent );\r
+ bool ProcessEventKeyUp( const Dali::KeyEvent& keyEvent );\r
+\r
+ /**\r
+ * Called when the binded actor is added to a window.\r
+ */\r
+ void OnStaged( Dali::Actor actor );\r
\r
public:\r
\r
bool mRestoreAfterFocusLost:1; ///< Whether the keyboard needs to be restored (activated ) after focus regained.\r
bool mIdleCallbackConnected:1; ///< Whether the idle callback is already connected.\r
InputMethodOptions mOptions;\r
+ Dali::InputMethodContext::PreEditAttributeDataContainer mPreeditAttrs; ///< Stores preedit attribute data\r
};\r
\r
} // namespace Adaptor\r