summaryrefslogtreecommitdiff
path: root/ElmSharp/Interop/Interop.Elementary.Slider.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ElmSharp/Interop/Interop.Elementary.Slider.cs')
-rw-r--r--ElmSharp/Interop/Interop.Elementary.Slider.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/ElmSharp/Interop/Interop.Elementary.Slider.cs b/ElmSharp/Interop/Interop.Elementary.Slider.cs
index 074311c..92e4a3a 100644
--- a/ElmSharp/Interop/Interop.Elementary.Slider.cs
+++ b/ElmSharp/Interop/Interop.Elementary.Slider.cs
@@ -21,6 +21,14 @@ internal static partial class Interop
{
internal static partial class Elementary
{
+ internal enum Elm_Slider_Indicator_Visible_Mode
+ {
+ ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT, /* show indicator on mouse down or change in slider value */
+ ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS, /* Always show the indicator. */
+ ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS, /* Show the indicator on focus */
+ ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE /* Never show the indicator */
+ }
+
[DllImport(Libraries.Elementary)]
internal static extern IntPtr elm_slider_add(IntPtr parent);
@@ -31,6 +39,12 @@ internal static partial class Interop
internal static extern bool elm_slider_indicator_show_get(IntPtr obj);
[DllImport(Libraries.Elementary)]
+ internal static extern void elm_slider_indicator_visible_mode_set(IntPtr obj, Elm_Slider_Indicator_Visible_Mode mode);
+
+ [DllImport(Libraries.Elementary)]
+ internal static extern Elm_Slider_Indicator_Visible_Mode elm_slider_indicator_visible_mode_get(IntPtr obj);
+
+ [DllImport(Libraries.Elementary)]
internal static extern void elm_slider_indicator_show_on_focus_set(IntPtr obj, bool focus);
[DllImport(Libraries.Elementary)]