From 9d288034d3b48da3e2f963d538b20e09492b7ecc Mon Sep 17 00:00:00 2001 From: "huiyu.eun" Date: Thu, 5 Sep 2019 17:30:53 +0900 Subject: [PATCH] Add UPDATE_SIZE_HINT property Change-Id: I2d114c4c348e58dd02777e637b3bf763a9788ab2 Signed-off-by: huiyu.eun --- dali-csharp-binder/file.list | 3 ++- dali-csharp-binder/src/actor-devel.cpp | 40 ++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100755 dali-csharp-binder/src/actor-devel.cpp diff --git a/dali-csharp-binder/file.list b/dali-csharp-binder/file.list index 40a0c0b..e8ac558 100755 --- a/dali-csharp-binder/file.list +++ b/dali-csharp-binder/file.list @@ -35,7 +35,8 @@ dali_csharp_binder_tizen_src_files = \ ${dali_csharp_binder_dir}/src/widget_view.cpp \ ${dali_csharp_binder_dir}/src/widget_view_manager.cpp \ ${dali_csharp_binder_dir}/src/font-client.cpp \ - ${dali_csharp_binder_dir}/src/transition-effects.cpp + ${dali_csharp_binder_dir}/src/transition-effects.cpp \ + ${dali_csharp_binder_dir}/src/actor-devel.cpp # module: csharp-binder, backend: tizen-wearable dali_csharp_binder_tizen_wearable_src_files = \ diff --git a/dali-csharp-binder/src/actor-devel.cpp b/dali-csharp-binder/src/actor-devel.cpp new file mode 100755 index 0000000..7f49794 --- /dev/null +++ b/dali-csharp-binder/src/actor-devel.cpp @@ -0,0 +1,40 @@ +/** Copyright (c) 2017 Samsung Electronics Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +*/ + +#ifndef CSHARP_ACTOR_DEVEL +#define CSHARP_ACTOR_DEVEL +#endif + +#include "common.h" +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_View_Property_UPDATE_SIZE_HINT_get() { + int jresult ; + int result; + + result = (int)Dali::DevelActor::Property::UPDATE_SIZE_HINT; + jresult = (int)result; + return jresult; +} + +#ifdef __cplusplus +} +#endif + -- 2.7.4