efl_ui/scroller: rename bar visibility signals

Summary:
this is consistent with efl api 'visible' property

ref T8231

Depends on D10095

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10096
This commit is contained in:
Mike Blumenkrantz 2019-09-24 17:02:34 -04:00
parent 3d9b2f6666
commit 84f7998cae
3 changed files with 12 additions and 12 deletions

View File

@ -301,7 +301,7 @@ group { name: "efl/scroller";
}
}
program {
signal: "efl,action,show,vbar"; source: "efl";
signal: "efl,vbar,visible,on"; source: "efl";
action: STATE_SET "default" 0.0;
target: "sb_vbar";
target: "sb_vbar_show";
@ -316,7 +316,7 @@ group { name: "efl/scroller";
target: "arrow2_vbar_indent";
}
program {
signal: "efl,action,hide,vbar"; source: "efl";
signal: "efl,vbar,visible,off"; source: "efl";
action: STATE_SET "hidden" 0.0;
target: "sb_vbar";
target: "sb_vbar_show";
@ -582,7 +582,7 @@ group { name: "efl/scroller";
}
}
program {
signal: "efl,action,show,hbar"; source: "efl";
signal: "efl,hbar,visible,on"; source: "efl";
action: STATE_SET "default" 0.0;
target: "sb_hbar";
target: "sb_hbar_show";
@ -597,7 +597,7 @@ group { name: "efl/scroller";
target: "arrow2_hbar_indent";
}
program {
signal: "efl,action,hide,hbar"; source: "efl";
signal: "efl,hbar,visible,off"; source: "efl";
action: STATE_SET "hidden" 0.0;
target: "sb_hbar";
target: "sb_hbar_show";

View File

@ -1550,9 +1550,9 @@ _efl_ui_image_zoomable_bar_show_cb(void *data, const Efl_Event *event)
else
{
if (type == EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL)
edje_object_signal_emit(wd->resize_obj, "efl,action,show,hbar", "efl");
edje_object_signal_emit(wd->resize_obj, "efl,hbar,visible,on", "efl");
else if (type == EFL_UI_LAYOUT_ORIENTATION_VERTICAL)
edje_object_signal_emit(wd->resize_obj, "efl,action,show,vbar", "efl");
edje_object_signal_emit(wd->resize_obj, "efl,vbar,visible,on", "efl");
}
}
@ -1573,9 +1573,9 @@ _efl_ui_image_zoomable_bar_hide_cb(void *data, const Efl_Event *event)
else
{
if (type == EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL)
edje_object_signal_emit(wd->resize_obj, "efl,action,hide,hbar", "efl");
edje_object_signal_emit(wd->resize_obj, "efl,hbar,visible,off", "efl");
else if (type == EFL_UI_LAYOUT_ORIENTATION_VERTICAL)
edje_object_signal_emit(wd->resize_obj, "efl,action,hide,vbar", "efl");
edje_object_signal_emit(wd->resize_obj, "efl,vbar,visible,off", "efl");
}
}

View File

@ -227,9 +227,9 @@ _scroll_connector_bar_show_cb(void *data, const Efl_Event *event)
Efl_Ui_Layout_Orientation type = *(Efl_Ui_Layout_Orientation *)(event->info);
if (type == EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL)
efl_layout_signal_emit(wd->resize_obj, "efl,action,show,hbar", "efl");
efl_layout_signal_emit(wd->resize_obj, "efl,hbar,visible,on", "efl");
else if (type == EFL_UI_LAYOUT_ORIENTATION_VERTICAL)
efl_layout_signal_emit(wd->resize_obj, "efl,action,show,vbar", "efl");
efl_layout_signal_emit(wd->resize_obj, "efl,vbar,visible,on", "efl");
}
static void
@ -240,9 +240,9 @@ _scroll_connector_bar_hide_cb(void *data, const Efl_Event *event)
Efl_Ui_Layout_Orientation type = *(Efl_Ui_Layout_Orientation *)(event->info);
if (type == EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL)
efl_layout_signal_emit(wd->resize_obj, "efl,action,hide,hbar", "efl");
efl_layout_signal_emit(wd->resize_obj, "efl,hbar,visible,off", "efl");
else if (type == EFL_UI_LAYOUT_ORIENTATION_VERTICAL)
efl_layout_signal_emit(wd->resize_obj, "efl,action,hide,vbar", "efl");
efl_layout_signal_emit(wd->resize_obj, "efl,vbar,visible,off", "efl");
}
void