summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry <larry.olj@gmail.com>2016-02-22 21:06:55 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-02-25 23:16:09 -0300
commitbc861a6975ac4edc11d0df3066a257d096c7c4f8 (patch)
tree3c624e40925e9c8c746243aa6828f5ab60851996
parentdb77736b6a93a555f2d2bfc303fb366c319140f6 (diff)
moved eolian undefined enums to elm_systray.eo and elm_slider.eo
-rw-r--r--src/lib/elm_config.h15
-rw-r--r--src/lib/elm_general.eot15
-rw-r--r--src/lib/elm_slider.eo2
-rw-r--r--src/lib/elm_systray.eo28
-rw-r--r--src/lib/elm_systray_common.h25
5 files changed, 42 insertions, 43 deletions
diff --git a/src/lib/elm_config.h b/src/lib/elm_config.h
index 6d9cf05bb..746a171bb 100644
--- a/src/lib/elm_config.h
+++ b/src/lib/elm_config.h
@@ -837,21 +837,6 @@ EAPI Elm_Focus_Autoscroll_Mode elm_config_focus_autoscroll_mode_get(void);
837EAPI void elm_config_focus_autoscroll_mode_set(Elm_Focus_Autoscroll_Mode mode); 837EAPI void elm_config_focus_autoscroll_mode_set(Elm_Focus_Autoscroll_Mode mode);
838 838
839/** 839/**
840 * Slider's indicator visiblity mode.
841 *
842 * @since 1.13
843 * @ingroup Slider
844 */
845
846typedef enum
847{
848 ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT, /**< show indicator on mouse down or change in slider value */
849 ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS, /**< Always show the indicator. */
850 ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS, /**< Show the indicator on focus */
851 ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE /**< Never show the indicator */
852} Elm_Slider_Indicator_Visible_Mode;
853
854/**
855 * Sets the slider's indicator visible mode. 840 * Sets the slider's indicator visible mode.
856 * 841 *
857 * @param obj The slider object. 842 * @param obj The slider object.
diff --git a/src/lib/elm_general.eot b/src/lib/elm_general.eot
index c52dde5b5..3132c9eb9 100644
--- a/src/lib/elm_general.eot
+++ b/src/lib/elm_general.eot
@@ -237,3 +237,18 @@ enum Elm.Prefs.Item_Type
237 separator, [[separator type, bound to separator-like UI elements]] 237 separator, [[separator type, bound to separator-like UI elements]]
238 swallow [[swallow type, bound to an empty 'spot' on the UI meant to receive and display external content]] 238 swallow [[swallow type, bound to an empty 'spot' on the UI meant to receive and display external content]]
239} 239}
240
241
242enum Elm.Slider.Indicator_Visible_Mode
243{
244 [[
245 Slider's indicator visiblity mode.
246 @since 1.13
247 ]]
248 default, [[show indicator on mouse down or change in slider value]]
249 always, [[Always show the indicator.]]
250 on_focus, [[Show the indicator on focus]]
251 none [[Never show the indicator ]]
252}
253
254
diff --git a/src/lib/elm_slider.eo b/src/lib/elm_slider.eo
index 5fc16960d..729073cd1 100644
--- a/src/lib/elm_slider.eo
+++ b/src/lib/elm_slider.eo
@@ -236,7 +236,7 @@ class Elm.Slider (Elm.Layout, Elm.Interface_Atspi_Value,
236 [[Get the visible mode of indicator.]] 236 [[Get the visible mode of indicator.]]
237 } 237 }
238 values { 238 values {
239 indicator_visible_mode: Elm_Slider_Indicator_Visible_Mode; [[The indicator visible mode.]] 239 indicator_visible_mode: Elm.Slider.Indicator_Visible_Mode; [[The indicator visible mode.]]
240 } 240 }
241 } 241 }
242 @property indicator_format_function { 242 @property indicator_format_function {
diff --git a/src/lib/elm_systray.eo b/src/lib/elm_systray.eo
index 8854e99d7..9c99db61d 100644
--- a/src/lib/elm_systray.eo
+++ b/src/lib/elm_systray.eo
@@ -1,3 +1,27 @@
1enum Elm.Systray.Category
2{
3 [[
4 Category of the Status Notifier Item.
5 @since 1.8
6 ]]
7 app_status, [[Indicators of application status]]
8 communications, [[Communications apps]]
9 sys_services, [[System Service apps]]
10 hardware, [[Hardware indicators]]
11 other [[undefined category]]
12}
13
14enum Elm.Systray.Status
15{
16 [[
17 Application status information.
18 @since 1.8
19 ]]
20 passive, [[Passive (normal)]]
21 active, [[Active]]
22 attention [[Needs Attention]]
23}
24
1class Elm.Systray (Eo.Base) 25class Elm.Systray (Eo.Base)
2{ 26{
3 eo_prefix: elm_obj_systray; 27 eo_prefix: elm_obj_systray;
@@ -22,7 +46,7 @@ class Elm.Systray (Eo.Base)
22 [[Get the category of the Status Notifier Item.]] 46 [[Get the category of the Status Notifier Item.]]
23 } 47 }
24 values { 48 values {
25 cat: Elm_Systray_Category; [[Category]] 49 cat: Elm.Systray.Category; [[Category]]
26 } 50 }
27 } 51 }
28 @property icon_theme_path { 52 @property icon_theme_path {
@@ -66,7 +90,7 @@ class Elm.Systray (Eo.Base)
66 [[Get the status of the Status Notifier Item.]] 90 [[Get the status of the Status Notifier Item.]]
67 } 91 }
68 values { 92 values {
69 st: Elm_Systray_Status; [[Status]] 93 st: Elm.Systray.Status; [[Status]]
70 } 94 }
71 } 95 }
72 @property icon_name { 96 @property icon_name {
diff --git a/src/lib/elm_systray_common.h b/src/lib/elm_systray_common.h
index f0871c955..67064ee4d 100644
--- a/src/lib/elm_systray_common.h
+++ b/src/lib/elm_systray_common.h
@@ -3,29 +3,4 @@
3 */ 3 */
4EAPI extern int ELM_EVENT_SYSTRAY_READY; 4EAPI extern int ELM_EVENT_SYSTRAY_READY;
5 5
6/**
7 * Category of the Status Notifier Item.
8 *
9 * @since 1.8
10 */
11typedef enum _Elm_Systray_Category
12{
13 ELM_SYSTRAY_CATEGORY_APP_STATUS, /**< Indicators of application status */
14 ELM_SYSTRAY_CATEGORY_COMMUNICATIONS, /**< Communications apps */
15 ELM_SYSTRAY_CATEGORY_SYS_SERVICES, /**< System Service apps */
16 ELM_SYSTRAY_CATEGORY_HARDWARE, /**< Hardware indicators */
17 ELM_SYSTRAY_CATEGORY_OTHER /**< Undefined category */
18} Elm_Systray_Category;
19
20/**
21 * Application status information.
22 *
23 * @since 1.8
24 */
25typedef enum _Elm_Systray_Status
26{
27 ELM_SYSTRAY_STATUS_PASSIVE, /**< Passive (normal) */
28 ELM_SYSTRAY_STATUS_ACTIVE, /**< Active */
29 ELM_SYSTRAY_STATUS_ATTENTION /**< Needs Attention */
30} Elm_Systray_Status;
31 6