From d61550fe48a42f0e60b45c599cc0fda5d232b48f Mon Sep 17 00:00:00 2001 From: Bowon Ryu Date: Mon, 20 Jan 2025 20:56:58 +0900 Subject: [PATCH] Bind FullScreenMode to InputMethodContext Change-Id: I1383d5cd4eb7c04ceb44f8cf0865cd2ec48a6548 Signed-off-by: Bowon Ryu --- .../input-method-context-wrap.cpp | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) 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 ; -- 2.34.1