aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-05-17 10:28:49 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-05-17 10:31:25 +0900
commit11a674ad7de4932db3e8500606283fcea739e064 (patch)
treeb8440a9e5820ff5d3b28d763a25d8e91973844c5
parentelm_code: Add a save_as API call for writing buffers to a new file (diff)
downloadefl-11a674ad7de4932db3e8500606283fcea739e064.tar.gz
Efl.Ui.Autorepeat: add 'autorepeat' prefix to methods.
Thanks to Dave for pointing out this. Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
-rw-r--r--src/lib/efl/interfaces/efl_ui_autorepeat.eo17
-rw-r--r--src/lib/elementary/elc_combobox.c4
-rw-r--r--src/lib/elementary/elc_fileselector_button.c2
-rw-r--r--src/lib/elementary/elc_hoversel.c2
-rw-r--r--src/lib/elementary/elm_button.c14
-rw-r--r--src/lib/elementary/elm_button.eo8
-rw-r--r--src/lib/elementary/elm_combobox.eo2
-rw-r--r--src/lib/elementary/elm_fileselector_button.eo2
-rw-r--r--src/lib/elementary/elm_hoversel.eo2
9 files changed, 27 insertions, 26 deletions
diff --git a/src/lib/efl/interfaces/efl_ui_autorepeat.eo b/src/lib/efl/interfaces/efl_ui_autorepeat.eo
index 3116bab99f..5bcf451e5a 100644
--- a/src/lib/efl/interfaces/efl_ui_autorepeat.eo
+++ b/src/lib/efl/interfaces/efl_ui_autorepeat.eo
@@ -1,7 +1,8 @@
interface Efl.Ui.Autorepeat {
[[Efl UI autorepeat interface]]
+ eo_prefix: efl_ui;
methods {
- @property initial_timeout {
+ @property autorepeat_initial_timeout {
[[The initial timeout before the autorepeat event is generated
Sets the timeout, in seconds, since the button is pressed until the
@@ -9,25 +10,25 @@ interface Efl.Ui.Autorepeat {
won't be any delay and the event will be fired the moment the button is
pressed.
- See also @.enabled.set, @.gap_timeout.set.
+ See also @.autorepeat_enabled.set, @.autorepeat_gap_timeout.set.
]]
values {
t: double; [[Timeout in seconds]]
}
}
- @property gap_timeout {
+ @property autorepeat_gap_timeout {
[[The interval between each generated autorepeat event
After the first $repeated event is fired, all subsequent ones will
follow after a delay of $t seconds for each.
- See also @.initial_timeout.set.
+ See also @.autorepeat_initial_timeout.set.
]]
values {
t: double; [[Interval in seconds]]
}
}
- @property enabled {
+ @property autorepeat_enabled {
[[Turn on/off the autorepeat event generated when the button is kept pressed
When off, no autorepeat is performed and buttons emit a normal $clicked
@@ -35,14 +36,14 @@ interface Efl.Ui.Autorepeat {
When on, keeping a button pressed will continuously emit a $repeated
signal until the button is released. The time it takes until it starts
- emitting the signal is given by @.initial_timeout.set, and the
- time between each new emission by @.gap_timeout.set.
+ emitting the signal is given by @.autorepeat_initial_timeout.set, and the
+ time between each new emission by @.autorepeat_gap_timeout.set.
]]
values {
on: bool; [[A bool to turn on/off the event]]
}
}
- @property supported {
+ @property autorepeat_supported {
[[Whether the button supports autorepeat.]]
get {
}
diff --git a/src/lib/elementary/elc_combobox.c b/src/lib/elementary/elc_combobox.c
index 0ef2b5e279..fa3500870b 100644
--- a/src/lib/elementary/elc_combobox.c
+++ b/src/lib/elementary/elc_combobox.c
@@ -323,8 +323,8 @@ _elm_combobox_efl_gfx_visible_set(Eo *obj, Elm_Combobox_Data *sd, Eina_Bool vis)
}
EOLIAN static Eina_Bool
-_elm_combobox_efl_ui_autorepeat_supported_get(Eo *obj EINA_UNUSED,
- Elm_Combobox_Data *sd EINA_UNUSED)
+_elm_combobox_efl_ui_autorepeat_autorepeat_supported_get(Eo *obj EINA_UNUSED,
+ Elm_Combobox_Data *sd EINA_UNUSED)
{
return EINA_FALSE;
}
diff --git a/src/lib/elementary/elc_fileselector_button.c b/src/lib/elementary/elc_fileselector_button.c
index 2e57f2e4d0..d098c94b20 100644
--- a/src/lib/elementary/elc_fileselector_button.c
+++ b/src/lib/elementary/elc_fileselector_button.c
@@ -251,7 +251,7 @@ _elm_fileselector_button_efl_canvas_group_group_del(Eo *obj, Elm_Fileselector_Bu
}
EOLIAN static Eina_Bool
-_elm_fileselector_button_efl_ui_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd EINA_UNUSED)
+_elm_fileselector_button_efl_ui_autorepeat_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd EINA_UNUSED)
{
return EINA_FALSE;
}
diff --git a/src/lib/elementary/elc_hoversel.c b/src/lib/elementary/elc_hoversel.c
index 87f7859ea1..5606deebbb 100644
--- a/src/lib/elementary/elc_hoversel.c
+++ b/src/lib/elementary/elc_hoversel.c
@@ -675,7 +675,7 @@ _elm_hoversel_elm_widget_widget_parent_set(Eo *obj, Elm_Hoversel_Data *_pd EINA_
}
EOLIAN static Eina_Bool
-_elm_hoversel_efl_ui_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd EINA_UNUSED)
+_elm_hoversel_efl_ui_autorepeat_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd EINA_UNUSED)
{
return EINA_FALSE;
}
diff --git a/src/lib/elementary/elm_button.c b/src/lib/elementary/elm_button.c
index a56a0b7db4..f8858fca69 100644
--- a/src/lib/elementary/elm_button.c
+++ b/src/lib/elementary/elm_button.c
@@ -343,7 +343,7 @@ _elm_button_efl_object_constructor(Eo *obj, Elm_Button_Data *_pd EINA_UNUSED)
}
EOLIAN static void
-_elm_button_efl_ui_autorepeat_enabled_set(Eo *obj EINA_UNUSED, Elm_Button_Data *sd, Eina_Bool on)
+_elm_button_efl_ui_autorepeat_autorepeat_enabled_set(Eo *obj EINA_UNUSED, Elm_Button_Data *sd, Eina_Bool on)
{
ELM_SAFE_FREE(sd->timer, ecore_timer_del);
sd->autorepeat = on;
@@ -362,19 +362,19 @@ _internal_elm_button_autorepeat_supported_get(const Evas_Object *obj)
}
EOLIAN static Eina_Bool
-_elm_button_efl_ui_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Button_Data *_pd EINA_UNUSED)
+_elm_button_efl_ui_autorepeat_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Button_Data *_pd EINA_UNUSED)
{
return EINA_TRUE;
}
EOLIAN static Eina_Bool
-_elm_button_efl_ui_autorepeat_enabled_get(Eo *obj, Elm_Button_Data *sd)
+_elm_button_efl_ui_autorepeat_autorepeat_enabled_get(Eo *obj, Elm_Button_Data *sd)
{
return (_AR_CAPABLE(obj) & sd->autorepeat);
}
EOLIAN static void
-_elm_button_efl_ui_autorepeat_initial_timeout_set(Eo *obj, Elm_Button_Data *sd, double t)
+_elm_button_efl_ui_autorepeat_autorepeat_initial_timeout_set(Eo *obj, Elm_Button_Data *sd, double t)
{
if (!_AR_CAPABLE(obj))
{
@@ -388,7 +388,7 @@ _elm_button_efl_ui_autorepeat_initial_timeout_set(Eo *obj, Elm_Button_Data *sd,
}
EOLIAN static double
-_elm_button_efl_ui_autorepeat_initial_timeout_get(Eo *obj, Elm_Button_Data *sd)
+_elm_button_efl_ui_autorepeat_autorepeat_initial_timeout_get(Eo *obj, Elm_Button_Data *sd)
{
if (!_AR_CAPABLE(obj))
return 0.0;
@@ -397,7 +397,7 @@ _elm_button_efl_ui_autorepeat_initial_timeout_get(Eo *obj, Elm_Button_Data *sd)
}
EOLIAN static void
-_elm_button_efl_ui_autorepeat_gap_timeout_set(Eo *obj, Elm_Button_Data *sd, double t)
+_elm_button_efl_ui_autorepeat_autorepeat_gap_timeout_set(Eo *obj, Elm_Button_Data *sd, double t)
{
if (!_AR_CAPABLE(obj))
{
@@ -412,7 +412,7 @@ _elm_button_efl_ui_autorepeat_gap_timeout_set(Eo *obj, Elm_Button_Data *sd, doub
}
EOLIAN static double
-_elm_button_efl_ui_autorepeat_gap_timeout_get(Eo *obj EINA_UNUSED, Elm_Button_Data *sd)
+_elm_button_efl_ui_autorepeat_autorepeat_gap_timeout_get(Eo *obj EINA_UNUSED, Elm_Button_Data *sd)
{
return sd->ar_gap_timeout;
}
diff --git a/src/lib/elementary/elm_button.eo b/src/lib/elementary/elm_button.eo
index bc2887886c..85962f17ae 100644
--- a/src/lib/elementary/elm_button.eo
+++ b/src/lib/elementary/elm_button.eo
@@ -14,10 +14,10 @@ class Elm.Button (Elm.Layout, Efl.Ui.Clickable, Efl.Ui.Autorepeat, Efl.Text,
class.constructor;
Efl.Object.constructor;
Efl.Canvas.Group.group_add;
- Efl.Ui.Autorepeat.initial_timeout { set; get; }
- Efl.Ui.Autorepeat.gap_timeout { set; get; }
- Efl.Ui.Autorepeat.enabled { set; get; }
- Efl.Ui.Autorepeat.supported { get;}
+ Efl.Ui.Autorepeat.autorepeat_initial_timeout { set; get; }
+ Efl.Ui.Autorepeat.autorepeat_gap_timeout { set; get; }
+ Efl.Ui.Autorepeat.autorepeat_enabled { set; get; }
+ Efl.Ui.Autorepeat.autorepeat_supported { get;}
Elm.Widget.activate;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
diff --git a/src/lib/elementary/elm_combobox.eo b/src/lib/elementary/elm_combobox.eo
index d801ce8962..fa89ecc64e 100644
--- a/src/lib/elementary/elm_combobox.eo
+++ b/src/lib/elementary/elm_combobox.eo
@@ -45,7 +45,7 @@ class Elm.Combobox (Elm.Button, Efl.Ui.Selectable,
Elm.Widget.theme_apply;
Elm.Widget.translate;
Elm.Widget.widget_event;
- Efl.Ui.Autorepeat.supported { get; }
+ Efl.Ui.Autorepeat.autorepeat_supported { get; }
Elm.Genlist.filter { set; }
Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
}
diff --git a/src/lib/elementary/elm_fileselector_button.eo b/src/lib/elementary/elm_fileselector_button.eo
index 31840fffb4..f4522147bd 100644
--- a/src/lib/elementary/elm_fileselector_button.eo
+++ b/src/lib/elementary/elm_fileselector_button.eo
@@ -7,7 +7,7 @@ class Elm.Fileselector_Button (Elm.Button, Elm.Interface.Fileselector)
Efl.Canvas.Group.group_add;
Efl.Canvas.Group.group_del;
Elm.Widget.theme_apply;
- Efl.Ui.Autorepeat.supported { get; }
+ Efl.Ui.Autorepeat.autorepeat_supported { get; }
Elm.Interface.Fileselector.selected_models { get; }
Elm.Interface.Fileselector.expandable { get; set; }
Elm.Interface.Fileselector.thumbnail_size { get; set; }
diff --git a/src/lib/elementary/elm_hoversel.eo b/src/lib/elementary/elm_hoversel.eo
index 30816d5326..52ecfcb61c 100644
--- a/src/lib/elementary/elm_hoversel.eo
+++ b/src/lib/elementary/elm_hoversel.eo
@@ -101,7 +101,7 @@ class Elm.Hoversel (Elm.Button, Efl.Ui.Selectable,
Elm.Widget.theme_apply;
Elm.Widget.translate;
Elm.Widget.widget_event;
- Efl.Ui.Autorepeat.supported { get; }
+ Efl.Ui.Autorepeat.autorepeat_supported { get; }
Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
}
events {