Bind FullScreenMode to InputMethodContext 59/318559/1
authorBowon Ryu <bowon.ryu@samsung.com>
Mon, 20 Jan 2025 11:56:58 +0000 (20:56 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Mon, 20 Jan 2025 11:56:58 +0000 (20:56 +0900)
Change-Id: I1383d5cd4eb7c04ceb44f8cf0865cd2ec48a6548
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali-csharp-binder/dali-adaptor/input-method-context-wrap.cpp

index 652e322162b752320b3017265cf5de568e5ab83b..655a62ff66aaf34bb7aa413e1a384aa87029f6ee 100755 (executable)
@@ -952,6 +952,32 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_InputMethodContext_IsTextPredict
   return jresult;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_InputMethodContext_SetFullScreenMode(void * csInputMethodContext, unsigned int csFullScreen) {
+  Dali::InputMethodContext *inputMethodContext = (Dali::InputMethodContext *) 0 ;
+  bool fullScreen ;
+
+  inputMethodContext = (Dali::InputMethodContext *)csInputMethodContext;
+  fullScreen = csFullScreen ? true : false;
+  {
+    try {
+      (inputMethodContext)->SetFullScreenMode(fullScreen);
+    } CALL_CATCH_EXCEPTION();  }
+}
+
+SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_InputMethodContext_IsFullScreenMode(void * csInputMethodContext) {
+  unsigned int jresult ;
+  Dali::InputMethodContext *inputMethodContext = (Dali::InputMethodContext *) 0 ;
+  bool fullScreen;
+
+  inputMethodContext = (Dali::InputMethodContext *)csInputMethodContext;
+  {
+    try {
+      fullScreen = (bool)((Dali::InputMethodContext const *)inputMethodContext)->IsFullScreenMode();
+    } CALL_CATCH_EXCEPTION(0);  }
+  jresult = fullScreen;
+  return jresult;
+}
+
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_InputMethodContext_SetMIMEType(void * csInputMethodContext, char * csMimeTypes) {
   Dali::InputMethodContext *inputMethodContext = (Dali::InputMethodContext *) 0 ;
   std::string *mimeTypes = 0 ;