summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsung-su.kim <sung-su.kim@samsung.com>2017-05-19 17:27:02 +0900
committersung-su.kim <sung-su.kim@samsung.com>2017-05-19 17:27:27 +0900
commitfd50d30a90d21d91f9850e559223a03aa9f0c20f (patch)
treecf64cfacd08748cadac13e4ae9498aeb6acb4437
parente1ba94758ddca850d8d26c79b011fda6483f599a (diff)
downloadelm-sharp-fd50d30a90d21d91f9850e559223a03aa9f0c20f.tar.gz
elm-sharp-fd50d30a90d21d91f9850e559223a03aa9f0c20f.tar.bz2
elm-sharp-fd50d30a90d21d91f9850e559223a03aa9f0c20f.zip
Enhance Panes widget
Change-Id: I121c09e10f9fc94ed20f2fd2daf0ca957565f5fc
-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