[Tizen] Add SetInputPanelPositionAlign 15/311015/1 accepted/tizen_8.0_unified accepted/tizen/8.0/unified/20240520.155122
authorBowon Ryu <bowon.ryu@samsung.com>
Mon, 13 May 2024 04:23:00 +0000 (13:23 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Mon, 13 May 2024 04:23:43 +0000 (13:23 +0900)
Change-Id: I15291f759d65926efcde327edb20b093b698c2ac
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali-csharp-binder/dali-adaptor/input-method-context-wrap.cpp

index e2e8f05..4aeff35 100755 (executable)
@@ -1036,6 +1036,29 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_InputMethodContext_SetInputPanelPosition
     } CALL_CATCH_EXCEPTION();  }
 }
 
+SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_InputMethodContext_SetInputPanelPositionAlign(void * csInputMethodContext, int csXCoord, int csYCoord, int csAlign) {
+  Dali::InputMethodContext *inputMethodContext = (Dali::InputMethodContext *) 0;
+  int x;
+  int y;
+  Dali::InputMethodContext::InputPanelAlign align;
+  bool result = false;
+
+  inputMethodContext = (Dali::InputMethodContext *)csInputMethodContext;
+  if (inputMethodContext == nullptr) {
+    DALI_LOG_ERROR("inputMethodContext == nullptr\n");
+    return false;
+  }
+
+  x = (int)csXCoord;
+  y = (int)csYCoord;
+  align = (Dali::InputMethodContext::InputPanelAlign)csAlign;
+  {
+    try {
+      result = (inputMethodContext)->SetInputPanelPositionAlign(x, y, align);
+    } CALL_CATCH_EXCEPTION(false);  }
+
+  return result;
+}
 
 // Signals
 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_InputMethodContext_ActivatedSignal(void * csInputMethodContext) {