From 25308f23e3524765722ed43c617317772158ada7 Mon Sep 17 00:00:00 2001 From: Youngbok Shin Date: Tue, 27 Oct 2020 16:49:32 +0900 Subject: [PATCH] Text: Export FontSizeScale properties Change-Id: Ifcc632c60f1253b76c3a132f1ec715d05e9226dd --- dali-csharp-binder/src/text-editor.cpp | 10 ++++++++++ dali-csharp-binder/src/text-field.cpp | 10 ++++++++++ dali-csharp-binder/src/text-label.cpp | 10 ++++++++++ 3 files changed, 30 insertions(+) diff --git a/dali-csharp-binder/src/text-editor.cpp b/dali-csharp-binder/src/text-editor.cpp index 15260ee..03b4d36 100755 --- a/dali-csharp-binder/src/text-editor.cpp +++ b/dali-csharp-binder/src/text-editor.cpp @@ -654,6 +654,16 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_ENABLE_EDITING_get() return jresult; } +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextEditor_Property_FONT_SIZE_SCALE_get() +{ + int jresult; + int result; + + result = (int)Dali::Toolkit::DevelTextEditor::Property::FONT_SIZE_SCALE; + jresult = (int)result; + return jresult; +} + SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TextEditor_Property() { void * jresult ; Dali::Toolkit::TextEditor::Property *result = 0 ; diff --git a/dali-csharp-binder/src/text-field.cpp b/dali-csharp-binder/src/text-field.cpp index b0b1aaf..468f381 100755 --- a/dali-csharp-binder/src/text-field.cpp +++ b/dali-csharp-binder/src/text-field.cpp @@ -595,6 +595,16 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextField_Property_ENABLE_EDITING_get() { return jresult; } +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextField_Property_FONT_SIZE_SCALE_get() +{ + int jresult; + int result; + + result = (int)Dali::Toolkit::DevelTextField::Property::FONT_SIZE_SCALE; + jresult = (int)result; + return jresult; +} + SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TextField_Property() { void * jresult ; Dali::Toolkit::TextField::Property *result = 0 ; diff --git a/dali-csharp-binder/src/text-label.cpp b/dali-csharp-binder/src/text-label.cpp index e1ab8c4..9dc5b40 100755 --- a/dali-csharp-binder/src/text-label.cpp +++ b/dali-csharp-binder/src/text-label.cpp @@ -21,6 +21,16 @@ SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_TEXT_FIT_get() return jresult; } +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextLabel_Property_FONT_SIZE_SCALE_get() +{ + int jresult; + int result; + + result = (int)Dali::Toolkit::DevelTextLabel::Property::FONT_SIZE_SCALE; + jresult = (int)result; + return jresult; +} + #ifdef __cplusplus } #endif -- 2.7.4