summaryrefslogtreecommitdiff
path: root/ElmSharp/ElmSharp
diff options
context:
space:
mode:
authorSeunghyun Choi <sh4682.choi@samsung.com>2017-05-02 16:30:10 +0900
committerSeunghyun Choi <sh4682.choi@samsung.com>2017-05-02 16:30:21 +0900
commitacd3cdc5842a5421aa0a70354dbd61a2d8f7066d (patch)
tree07a080964273b3d1e3f897a5f4fc6611b4e5700d /ElmSharp/ElmSharp
parentb449cfb1b97fc9d0d3835be6e05445aca7b4c14d (diff)
downloadelm-sharp-acd3cdc5842a5421aa0a70354dbd61a2d8f7066d.tar.gz
elm-sharp-acd3cdc5842a5421aa0a70354dbd61a2d8f7066d.tar.bz2
elm-sharp-acd3cdc5842a5421aa0a70354dbd61a2d8f7066d.zip
[Slider] Add Property IndicatorVisibleMode
- Add IndicatorVisibleMode Property - Add TC in SliderTest1 Change-Id: I75bf93c0736183d2c1ff195feb221382de55149d Signed-off-by: Seunghyun Choi <sh4682.choi@samsung.com>
Diffstat (limited to 'ElmSharp/ElmSharp')
-rw-r--r--ElmSharp/ElmSharp/Slider.cs38
1 files changed, 38 insertions, 0 deletions
diff --git a/ElmSharp/ElmSharp/Slider.cs b/ElmSharp/ElmSharp/Slider.cs
index 7bad50e..cf05a71 100644
--- a/ElmSharp/ElmSharp/Slider.cs
+++ b/ElmSharp/ElmSharp/Slider.cs
@@ -18,6 +18,29 @@ using System;
namespace ElmSharp
{
+ public enum SliderIndicatorVisibleMode
+ {
+ /// <summary>
+ /// show indicator on mouse down or change in slider value.
+ /// </summary>
+ Default,
+
+ /// <summary>
+ /// Always show the indicator.
+ /// </summary>
+ Always,
+
+ /// <summary>
+ /// Show the indicator on focus.
+ /// </summary>
+ OnFocus,
+
+ /// <summary>
+ /// Never show the indicator.
+ /// </summary>
+ None
+ }
+
/// <summary>
/// The Slider is a widget that adds a draggable slider widget for selecting the value of something within a range.
/// </summary>
@@ -283,6 +306,21 @@ namespace ElmSharp
}
/// <summary>
+ /// Sets or gets the visible mode of indicator.
+ /// </summary>
+ public SliderIndicatorVisibleMode IndicatorVisibleMode
+ {
+ get
+ {
+ return (SliderIndicatorVisibleMode)Interop.Elementary.elm_slider_indicator_visible_mode_get(RealHandle);
+ }
+ set
+ {
+ Interop.Elementary.elm_slider_indicator_visible_mode_set(RealHandle, (Interop.Elementary.Elm_Slider_Indicator_Visible_Mode)value);
+ }
+ }
+
+ /// <summary>
/// Sets or gets whether to Show the indicator of slider on focus.
/// </summary>
public bool IsIndicatorFocusable