From: Bowon Ryu Date: Mon, 20 Jan 2025 11:56:58 +0000 (+0900) Subject: Bind FullScreenMode to InputMethodContext X-Git-Tag: dali_2.4.6~3^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d61550fe48a42f0e60b45c599cc0fda5d232b48f;p=platform%2Fcore%2Fuifw%2Fdali-csharp-binder.git Bind FullScreenMode to InputMethodContext Change-Id: I1383d5cd4eb7c04ceb44f8cf0865cd2ec48a6548 Signed-off-by: Bowon Ryu --- diff --git a/dali-csharp-binder/dali-adaptor/input-method-context-wrap.cpp b/dali-csharp-binder/dali-adaptor/input-method-context-wrap.cpp index 652e3221..655a62ff 100755 --- a/dali-csharp-binder/dali-adaptor/input-method-context-wrap.cpp +++ b/dali-csharp-binder/dali-adaptor/input-method-context-wrap.cpp @@ -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 ;