summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungkeun Lee <sngn.lee@samsung.com>2017-06-08 08:22:04 +0000
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2017-06-08 08:22:04 +0000
commitca58b3da00bb69b6bfb4b8c673639f7361e01868 (patch)
treefca395228b3f1e3633d33108bdb71d1f3dae37a6
parent3a2311e531fb4228051e1c09a23c39daa4c2b16a (diff)
parentfd50d30a90d21d91f9850e559223a03aa9f0c20f (diff)
downloadelm-sharp-ca58b3da00bb69b6bfb4b8c673639f7361e01868.tar.gz
elm-sharp-ca58b3da00bb69b6bfb4b8c673639f7361e01868.tar.bz2
elm-sharp-ca58b3da00bb69b6bfb4b8c673639f7361e01868.zip
Merge "Enhance Panes widget" into tizen
-rwxr-xr-xElmSharp/ElmSharp/Panes.cs50
-rw-r--r--ElmSharp/Interop/Interop.Elementary.Panes.cs26
2 files changed, 74 insertions, 2 deletions
diff --git a/ElmSharp/ElmSharp/Panes.cs b/ElmSharp/ElmSharp/Panes.cs
index 1523c09..db8b850 100755
--- a/ElmSharp/ElmSharp/Panes.cs
+++ b/ElmSharp/ElmSharp/Panes.cs
@@ -109,6 +109,54 @@ namespace ElmSharp
}
}
+ public int LeftMinimumSize
+ {
+ get
+ {
+ return Interop.Elementary.elm_panes_content_left_min_size_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_panes_content_left_min_size_set(RealHandle, value);
+ }
+ }
+
+ public double LeftMinimumRelativeSize
+ {
+ get
+ {
+ return Interop.Elementary.elm_panes_content_left_min_relative_size_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_panes_content_left_min_relative_size_set(RealHandle, value);
+ }
+ }
+
+ public int RightMinimumSize
+ {
+ get
+ {
+ return Interop.Elementary.elm_panes_content_right_min_size_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_panes_content_right_min_size_set(RealHandle, value);
+ }
+ }
+
+ public double RightMinimumRelativeSize
+ {
+ get
+ {
+ return Interop.Elementary.elm_panes_content_right_min_relative_size_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_panes_content_right_min_relative_size_set(RealHandle, value);
+ }
+ }
+
protected override IntPtr CreateHandle(EvasObject parent)
{
IntPtr handle = Interop.Elementary.elm_layout_add(parent.Handle);
@@ -120,4 +168,4 @@ namespace ElmSharp
return handle;
}
}
-}
+} \ No newline at end of file
diff --git a/ElmSharp/Interop/Interop.Elementary.Panes.cs b/ElmSharp/Interop/Interop.Elementary.Panes.cs
index 263e4a3..d3aa6e8 100644
--- a/ElmSharp/Interop/Interop.Elementary.Panes.cs
+++ b/ElmSharp/Interop/Interop.Elementary.Panes.cs
@@ -31,12 +31,36 @@ internal static partial class Interop
internal static extern double elm_panes_content_left_size_get(IntPtr obj);
[DllImport(Libraries.Elementary)]
+ internal static extern double elm_panes_content_left_min_relative_size_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_panes_content_left_min_relative_size_set(IntPtr obj, double size);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern int elm_panes_content_left_min_size_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_panes_content_left_min_size_set(IntPtr obj, int size);
+
+ [DllImport(Libraries.Elementary)]
internal static extern void elm_panes_content_right_size_set(IntPtr obj, double size);
[DllImport(Libraries.Elementary)]
internal static extern double elm_panes_content_right_size_get(IntPtr obj);
[DllImport(Libraries.Elementary)]
+ internal static extern double elm_panes_content_right_min_relative_size_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_panes_content_right_min_relative_size_set(IntPtr obj, double size);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern int elm_panes_content_right_min_size_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern void elm_panes_content_right_min_size_set(IntPtr obj, int size);
+
+ [DllImport(Libraries.Elementary)]
internal static extern void elm_panes_horizontal_set(IntPtr obj, bool horizontal);
[DllImport(Libraries.Elementary)]
@@ -48,4 +72,4 @@ internal static partial class Interop
[DllImport(Libraries.Elementary)]
internal static extern bool elm_panes_fixed_get(IntPtr obj);
}
-}
+} \ No newline at end of file