Merge "Modify to get the encoded offset in UTF8" into devel/master
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / input-method-context.cpp
index e5deaca..ae4d1c6 100755 (executable)
@@ -32,7 +32,12 @@ InputMethodContext::~InputMethodContext() = default;
 
 InputMethodContext InputMethodContext::New()
 {
-  Internal::Adaptor::InputMethodContextPtr inputMethodContext = Internal::Adaptor::InputMethodContext::New();
+  return InputMethodContext::New( Actor() );
+}
+
+InputMethodContext InputMethodContext::New( Actor actor )
+{
+  Internal::Adaptor::InputMethodContextPtr inputMethodContext = Internal::Adaptor::InputMethodContext::New( actor );
 
   if( inputMethodContext )
   {
@@ -211,6 +216,16 @@ Dali::InputMethodContext::InputPanelLanguage InputMethodContext::GetInputPanelLa
   return Internal::Adaptor::InputMethodContext::GetImplementation(*this).GetInputPanelLanguage();
 }
 
+void InputMethodContext::SetInputPanelPosition( unsigned int x, unsigned int y )
+{
+  Internal::Adaptor::InputMethodContext::GetImplementation(*this).SetInputPanelPosition( x, y );
+}
+
+void InputMethodContext::GetPreeditStyle( PreEditAttributeDataContainer& attrs ) const
+{
+  Internal::Adaptor::InputMethodContext::GetImplementation(*this).GetPreeditStyle( attrs );
+}
+
 // Signals
 InputMethodContext::ActivatedSignalType& InputMethodContext::ActivatedSignal()
 {