summaryrefslogtreecommitdiff
path: root/data/elementary/themes/edc
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-09-25 17:55:24 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-09-25 17:55:24 -0400
commit75c8fd1cc297b6c14f1626ad10483f948ea064e5 (patch)
tree092482f12b7c8ee10862b9a99289215c0feaabde /data/elementary/themes/edc
parentd2adb0d3086025ba3a7f4fb92eb206db7d29b861 (diff)
api: move eo-based radio and check widgets to use selectable signal names
Summary: this is a more standardized name ref T8231 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8231 Differential Revision: https://phab.enlightenment.org/D10157
Diffstat (limited to 'data/elementary/themes/edc')
-rw-r--r--data/elementary/themes/edc/efl/check.edc16
-rw-r--r--data/elementary/themes/edc/efl/radio.edc4
2 files changed, 10 insertions, 10 deletions
diff --git a/data/elementary/themes/edc/efl/check.edc b/data/elementary/themes/edc/efl/check.edc
index cccd10b..62d85ed 100644
--- a/data/elementary/themes/edc/efl/check.edc
+++ b/data/elementary/themes/edc/efl/check.edc
@@ -258,12 +258,12 @@ group { "efl/check"; data.item: "version" "123";
258 programs { 258 programs {
259 EFL_UI_CLICKABLE_PART_BIND(event) 259 EFL_UI_CLICKABLE_PART_BIND(event)
260 program { 260 program {
261 signal: "efl,state,check,on"; source: "efl"; 261 signal: "efl,state,selected"; source: "efl";
262 action: STATE_SET "selected" 0.0; 262 action: STATE_SET "selected" 0.0;
263 target: "indicator"; 263 target: "indicator";
264 } 264 }
265 program { 265 program {
266 signal: "efl,state,check,off"; source: "efl"; 266 signal: "efl,state,unselected"; source: "efl";
267 action: STATE_SET "default" 0.0; 267 action: STATE_SET "default" 0.0;
268 target: "indicator"; 268 target: "indicator";
269 } 269 }
@@ -773,7 +773,7 @@ group { "efl/check:toggle"; data.item: "version" "123";
773 programs { 773 programs {
774 EFL_UI_CLICKABLE_PART_BIND(event) 774 EFL_UI_CLICKABLE_PART_BIND(event)
775 program { 775 program {
776 signal: "efl,state,check,on"; source: "efl"; 776 signal: "efl,state,selected"; source: "efl";
777 script { 777 script {
778 new Float:drag; 778 new Float:drag;
779 if (get_int(is_rtl) == 0) { 779 if (get_int(is_rtl) == 0) {
@@ -785,7 +785,7 @@ group { "efl/check:toggle"; data.item: "version" "123";
785 } 785 }
786 } 786 }
787 program { 787 program {
788 signal: "efl,state,check,off"; source: "efl"; 788 signal: "efl,state,unselected"; source: "efl";
789 script { 789 script {
790 new Float:drag; 790 new Float:drag;
791 if (get_int(is_rtl) == 0) { 791 if (get_int(is_rtl) == 0) {
@@ -809,9 +809,9 @@ group { "efl/check:toggle"; data.item: "version" "123";
809 } 809 }
810 if (((get_int(is_rtl) == 1) && (dx <= 0.5)) || 810 if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
811 (get_int(is_rtl) == 0) && (dx > 0.5)) { 811 (get_int(is_rtl) == 0) && (dx > 0.5)) {
812 emit("efl,action,check,off", "efl"); 812 emit("efl,action,unselect", "efl");
813 } else { 813 } else {
814 emit("efl,action,check,on", "efl"); 814 emit("efl,action,select", "efl");
815 } 815 }
816 } 816 }
817 } 817 }
@@ -842,9 +842,9 @@ group { "efl/check:toggle"; data.item: "version" "123";
842 } 842 }
843 if (((get_int(is_rtl) == 1) && (dx <= 0.5)) || 843 if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
844 (get_int(is_rtl) == 0) && (dx > 0.5)) { 844 (get_int(is_rtl) == 0) && (dx > 0.5)) {
845 emit("efl,action,check,on", "efl"); 845 emit("efl,action,select", "efl");
846 } else { 846 } else {
847 emit("efl,action,check,off", "efl"); 847 emit("efl,action,unselect", "efl");
848 } 848 }
849 set_int(was_drag, 1); 849 set_int(was_drag, 1);
850 set_int(is_drag, 0); 850 set_int(is_drag, 0);
diff --git a/data/elementary/themes/edc/efl/radio.edc b/data/elementary/themes/edc/efl/radio.edc
index 4efbd8e..c2fc214 100644
--- a/data/elementary/themes/edc/efl/radio.edc
+++ b/data/elementary/themes/edc/efl/radio.edc
@@ -225,12 +225,12 @@ group { "efl/radio";
225 programs { 225 programs {
226 EFL_UI_CLICKABLE_PART_BIND(event) 226 EFL_UI_CLICKABLE_PART_BIND(event)
227 program { 227 program {
228 signal: "efl,state,radio,on"; source: "efl"; 228 signal: "efl,state,selected"; source: "efl";
229 action: STATE_SET "selected" 0.0; 229 action: STATE_SET "selected" 0.0;
230 target: "indicator"; 230 target: "indicator";
231 } 231 }
232 program { 232 program {
233 signal: "efl,state,radio,off"; source: "efl"; 233 signal: "efl,state,unselected"; source: "efl";
234 action: STATE_SET "default" 0.0; 234 action: STATE_SET "default" 0.0;
235 target: "indicator"; 235 target: "indicator";
236 } 236 }