2013-10-17 00:34:36 -07:00
|
|
|
group { name: "elm/button/base/default";
|
|
|
|
alias: "elm/button/base/naviframe/back_btn/default";
|
|
|
|
alias: "elm/button/base/naviframe/back_btn/pager";
|
|
|
|
script {
|
2021-03-27 08:02:13 -07:00
|
|
|
BUTTONMODE_SCRIPT
|
|
|
|
}
|
|
|
|
images.image: "win_shadow.png" COMP;
|
|
|
|
parts {
|
|
|
|
part { name: "shadow"; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel.to: "base";
|
|
|
|
WIN_SHADOW_SMALL;
|
2016-02-04 23:21:54 -08:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
description { state: "pressed" 0.0; inherit;
|
|
|
|
image.border_scale_by: 0.1;
|
|
|
|
rel1.offset: -2 -1;
|
|
|
|
rel2.offset: 0 1;
|
|
|
|
}
|
|
|
|
description { state: "disabled" 0.0; inherit;
|
|
|
|
image.border_scale_by: 0.1;
|
|
|
|
rel1.offset: -2 -1;
|
|
|
|
rel2.offset: 0 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
rect { "base";
|
|
|
|
scale: 1;
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 96 96 96 255;
|
|
|
|
rel1.offset: 2 2;
|
|
|
|
rel2.offset: -3 -3;
|
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "pressed"; inherit;
|
|
|
|
color: 128 128 128 255;
|
|
|
|
rel1.offset: 3 3;
|
|
|
|
rel2.offset: -4 -4;
|
|
|
|
offscale;
|
2016-01-04 15:06:52 -08:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "disabled"; inherit;
|
|
|
|
color: 72 72 72 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "hidden"; inherit;
|
2016-02-04 23:21:54 -08:00
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
swallow { "elm.swallow.background"; nomouse;
|
|
|
|
desc { "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "base";
|
2016-02-04 23:21:54 -08:00
|
|
|
visible: 0;
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "visible"; inherit;
|
2016-02-04 23:21:54 -08:00
|
|
|
visible: 1;
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
rect { "icon_clip";
|
|
|
|
desc { "default";
|
2021-04-01 17:53:26 -07:00
|
|
|
color: 255 255 255 255;
|
2016-01-04 15:06:52 -08:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "pressed"; inherit;
|
2021-04-01 17:53:26 -07:00
|
|
|
color: 255 255 255 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "disabled"; inherit;
|
2021-04-01 17:53:26 -07:00
|
|
|
color: 255 255 255 64;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
swallow { "elm.swallow.content"; nomouse;
|
2013-10-17 00:34:36 -07:00
|
|
|
clip_to: "icon_clip";
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 1 0;
|
|
|
|
align: 0.0 0.5;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 6 6;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.relative: 0.0 1.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: 6 -7;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 0;
|
2021-03-27 08:02:13 -07:00
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "visible"; inherit;
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 1 0;
|
|
|
|
aspect: 1.0 1.0;
|
|
|
|
visible: 1;
|
2021-03-31 10:47:25 -07:00
|
|
|
min: ICMIN ICMIN;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "icononly"; inherit;
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 0 0;
|
|
|
|
align: 0.5 0.5;
|
|
|
|
rel2.relative: 1.0 1.0;
|
2021-04-02 04:33:07 -07:00
|
|
|
rel2.offset: -7 -7;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 1;
|
2021-03-31 10:47:25 -07:00
|
|
|
min: ICMIN ICMIN;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
text { "elm.text"; nomouse;
|
2013-10-17 00:34:36 -07:00
|
|
|
scale: 1;
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 192 192 192 255;
|
|
|
|
rel1.offset: 0 6;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.to_x: "elm.swallow.content";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: -7 -7;
|
2013-10-17 00:34:36 -07:00
|
|
|
text { font: FN; size: 10;
|
|
|
|
align: 0.5 0.5;
|
|
|
|
min: 0 0;
|
|
|
|
}
|
2021-03-31 10:47:25 -07:00
|
|
|
min: 0 ICMIN;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 0;
|
2021-03-27 08:02:13 -07:00
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "visible"; inherit;
|
|
|
|
fixed: 0 0;
|
|
|
|
rel1.offset: 6 6;
|
2013-10-17 00:34:36 -07:00
|
|
|
text.min: 1 1;
|
2014-05-13 12:45:30 -07:00
|
|
|
text.ellipsis: -1;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 1;
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "pressed_visible"; inherit;
|
|
|
|
fixed: 0 0;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
rel1.offset: 6 6;
|
2016-01-04 15:06:52 -08:00
|
|
|
text.min: 1 1;
|
|
|
|
text.ellipsis: -1;
|
|
|
|
visible: 1;
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "textonly"; inherit;
|
|
|
|
fixed: 0 0;
|
2013-10-17 00:34:36 -07:00
|
|
|
text.min: 1 1;
|
2014-05-13 12:45:30 -07:00
|
|
|
text.ellipsis: -1;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 1;
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "pressed_textonly"; inherit;
|
|
|
|
fixed: 0 0;
|
|
|
|
color: 255 255 255 255;
|
2016-01-04 15:06:52 -08:00
|
|
|
text.min: 1 1;
|
|
|
|
text.ellipsis: -1;
|
|
|
|
visible: 1;
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "disabled_visible"; inherit;
|
|
|
|
fixed: 0 0;
|
|
|
|
color: 96 96 96 255;
|
|
|
|
rel1.offset: 6 6;
|
2013-10-17 00:34:36 -07:00
|
|
|
text.min: 1 1;
|
2014-05-13 12:45:30 -07:00
|
|
|
text.ellipsis: -1;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 1;
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "disabled_textonly"; inherit;
|
|
|
|
fixed: 0 0;
|
|
|
|
color: 96 96 96 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
text.min: 1 1;
|
2014-05-13 12:45:30 -07:00
|
|
|
text.ellipsis: -1;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
rect { "event";
|
2021-03-27 08:02:13 -07:00
|
|
|
ignore_flags: ON_HOLD;
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "disabled"; inherit;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program {
|
|
|
|
signal: "mouse,down,1"; source: "event";
|
|
|
|
action: SIGNAL_EMIT "elm,action,press" "elm";
|
|
|
|
after: "button_click_anim";
|
|
|
|
}
|
|
|
|
program { name: "button_click_anim";
|
2021-03-27 08:02:13 -07:00
|
|
|
script { flag_set(PRESSED); }
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
program { name: "button_unclick";
|
|
|
|
signal: "mouse,up,1"; source: "event";
|
|
|
|
action: SIGNAL_EMIT "elm,action,unpress" "elm";
|
|
|
|
after: "button_unclick_anim";
|
|
|
|
}
|
|
|
|
program { name: "button_unclick_anim";
|
2021-03-27 08:02:13 -07:00
|
|
|
script { flag_unset(PRESSED); }
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
program { name: "buttonactivate";
|
|
|
|
signal: "elm,anim,activate"; source: "elm";
|
2016-01-04 15:06:52 -08:00
|
|
|
action: STATE_SET "pressed" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "shadow";
|
2013-10-17 00:34:36 -07:00
|
|
|
target: "base";
|
|
|
|
after: "button_unpressed_anim";
|
|
|
|
}
|
|
|
|
program { name: "button_unpressed_anim";
|
|
|
|
in: 0.5 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "shadow";
|
2013-10-17 00:34:36 -07:00
|
|
|
target: "base";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,clicked,1"; source: "event";
|
|
|
|
action: SIGNAL_EMIT "elm,action,click" "elm";
|
|
|
|
}
|
|
|
|
program { name: "button_text_visible";
|
|
|
|
signal: "elm,state,text,visible"; source: "elm";
|
2021-03-27 08:02:13 -07:00
|
|
|
script { flag_set(LABEL); }
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
program { name: "button_text_hidden";
|
|
|
|
signal: "elm,state,text,hidden"; source: "elm";
|
2021-03-27 08:02:13 -07:00
|
|
|
script { flag_unset(LABEL); }
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
program { name: "button_icon_visible";
|
|
|
|
signal: "elm,state,icon,visible"; source: "elm";
|
2021-03-27 08:02:13 -07:00
|
|
|
script { flag_set(ICON); }
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
program { name: "button_icon_hidden";
|
|
|
|
signal: "elm,state,icon,hidden"; source: "elm";
|
2021-03-27 08:02:13 -07:00
|
|
|
script { flag_unset(ICON); }
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2016-02-04 23:21:54 -08:00
|
|
|
program { name: "button_background_visible";
|
|
|
|
signal: "elm,state,background,visible"; source: "elm";
|
2021-03-27 08:02:13 -07:00
|
|
|
script { flag_set(BACKGROUND); }
|
2016-02-04 23:21:54 -08:00
|
|
|
}
|
|
|
|
program { name: "button_background_hidden";
|
|
|
|
signal: "elm,state,background,hidden"; source: "elm";
|
2021-03-27 08:02:13 -07:00
|
|
|
script { flag_unset(BACKGROUND); }
|
2016-02-04 23:21:54 -08:00
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
program { name: "button_state_disabled";
|
|
|
|
signal: "elm,state,disabled"; source: "elm";
|
2021-03-27 08:02:13 -07:00
|
|
|
script { flag_set(DISABLE); }
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
program { name: "button_state_enabled";
|
|
|
|
signal: "elm,state,enabled"; source: "elm";
|
2021-03-27 08:02:13 -07:00
|
|
|
script { flag_unset(DISABLE); }
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "elm/button/base/anchor";
|
|
|
|
script {
|
|
|
|
public btmode;
|
|
|
|
public eval_mode(m) {
|
|
|
|
new m1 = m & MASK;
|
|
|
|
new d = m & DISABLE;
|
2021-03-27 08:02:13 -07:00
|
|
|
new p = m & PRESSED;
|
|
|
|
if (!d) {
|
|
|
|
if (!p) {
|
|
|
|
set_state(PART:"bar", "default", 0.0);
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
set_state(PART:"bar", "pressed", 0.0);
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
set_state(PART:"bar", "disabled", 0.0);
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
if (m1 == (ICON | LABEL)) {
|
|
|
|
if (!d) {
|
|
|
|
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
2021-03-27 08:02:13 -07:00
|
|
|
if (!p) {
|
|
|
|
set_state(PART:"elm.text", "visible", 0.0);
|
|
|
|
} else {
|
|
|
|
set_state(PART:"elm.text", "pressed_visible", 0.0);
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
set_state(PART:"icon_clip", "default", 0.0);
|
|
|
|
set_state(PART:"event", "default", 0.0);
|
|
|
|
} else {
|
|
|
|
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
|
|
|
set_state(PART:"elm.text", "disabled_visible", 0.0);
|
|
|
|
set_state(PART:"icon_clip", "disabled", 0.0);
|
|
|
|
set_state(PART:"event", "disabled", 0.0);
|
|
|
|
}
|
|
|
|
} else if (m1 == (ICON)) {
|
|
|
|
if (!d) {
|
|
|
|
set_state(PART:"elm.swallow.content", "icononly", 0.0);
|
|
|
|
set_state(PART:"elm.text", "default", 0.0);
|
|
|
|
set_state(PART:"icon_clip", "default", 0.0);
|
|
|
|
set_state(PART:"event", "default", 0.0);
|
|
|
|
} else {
|
|
|
|
set_state(PART:"elm.swallow.content", "icononly", 0.0);
|
|
|
|
set_state(PART:"elm.text", "default", 0.0);
|
|
|
|
set_state(PART:"icon_clip", "disabled", 0.0);
|
|
|
|
set_state(PART:"event", "disabled", 0.0);
|
|
|
|
}
|
|
|
|
} else if (m1 == (LABEL)) {
|
|
|
|
if (!d) {
|
|
|
|
set_state(PART:"elm.swallow.content", "default", 0.0);
|
2021-03-27 08:02:13 -07:00
|
|
|
if (!p) {
|
|
|
|
set_state(PART:"elm.text", "textonly", 0.0);
|
|
|
|
} else {
|
|
|
|
set_state(PART:"elm.text", "pressed_textonly", 0.0);
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
set_state(PART:"icon_clip", "default", 0.0);
|
|
|
|
set_state(PART:"event", "default", 0.0);
|
|
|
|
} else {
|
|
|
|
set_state(PART:"elm.swallow.content", "default", 0.0);
|
|
|
|
set_state(PART:"elm.text", "disabled_textonly", 0.0);
|
|
|
|
set_state(PART:"icon_clip", "disabled", 0.0);
|
|
|
|
set_state(PART:"event", "disabled", 0.0);
|
|
|
|
}
|
|
|
|
} else {
|
2014-07-07 00:58:00 -07:00
|
|
|
if (!d) {
|
|
|
|
set_state(PART:"elm.swallow.content", "default", 0.0);
|
|
|
|
set_state(PART:"icon_clip", "default", 0.0);
|
|
|
|
set_state(PART:"event", "default", 0.0);
|
|
|
|
} else {
|
|
|
|
set_state(PART:"elm.swallow.content", "default", 0.0);
|
|
|
|
set_state(PART:"icon_clip", "disabled", 0.0);
|
|
|
|
set_state(PART:"event", "disabled", 0.0);
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
parts {
|
2016-07-25 00:23:45 -07:00
|
|
|
rect { "base";
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "default";
|
2016-07-25 00:23:45 -07:00
|
|
|
color: 0 0 0 0;
|
2016-05-02 00:53:37 -07:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "pressed"; inherit;
|
|
|
|
inherit: "default";
|
|
|
|
}
|
|
|
|
desc { "disabled"; inherit;
|
|
|
|
inherit: "default";
|
|
|
|
}
|
|
|
|
desc { "hidden"; inherit;
|
|
|
|
inherit: "default";
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
rect { "icon_clip";
|
|
|
|
desc { "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "disabled";
|
|
|
|
inherit: "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
color: 255 255 255 64;
|
|
|
|
}
|
|
|
|
}
|
2016-02-04 23:21:54 -08:00
|
|
|
swallow { "elm.swallow.background"; nomouse;
|
|
|
|
desc { "default";
|
|
|
|
rel1.to: "base";
|
|
|
|
rel2.to: "base";
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
desc { "visible";
|
|
|
|
inherit: "default";
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
swallow { "elm.swallow.content"; nomouse;
|
2013-10-17 00:34:36 -07:00
|
|
|
clip_to: "icon_clip";
|
2021-03-31 10:47:25 -07:00
|
|
|
scale: 1;
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 1 0;
|
|
|
|
align: 0.0 0.5;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 4 4;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.to: "base";
|
|
|
|
rel2.relative: 0.0 1.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: 4 -5;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.to: "base";
|
|
|
|
visible: 0;
|
2021-03-31 10:47:25 -07:00
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "visible";
|
|
|
|
inherit: "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 1 0;
|
|
|
|
aspect: 1.0 1.0;
|
|
|
|
visible: 1;
|
2021-03-31 10:47:25 -07:00
|
|
|
min: ICMIN ICMIN;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "icononly";
|
|
|
|
inherit: "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 0 0;
|
|
|
|
align: 0.5 0.5;
|
|
|
|
rel2.relative: 1.0 1.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: -5 -5;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 1;
|
2021-03-31 10:47:25 -07:00
|
|
|
min: ICMIN ICMIN;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
text { "elm.text"; nomouse;
|
2013-10-17 00:34:36 -07:00
|
|
|
scale: 1;
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 0 4;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.to_x: "elm.swallow.content";
|
|
|
|
rel1.to_y: "base";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: -5 -5;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.to: "base";
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 51 153 255 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
text { font: FN; size: 10;
|
|
|
|
align: 0.5 0.5;
|
|
|
|
min: 0 0;
|
|
|
|
}
|
2021-03-31 10:47:25 -07:00
|
|
|
min: 0 ICMIN;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 0;
|
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "visible";
|
|
|
|
inherit: "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 4 4;
|
|
|
|
text.min: 1 1;
|
|
|
|
text.ellipsis: -1;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
desc { "pressed_visible";
|
|
|
|
inherit: "default";
|
|
|
|
color: 255 255 255 255;
|
|
|
|
rel1.offset: 4 4;
|
2013-10-17 00:34:36 -07:00
|
|
|
text.min: 1 1;
|
2014-05-13 12:45:30 -07:00
|
|
|
text.ellipsis: -1;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 1;
|
2021-03-27 08:02:13 -07:00
|
|
|
fixed: 0 0;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "textonly";
|
|
|
|
inherit: "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 0 4;
|
|
|
|
text.min: 1 1;
|
|
|
|
text.ellipsis: -1;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
desc { "pressed_textonly";
|
|
|
|
inherit: "default";
|
|
|
|
color: 255 255 255 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
text.min: 1 1;
|
2014-05-13 12:45:30 -07:00
|
|
|
text.ellipsis: -1;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 1;
|
2021-03-27 08:02:13 -07:00
|
|
|
fixed: 0 0;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "disabled_visible";
|
|
|
|
inherit: "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.offset: 0 0;
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 96 96 96 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
text.min: 1 1;
|
2014-05-13 12:45:30 -07:00
|
|
|
text.ellipsis: -1;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 1;
|
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "disabled_textonly";
|
|
|
|
inherit: "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 0 4;
|
|
|
|
color: 96 96 96 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
text.min: 1 1;
|
2014-05-13 12:45:30 -07:00
|
|
|
text.ellipsis: -1;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
rect { "bar"; nomouse;
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 51 153 255 255;
|
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
rel1.offset: 2 -3;
|
|
|
|
rel2.offset: -3 -3;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "pressed";
|
2014-07-19 14:01:30 -07:00
|
|
|
inherit: "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 255 255 255 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "disabled";
|
|
|
|
inherit: "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 96 96 96 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
rect { "event";
|
|
|
|
desc { "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "disabled";
|
|
|
|
inherit: "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program {
|
|
|
|
signal: "mouse,down,1"; source: "event";
|
|
|
|
action: SIGNAL_EMIT "elm,action,press" "elm";
|
|
|
|
after: "button_click_anim";
|
|
|
|
}
|
|
|
|
program { name: "button_click_anim";
|
2021-03-27 08:02:13 -07:00
|
|
|
script {
|
|
|
|
new m = get_int(btmode);
|
|
|
|
m |= PRESSED; set_int(btmode, m);
|
|
|
|
eval_mode(m);
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { name: "button_unclick";
|
2013-10-17 00:34:36 -07:00
|
|
|
signal: "mouse,up,1"; source: "event";
|
|
|
|
action: SIGNAL_EMIT "elm,action,unpress" "elm";
|
|
|
|
after: "button_unclick_anim";
|
|
|
|
}
|
|
|
|
program { name: "button_unclick_anim";
|
2021-03-27 08:02:13 -07:00
|
|
|
script {
|
|
|
|
new m = get_int(btmode);
|
|
|
|
m &= ~PRESSED; set_int(btmode, m);
|
|
|
|
eval_mode(m);
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { name: "buttonactivate";
|
2013-10-17 00:34:36 -07:00
|
|
|
signal: "elm,anim,activate"; source: "elm";
|
2021-03-27 08:02:13 -07:00
|
|
|
action: STATE_SET "pressed" 0.0;
|
|
|
|
target: "base";
|
2013-10-17 00:34:36 -07:00
|
|
|
after: "button_unpressed_anim";
|
|
|
|
}
|
|
|
|
program { name: "button_unpressed_anim";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
in: 0.5 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "base";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,clicked,1"; source: "event";
|
|
|
|
action: SIGNAL_EMIT "elm,action,click" "elm";
|
|
|
|
}
|
|
|
|
program { name: "button_text_visible";
|
|
|
|
signal: "elm,state,text,visible"; source: "elm";
|
|
|
|
script {
|
|
|
|
new m = get_int(btmode);
|
|
|
|
m |= LABEL; set_int(btmode, m);
|
|
|
|
eval_mode(m);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "button_text_hidden";
|
|
|
|
signal: "elm,state,text,hidden"; source: "elm";
|
|
|
|
script {
|
|
|
|
new m = get_int(btmode);
|
|
|
|
m &= ~LABEL; set_int(btmode, m);
|
|
|
|
eval_mode(m);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "button_icon_visible";
|
|
|
|
signal: "elm,state,icon,visible"; source: "elm";
|
|
|
|
script {
|
|
|
|
new m = get_int(btmode);
|
|
|
|
m |= ICON; set_int(btmode, m);
|
|
|
|
eval_mode(m);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "button_icon_hidden";
|
|
|
|
signal: "elm,state,icon,hidden"; source: "elm";
|
|
|
|
script {
|
|
|
|
new m = get_int(btmode);
|
|
|
|
m &= ~ICON; set_int(btmode, m);
|
|
|
|
eval_mode(m);
|
|
|
|
}
|
|
|
|
}
|
2016-02-04 23:21:54 -08:00
|
|
|
program { name: "button_background_visible";
|
|
|
|
signal: "elm,state,background,visible"; source: "elm";
|
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
target: "elm.swallow.background";
|
|
|
|
}
|
|
|
|
program { name: "button_background_hidden";
|
|
|
|
signal: "elm,state,background,hidden"; source: "elm";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "elm.swallow.background";
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
program { name: "button_state_disabled";
|
|
|
|
signal: "elm,state,disabled"; source: "elm";
|
|
|
|
script {
|
|
|
|
new m = get_int(btmode);
|
|
|
|
m |= DISABLE; set_int(btmode, m);
|
|
|
|
eval_mode(m);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "button_state_enabled";
|
|
|
|
signal: "elm,state,enabled"; source: "elm";
|
|
|
|
script {
|
|
|
|
new m = get_int(btmode);
|
|
|
|
m &= ~DISABLE; set_int(btmode, m);
|
|
|
|
eval_mode(m);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-31 03:29:33 -07:00
|
|
|
group { name: "elm/button/base/blank";
|
|
|
|
inherit: "elm/button/base/default";
|
|
|
|
parts {
|
|
|
|
part { name: "shadow";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "pressed" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "disabled" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "base";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "pressed" 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
description { state: "disabled" 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "elm/button/base/overlay";
|
|
|
|
inherit: "elm/button/base/default";
|
|
|
|
parts {
|
|
|
|
part { name: "shadow";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "pressed" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "disabled" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "base";
|
|
|
|
description { state: "default" 0.0;
|
2021-04-10 10:31:27 -07:00
|
|
|
color: 0 0 0 160;
|
2021-03-31 03:29:33 -07:00
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
description { state: "pressed" 0.0;
|
2021-04-10 10:31:27 -07:00
|
|
|
color: 0 0 0 200;
|
2021-03-31 03:29:33 -07:00
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
description { state: "disabled" 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-17 00:34:36 -07:00
|
|
|
group { name: "elm/button/base/colorselector/left/default";
|
|
|
|
inherit: "elm/button/base/default";
|
|
|
|
parts {
|
2014-07-19 14:01:30 -07:00
|
|
|
image { "ic"; nomouse;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
fixed: 1 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
min: 15 15;
|
|
|
|
max: 15 15;
|
2021-03-27 08:02:13 -07:00
|
|
|
image.normal: "i-arrow-l";
|
|
|
|
color: 160 160 160 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "elm/button/base/colorselector/right/default";
|
|
|
|
inherit: "elm/button/base/default";
|
|
|
|
parts {
|
2014-07-19 14:01:30 -07:00
|
|
|
image { "ic"; nomouse;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
fixed: 1 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
min: 15 15;
|
|
|
|
max: 15 15;
|
2021-03-27 08:02:13 -07:00
|
|
|
image.normal: "i-arrow-r";
|
|
|
|
color: 160 160 160 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "elm/button/base/media_player/prev/default";
|
|
|
|
alias: "elm/button/base/media_player/prev/flush";
|
|
|
|
parts {
|
2021-03-27 08:02:13 -07:00
|
|
|
rect { "base";
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 96 96 96 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 0;
|
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "selected";
|
|
|
|
inherit: "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
image { "ic"; nomouse;
|
|
|
|
scale: 1;
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
min: 15 15;
|
|
|
|
max: 15 15;
|
|
|
|
image.normal: "i-media-prev";
|
|
|
|
color: 160 160 160 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "selected";
|
|
|
|
inherit: "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 255 255 255 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
rect { "event";
|
2013-10-17 00:34:36 -07:00
|
|
|
ignore_flags: ON_HOLD;
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "mouse,down,1"; source: "event";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: SIGNAL_EMIT "elm,action,press" "elm";
|
|
|
|
after: "button_click_anim";
|
|
|
|
}
|
|
|
|
program { name: "button_click_anim";
|
|
|
|
action: STATE_SET "selected" 0.0;
|
2016-01-04 15:06:52 -08:00
|
|
|
target: "base";
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "ic";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "mouse,up,1"; source: "event";
|
2016-01-04 15:06:52 -08:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "base";
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "ic";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "mouse,clicked,1"; source: "event";
|
|
|
|
action: SIGNAL_EMIT "elm,action,click" "elm";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-27 08:02:13 -07:00
|
|
|
#define MEDIABUTTON(_name, _icon) \
|
|
|
|
group { name: "elm/button/base/media_player/"_name"/default"; \
|
|
|
|
alias: "elm/button/base/media_player/"_name"/flush"; \
|
|
|
|
inherit: "elm/button/base/media_player/prev/default"; \
|
|
|
|
parts { image { "ic"; \
|
|
|
|
desc { "default"; image.normal: _icon; } \
|
|
|
|
desc { "selected"; image.normal: _icon; } \
|
|
|
|
} } \
|
|
|
|
}
|
|
|
|
|
|
|
|
MEDIABUTTON("rewind", "i-media-rw")
|
|
|
|
MEDIABUTTON("play", "i-media-play")
|
|
|
|
MEDIABUTTON("pause", "i-media-pause")
|
|
|
|
MEDIABUTTON("forward", "i-media-ff")
|
|
|
|
MEDIABUTTON("next", "i-media-next")
|
|
|
|
MEDIABUTTON("info", "i-info")
|
|
|
|
MEDIABUTTON("stop", "i-media-stop")
|
|
|
|
MEDIABUTTON("eject", "i-media-eject")
|
|
|
|
MEDIABUTTON("volume", "i-media-volume")
|
|
|
|
MEDIABUTTON("mute", "i-media-mute")
|
|
|
|
|
2013-10-17 00:34:36 -07:00
|
|
|
group { name: "elm/button/base/hoversel_vertical_entry/default";
|
|
|
|
alias: "elm/button/base/hoversel_vertical_entry/entry";
|
|
|
|
script {
|
|
|
|
public btmode;
|
2017-04-19 10:41:08 -07:00
|
|
|
public is_selected;
|
2013-10-17 00:34:36 -07:00
|
|
|
public eval_mode(m) {
|
|
|
|
new m1 = m & MASK;
|
|
|
|
new d = m & DISABLE;
|
|
|
|
if (m1 == (ICON | LABEL)) {
|
|
|
|
if (!d) {
|
|
|
|
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
2021-03-27 08:02:13 -07:00
|
|
|
set_state(PART:"elm.text", "default", 0.0);
|
2013-10-17 00:34:36 -07:00
|
|
|
set_state(PART:"icon_clip", "default", 0.0);
|
|
|
|
set_state(PART:"event", "default", 0.0);
|
|
|
|
} else {
|
|
|
|
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
2021-03-27 08:02:13 -07:00
|
|
|
set_state(PART:"elm.text", "disabled", 0.0);
|
2013-10-17 00:34:36 -07:00
|
|
|
set_state(PART:"icon_clip", "disabled", 0.0);
|
|
|
|
set_state(PART:"event", "disabled", 0.0);
|
|
|
|
}
|
|
|
|
} else if (m1 == (ICON)) {
|
|
|
|
if (!d) {
|
|
|
|
set_state(PART:"elm.swallow.content", "icononly", 0.0);
|
|
|
|
set_state(PART:"elm.text", "default", 0.0);
|
|
|
|
set_state(PART:"icon_clip", "default", 0.0);
|
|
|
|
set_state(PART:"event", "default", 0.0);
|
|
|
|
} else {
|
|
|
|
set_state(PART:"elm.swallow.content", "icononly", 0.0);
|
|
|
|
set_state(PART:"elm.text", "default", 0.0);
|
|
|
|
set_state(PART:"icon_clip", "disabled", 0.0);
|
|
|
|
set_state(PART:"event", "disabled", 0.0);
|
|
|
|
}
|
|
|
|
} else if (m1 == (LABEL)) {
|
|
|
|
if (!d) {
|
|
|
|
set_state(PART:"elm.swallow.content", "default", 0.0);
|
2021-03-27 08:02:13 -07:00
|
|
|
set_state(PART:"elm.text", "default", 0.0);
|
2013-10-17 00:34:36 -07:00
|
|
|
set_state(PART:"icon_clip", "default", 0.0);
|
|
|
|
set_state(PART:"event", "default", 0.0);
|
|
|
|
} else {
|
|
|
|
set_state(PART:"elm.swallow.content", "default", 0.0);
|
2021-03-27 08:02:13 -07:00
|
|
|
set_state(PART:"elm.text", "disabled", 0.0);
|
2013-10-17 00:34:36 -07:00
|
|
|
set_state(PART:"icon_clip", "disabled", 0.0);
|
|
|
|
set_state(PART:"event", "disabled", 0.0);
|
|
|
|
}
|
|
|
|
} else {
|
2014-07-07 00:58:00 -07:00
|
|
|
if (!d) {
|
|
|
|
set_state(PART:"elm.swallow.content", "default", 0.0);
|
|
|
|
set_state(PART:"icon_clip", "default", 0.0);
|
|
|
|
set_state(PART:"event", "default", 0.0);
|
|
|
|
} else {
|
|
|
|
set_state(PART:"elm.swallow.content", "default", 0.0);
|
|
|
|
set_state(PART:"icon_clip", "disabled", 0.0);
|
|
|
|
set_state(PART:"event", "disabled", 0.0);
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
parts {
|
2021-03-27 08:02:13 -07:00
|
|
|
image { "base"; type: RECT; nomouse;
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 1 1;
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 56 56 56 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 2 0;
|
|
|
|
rel2.offset: -9 -1;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "clicked";
|
|
|
|
inherit: "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
rect { "icon_clip";
|
|
|
|
desc { "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "disabled";
|
|
|
|
inherit: "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
color: 255 255 255 64;
|
|
|
|
}
|
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
swallow { "elm.swallow.content"; nomouse;
|
2013-10-17 00:34:36 -07:00
|
|
|
clip_to: "icon_clip";
|
2021-03-31 10:47:25 -07:00
|
|
|
scale: 1;
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 1 0;
|
|
|
|
align: 0.0 0.5;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "base";
|
|
|
|
rel1.offset: 4 4;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.relative: 0.0 1.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: 4 -5;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 0;
|
2021-03-31 10:47:25 -07:00
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "visible";
|
|
|
|
inherit: "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 1 0;
|
|
|
|
aspect: 1.0 1.0;
|
|
|
|
visible: 1;
|
2021-03-31 10:47:25 -07:00
|
|
|
min: ICMIN ICMIN;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "icononly";
|
|
|
|
inherit: "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
fixed: 0 0;
|
|
|
|
align: 0.5 0.5;
|
|
|
|
rel2.relative: 1.0 1.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: -5 -5;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 1;
|
2021-03-31 10:47:25 -07:00
|
|
|
min: ICMIN ICMIN;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
rect { "click_clip";
|
|
|
|
desc { "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "clicked";
|
|
|
|
inherit: "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
text { "elm.text"; nomouse;
|
|
|
|
scale: 1;
|
|
|
|
clip_to: "click_clip";
|
2015-03-03 22:54:39 -08:00
|
|
|
desc { "default";
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.to_x: "elm.swallow.content";
|
|
|
|
rel1.to_y: "base";
|
|
|
|
rel2.to: "base";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 4 4;
|
|
|
|
rel2.offset: -5 -5;
|
|
|
|
color: 160 160 160 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
text { font: FN; size: 10;
|
2016-01-04 15:08:49 -08:00
|
|
|
align: 0.0 0.5;
|
2021-03-27 08:02:13 -07:00
|
|
|
min: 1 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
text_class: "button";
|
|
|
|
}
|
2021-03-31 10:47:25 -07:00
|
|
|
min: 0 ICMIN;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "clicked";
|
|
|
|
inherit: "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 255 255 255 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "disabled";
|
2014-07-19 14:01:30 -07:00
|
|
|
inherit: "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 80 80 80 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2015-11-10 15:15:29 -08:00
|
|
|
rect { name: "block_events";
|
|
|
|
desc { "default";
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
rect { name: "event";
|
|
|
|
desc { "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "disabled";
|
|
|
|
inherit: "default";
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program {
|
|
|
|
signal: "mouse,down,1"; source: "event";
|
|
|
|
action: SIGNAL_EMIT "elm,action,press" "elm";
|
|
|
|
after: "button_click_anim";
|
|
|
|
}
|
|
|
|
program { name: "button_click_anim";
|
|
|
|
action: STATE_SET "clicked" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "elm.text";
|
2013-10-17 00:34:36 -07:00
|
|
|
target: "base";
|
|
|
|
}
|
|
|
|
program { name: "button_unclick";
|
|
|
|
signal: "mouse,up,1"; source: "event";
|
|
|
|
action: SIGNAL_EMIT "elm,action,unpress" "elm";
|
|
|
|
after: "button_unclick_anim";
|
|
|
|
}
|
|
|
|
program { name: "button_unclick_anim";
|
2017-04-19 10:41:08 -07:00
|
|
|
script {
|
2021-03-27 08:02:13 -07:00
|
|
|
if (!get_int(is_selected)) {
|
|
|
|
set_state(PART:"elm.text", "default", 0.0);
|
|
|
|
set_state(PART:"base", "default", 0.0);
|
|
|
|
}
|
2017-04-19 10:41:08 -07:00
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
program { name: "buttonactivate";
|
|
|
|
signal: "elm,anim,activate"; source: "elm";
|
|
|
|
action: STATE_SET "clicked" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "elm.text";
|
2013-10-17 00:34:36 -07:00
|
|
|
target: "base";
|
|
|
|
after: "button_unpressed_anim";
|
|
|
|
}
|
|
|
|
program { name: "button_unpressed_anim";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
in: 0.5 0.0;
|
2017-04-19 10:41:08 -07:00
|
|
|
script {
|
|
|
|
if (!get_int(is_selected))
|
2021-03-27 08:02:13 -07:00
|
|
|
set_state(PART:"elm.text", "default", 0.0);
|
2017-04-19 10:41:08 -07:00
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,clicked,1"; source: "event";
|
|
|
|
action: SIGNAL_EMIT "elm,action,click" "elm";
|
|
|
|
}
|
|
|
|
program { name: "button_text_visible";
|
|
|
|
signal: "elm,state,text,visible"; source: "elm";
|
|
|
|
script {
|
|
|
|
new m = get_int(btmode);
|
|
|
|
m |= LABEL; set_int(btmode, m);
|
|
|
|
eval_mode(m);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "button_text_hidden";
|
|
|
|
signal: "elm,state,text,hidden"; source: "elm";
|
|
|
|
script {
|
|
|
|
new m = get_int(btmode);
|
|
|
|
m &= ~LABEL; set_int(btmode, m);
|
|
|
|
eval_mode(m);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "button_icon_visible";
|
|
|
|
signal: "elm,state,icon,visible"; source: "elm";
|
|
|
|
script {
|
|
|
|
new m = get_int(btmode);
|
|
|
|
m |= ICON; set_int(btmode, m);
|
|
|
|
eval_mode(m);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "button_icon_hidden";
|
|
|
|
signal: "elm,state,icon,hidden"; source: "elm";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
script {
|
|
|
|
new m = get_int(btmode);
|
|
|
|
m &= ~ICON; set_int(btmode, m);
|
|
|
|
eval_mode(m);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "button_state_disabled";
|
|
|
|
signal: "elm,state,disabled"; source: "elm";
|
|
|
|
script {
|
|
|
|
new m = get_int(btmode);
|
|
|
|
m |= DISABLE; set_int(btmode, m);
|
|
|
|
eval_mode(m);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "button_state_enabled";
|
|
|
|
signal: "elm,state,enabled"; source: "elm";
|
|
|
|
script {
|
|
|
|
new m = get_int(btmode);
|
|
|
|
m &= ~DISABLE; set_int(btmode, m);
|
|
|
|
eval_mode(m);
|
|
|
|
}
|
|
|
|
}
|
2017-04-19 10:41:08 -07:00
|
|
|
program { "selected";
|
|
|
|
signal: "elm,state,selected";
|
|
|
|
source: "elm";
|
|
|
|
script {
|
|
|
|
set_int(is_selected, 1);
|
2021-03-27 08:02:13 -07:00
|
|
|
set_state(PART:"elm.text", "clicked", 0.0);
|
|
|
|
set_state(PART:"base", "clicked", 0.0);
|
2017-04-19 10:41:08 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
program { "unselected";
|
|
|
|
signal: "elm,state,unselected";
|
|
|
|
source: "elm";
|
|
|
|
script {
|
|
|
|
set_int(is_selected, 0);
|
2021-03-27 08:02:13 -07:00
|
|
|
set_state(PART:"elm.text", "default", 0.0);
|
|
|
|
set_state(PART:"base", "default", 0.0);
|
2017-04-19 10:41:08 -07:00
|
|
|
}
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-27 08:02:13 -07:00
|
|
|
group { name: "elm/button/base/hoversel_vertical/default";
|
|
|
|
inherit: "elm/button/base/default";
|
|
|
|
alias: "elm/button/base/hoversel_vertical/entry";
|
|
|
|
alias: "elm/button/base/hoversel_horizontal/default";
|
|
|
|
alias: "elm/button/base/hoversel_horizontal/entry";
|
|
|
|
|
2013-10-17 00:34:36 -07:00
|
|
|
parts {
|
2021-03-27 08:02:13 -07:00
|
|
|
text { "elm.text";
|
|
|
|
scale: 1;
|
2014-07-19 14:01:30 -07:00
|
|
|
desc { "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.to_y: "base";
|
|
|
|
rel2.to_x: "select_line";
|
|
|
|
rel2.offset: -5 -5;
|
|
|
|
rel2.relative: 0.0 1.0;
|
2021-03-30 06:41:10 -07:00
|
|
|
text.align: 0.0 0.5;
|
2021-03-27 08:02:13 -07:00
|
|
|
offscale;
|
2021-03-31 10:47:25 -07:00
|
|
|
min: 0 ICMIN;
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
desc { "visible"; inherit;
|
|
|
|
fixed: 0 0;
|
|
|
|
rel1.offset: 4 4;
|
|
|
|
text.min: 1 1;
|
|
|
|
text.ellipsis: -1;
|
|
|
|
visible: 1;
|
|
|
|
rel2.to_y: "base";
|
|
|
|
rel2.to_x: "select_line";
|
|
|
|
rel2.offset: -5 -5;
|
2021-03-30 06:41:10 -07:00
|
|
|
text.align: 0.0 0.5;
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
desc { "pressed_visible"; inherit;
|
|
|
|
fixed: 0 0;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
rel1.offset: 4 4;
|
|
|
|
text.min: 1 1;
|
|
|
|
text.ellipsis: -1;
|
|
|
|
visible: 1;
|
|
|
|
rel2.to_y: "base";
|
|
|
|
rel2.to_x: "select_line";
|
|
|
|
rel2.offset: -5 -5;
|
|
|
|
}
|
|
|
|
desc { "textonly"; inherit;
|
|
|
|
fixed: 0 0;
|
|
|
|
text.min: 1 1;
|
|
|
|
text.ellipsis: -1;
|
|
|
|
visible: 1;
|
|
|
|
rel2.to_y: "base";
|
|
|
|
rel2.to_x: "select_line";
|
|
|
|
rel2.offset: -5 -5;
|
2021-03-30 06:41:10 -07:00
|
|
|
text.align: 0.0 0.5;
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
desc { "pressed_textonly"; inherit;
|
|
|
|
fixed: 0 0;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
text.min: 1 1;
|
|
|
|
text.ellipsis: -1;
|
|
|
|
visible: 1;
|
|
|
|
rel2.to_y: "base";
|
|
|
|
rel2.to_x: "select_line";
|
|
|
|
rel2.offset: -5 -5;
|
2021-03-30 06:41:10 -07:00
|
|
|
text.align: 0.0 0.5;
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
desc { "disabled_visible"; inherit;
|
|
|
|
fixed: 0 0;
|
|
|
|
color: 96 96 96 255;
|
|
|
|
rel1.offset: 4 4;
|
|
|
|
text.min: 1 1;
|
|
|
|
text.ellipsis: -1;
|
|
|
|
visible: 1;
|
|
|
|
rel2.to_y: "base";
|
|
|
|
rel2.to_x: "select_line";
|
|
|
|
rel2.offset: -5 -5;
|
2021-03-30 06:41:10 -07:00
|
|
|
text.align: 0.0 0.5;
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
desc { "disabled_textonly"; inherit;
|
|
|
|
fixed: 0 0;
|
|
|
|
color: 96 96 96 255;
|
|
|
|
text.min: 1 1;
|
|
|
|
text.ellipsis: -1;
|
|
|
|
visible: 1;
|
|
|
|
rel2.to_y: "base";
|
|
|
|
rel2.to_x: "select_line";
|
|
|
|
rel2.offset: -5 -5;
|
2021-03-30 06:41:10 -07:00
|
|
|
text.align: 0.0 0.5;
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
rect { "select_line"; nomouse;
|
|
|
|
scale: 1;
|
|
|
|
desc { "default";
|
|
|
|
fixed: 1 1;
|
|
|
|
align: 1.0 0.5;
|
|
|
|
min: 5 5;
|
|
|
|
rel1.to: "base";
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.offset: -1 0;
|
|
|
|
rel2.to: "base";
|
|
|
|
rel2.offset: -1 -1;
|
|
|
|
color: 51 153 255 255;
|
|
|
|
}
|
|
|
|
desc { "pressed";
|
|
|
|
inherit: "default";
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
desc { "disabled";
|
|
|
|
inherit: "default";
|
|
|
|
color: 96 96 96 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program { name: "button_click_anim";
|
|
|
|
action: STATE_SET "pressed" 0.0;
|
|
|
|
target: "base";
|
|
|
|
target: "select_line";
|
|
|
|
}
|
|
|
|
program { name: "button_unclick_anim";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "base";
|
|
|
|
target: "select_line";
|
|
|
|
}
|
|
|
|
program { name: "buttonactivate";
|
|
|
|
target: "select_line";
|
|
|
|
}
|
|
|
|
program { name: "button_unpressed_anim";
|
|
|
|
target: "select_line";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "elm,state,disabled"; source: "elm";
|
|
|
|
action: STATE_SET "disabled" 0.0;
|
|
|
|
target: "select_line";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "elm,state,enabled"; source: "elm";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "select_line";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "elm/button/base/hoversel_horizontal_entry/default";
|
|
|
|
inherit: "elm/button/base/hoversel_vertical_entry/default";
|
|
|
|
alias: "elm/button/base/hoversel_horizontal_entry/entry";
|
|
|
|
parts {
|
|
|
|
image { "base";
|
|
|
|
desc { "default";
|
|
|
|
rel1.offset: 0 0;
|
|
|
|
}
|
|
|
|
desc { "clicked";
|
|
|
|
inherit: "default";
|
|
|
|
visible: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
|
|
|
|
/******************* SPINNER BUTTONS STYLES **********************/
|
|
|
|
group { name: "elm/button/base/spinner/increase/default";
|
2015-11-03 12:17:03 -08:00
|
|
|
alias: "elm/button/base/spinner/increase/colorselector/default";
|
2017-11-20 02:12:49 -08:00
|
|
|
alias: "elm/button/base/spin_button/increase/default";
|
2015-12-22 01:48:16 -08:00
|
|
|
alias: "elm/button/base/calendar/increase/default";
|
|
|
|
alias: "elm/button/base/calendar/increase/double_spinners";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
script {
|
|
|
|
public mouse_down = 0;
|
|
|
|
public multi_down = 0;
|
|
|
|
}
|
|
|
|
parts {
|
|
|
|
part { name: "arrow.image";
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
FIXED_SIZE(15, 15)
|
|
|
|
image.normal: "i-arrow-r";
|
|
|
|
color: 160 160 160 255;
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
}
|
|
|
|
description { state: "pressed" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 255 255 255 255;
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
}
|
|
|
|
description { state: "disabled" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 96 96 96 255;
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "over"; type: RECT;
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
repeat_events: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "disabler"; type: RECT;
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "disabled" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program { name: "button_press";
|
2021-03-27 08:02:13 -07:00
|
|
|
signal: "mouse,down,1"; source: "over";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
script {
|
|
|
|
if ((get_int(multi_down) == 0) &&
|
|
|
|
(get_int(mouse_down) == 0)) {
|
|
|
|
set_int(mouse_down, 1);
|
|
|
|
run_program(PROGRAM:"button_press2");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "button_press2";
|
2018-06-19 10:27:00 -07:00
|
|
|
action: SIGNAL_EMIT "elm,action,press" "elm";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
after: "button_press_anim";
|
|
|
|
}
|
|
|
|
program { name: "button_press_anim";
|
|
|
|
action: STATE_SET "pressed" 0.0;
|
|
|
|
target: "arrow.image";
|
|
|
|
}
|
|
|
|
program { name: "button_unpress";
|
2021-03-27 08:02:13 -07:00
|
|
|
signal: "mouse,up,1"; source: "over";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
script {
|
|
|
|
if (get_int(mouse_down) == 1) {
|
|
|
|
set_int(mouse_down, 0);
|
|
|
|
run_program(PROGRAM:"button_unpress2");
|
|
|
|
run_program(PROGRAM:"button_unpress_anim");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "button_unpress2";
|
2018-06-19 10:27:00 -07:00
|
|
|
action: SIGNAL_EMIT "elm,action,unpress" "elm";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
}
|
|
|
|
program { name: "button_unpress_anim";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "arrow.image";
|
|
|
|
}
|
|
|
|
program { name: "button_click";
|
2021-03-27 08:02:13 -07:00
|
|
|
signal: "mouse,clicked,1"; source: "over";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
script {
|
|
|
|
if (get_int(multi_down) == 0) {
|
|
|
|
run_program(PROGRAM:"button_click2");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "action_unpressed";
|
2021-03-27 08:02:13 -07:00
|
|
|
signal: "elm,action,unpressed"; source: "elm";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
after: "button_unpress_anim";
|
|
|
|
}
|
|
|
|
program { name: "action_pressed";
|
2021-03-27 08:02:13 -07:00
|
|
|
signal: "elm,action,pressed"; source: "elm";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
after: "button_press_anim";
|
|
|
|
}
|
|
|
|
program { name: "button_click2";
|
2018-06-19 10:27:00 -07:00
|
|
|
action: SIGNAL_EMIT "elm,action,click" "elm";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
}
|
|
|
|
program { name: "access_pressed";
|
2021-03-27 08:02:13 -07:00
|
|
|
signal: "elm,action,anim,activate"; source: "elm";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
action: STATE_SET "pressed" 0.0;
|
|
|
|
target: "arrow.image";
|
|
|
|
after: "access_pressed_anim";
|
|
|
|
}
|
|
|
|
program { name: "access_pressed_anim";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: DECELERATE 0.1;
|
|
|
|
target: "arrow.image";
|
|
|
|
}
|
|
|
|
program { name: "disable";
|
2021-03-27 08:02:13 -07:00
|
|
|
signal: "elm,state,disabled"; source: "elm";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
action: STATE_SET "disabled" 0.0;
|
|
|
|
target: "arrow.image";
|
|
|
|
target: "disabler";
|
|
|
|
}
|
|
|
|
program { name: "enable";
|
2021-03-27 08:02:13 -07:00
|
|
|
signal: "elm,state,enabled"; source: "elm";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "arrow.image";
|
|
|
|
target: "disabler";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { name: "multi_down";
|
|
|
|
signal: "elm,action,multi,down"; source: "elm";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
script {
|
|
|
|
set_int(multi_down, 1);
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { name: "multi_up";
|
|
|
|
signal: "elm,action,multi,up"; source: "elm";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
script {
|
|
|
|
set_int(multi_down, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "elm/button/base/spinner/decrease/default";
|
2015-11-03 12:17:03 -08:00
|
|
|
alias: "elm/button/base/spinner/decrease/colorselector/default";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
inherit: "elm/button/base/spinner/increase/default";
|
2017-11-20 02:12:49 -08:00
|
|
|
alias: "elm/button/base/spin_button/decrease/default";
|
2015-12-22 01:48:16 -08:00
|
|
|
alias: "elm/button/base/calendar/decrease/default";
|
|
|
|
alias: "elm/button/base/calendar/decrease/double_spinners";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
parts {
|
|
|
|
part { name: "arrow.image";
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
image.normal: "i-arrow-l";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
}
|
|
|
|
description { state: "pressed" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
image.normal: "i-arrow-l";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
}
|
|
|
|
description { state: "disabled" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
image.normal: "i-arrow-l";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "elm/button/base/spinner/default";
|
2015-11-03 12:17:03 -08:00
|
|
|
alias: "elm/button/base/spinner/colorselector/default";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
alias: "elm/button/base/spinner/vertical";
|
2017-11-20 02:12:49 -08:00
|
|
|
alias: "elm/button/base/spin_button/default";
|
|
|
|
alias: "elm/button/base/spin_button/vertical";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
parts {
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "bg"; type: SPACER;
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "elm.text"; type: TEXT;
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 160 160 160 255;
|
|
|
|
rel.to: "bg";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
text { font: FN; size: 10;
|
|
|
|
min: 1 1;
|
|
|
|
text_class: "spinner";
|
|
|
|
ellipsis: -1;
|
|
|
|
}
|
2021-03-31 10:47:25 -07:00
|
|
|
min: 0 ICMIN;
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
}
|
|
|
|
description { state: "disabled" 0.0;
|
2015-04-06 17:37:18 -07:00
|
|
|
inherit: "default" 0.0 ;
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 96 96 96 255;
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "over"; type: RECT;
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
repeat_events: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "disabler"; type: RECT;
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "disabled" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program { name: "button_click";
|
|
|
|
signal: "mouse,clicked,1";
|
|
|
|
source: "over";
|
|
|
|
script {
|
|
|
|
run_program(PROGRAM:"button_click2");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "button_click2";
|
2018-06-19 10:27:00 -07:00
|
|
|
action: SIGNAL_EMIT "elm,action,click" "elm";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
}
|
|
|
|
program { name: "disable";
|
|
|
|
signal: "elm,state,disabled";
|
|
|
|
source: "elm";
|
|
|
|
action: STATE_SET "disabled" 0.0;
|
|
|
|
target: "disabler";
|
|
|
|
target: "elm.text";
|
|
|
|
}
|
|
|
|
program { name: "enable";
|
|
|
|
signal: "elm,state,enabled";
|
|
|
|
source: "elm";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "disabler";
|
|
|
|
target: "elm.text";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
group { name: "elm/button/base/spinner/increase/vertical";
|
|
|
|
inherit: "elm/button/base/spinner/increase/default";
|
2017-11-20 02:12:49 -08:00
|
|
|
alias: "elm/button/base/spin_button/increase/vertical";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
parts {
|
|
|
|
part { name: "arrow.image";
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
image.normal: "i-arrow-u";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
}
|
|
|
|
description { state: "pressed" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
image.normal: "i-arrow-u";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
}
|
|
|
|
description { state: "disabled" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
image.normal: "i-arrow-u";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "elm/button/base/spinner/decrease/vertical";
|
|
|
|
inherit: "elm/button/base/spinner/decrease/default";
|
2017-11-20 02:12:49 -08:00
|
|
|
alias: "elm/button/base/spin_button/decrease/vertical";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
parts {
|
|
|
|
part { name: "arrow.image";
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
image.normal: "i-arrow-d";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
}
|
|
|
|
description { state: "pressed" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
image.normal: "i-arrow-d";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
}
|
|
|
|
description { state: "disabled" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
image.normal: "i-arrow-d";
|
Elm_spinner focus UI, accessibility fix
Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.
Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>
Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.
Reviewers: woohyun, Hermet, shilpasingh, raster, seoz
Reviewed By: shilpasingh, raster
Subscribers: stefan_schmidt, raster, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1911
2015-03-03 22:59:24 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-04-06 17:37:18 -07:00
|
|
|
/******************* SPINNER BUTTONS STYLES END **********************/
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
group { name: "elm/button/base/combobox_vertical/default";
|
|
|
|
alias: "elm/button/base/combobox_vertical/entry";
|
2021-03-27 08:02:13 -07:00
|
|
|
images.image: "win_shadow.png" COMP;
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
parts {
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "shadow"; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel.to: "base";
|
|
|
|
WIN_SHADOW_SMALL;
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
rect { "base";
|
|
|
|
scale: 1;
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
desc { "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 96 96 96 255;
|
|
|
|
rel1.offset: 2 2;
|
|
|
|
rel2.offset: -3 -3;
|
|
|
|
offscale;
|
|
|
|
}
|
|
|
|
desc { "pressed";
|
|
|
|
inherit;
|
|
|
|
color: 128 128 128 255;
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
}
|
|
|
|
desc { "disabled";
|
2021-03-27 08:02:13 -07:00
|
|
|
inherit;
|
|
|
|
color: 72 72 72 255;
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
rect { name: "event";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
desc { "default";
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
desc { "disabled";
|
|
|
|
inherit: "default";
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
2021-04-22 03:21:49 -07:00
|
|
|
rect { "icon_clip";
|
|
|
|
desc { "default";
|
|
|
|
}
|
|
|
|
desc { "disabled";
|
|
|
|
inherit: "default";
|
|
|
|
color: 255 255 255 64;
|
|
|
|
}
|
|
|
|
}
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
swallow { "elm.swallow.content";
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2021-04-22 03:21:49 -07:00
|
|
|
clip_to: "icon_clip";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
desc { "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "base";
|
|
|
|
rel1.offset: 4 4;
|
2021-04-22 03:21:49 -07:00
|
|
|
rel2.to_x: "event2";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
rel2.relative: 0.0 1.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: -5 -5;
|
|
|
|
offscale;
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
}
|
|
|
|
}
|
2021-04-22 03:21:49 -07:00
|
|
|
image { name: "expand1";
|
|
|
|
scale: 1;
|
|
|
|
clip_to: "icon_clip";
|
|
|
|
desc { "default";
|
|
|
|
image.normal: "i-arrow-u";
|
|
|
|
min: 15 15;
|
|
|
|
max: 15 15;
|
|
|
|
rel.to: "event2";
|
|
|
|
rel2.relative: 1.0 0.5;
|
|
|
|
fixed: 1 1;
|
|
|
|
color: 160 160 160 255;
|
|
|
|
}
|
|
|
|
desc { "pressed";
|
|
|
|
inherit;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
image { name: "expand2";
|
|
|
|
scale: 1;
|
|
|
|
clip_to: "icon_clip";
|
|
|
|
desc { "default";
|
|
|
|
image.normal: "i-arrow-d";
|
|
|
|
min: 15 15;
|
|
|
|
max: 15 15;
|
|
|
|
rel.to: "event2";
|
|
|
|
rel1.relative: 0.0 0.5;
|
|
|
|
fixed: 1 1;
|
|
|
|
color: 160 160 160 255;
|
|
|
|
}
|
|
|
|
desc { "pressed";
|
|
|
|
inherit;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
rect { name: "event2";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
desc { "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 0 0 0 0;
|
|
|
|
rel.to: "base";
|
2021-04-22 03:21:49 -07:00
|
|
|
rel2.to_x: "select_line";
|
|
|
|
rel2.relative: 0.0 1.0;
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
align: 1.0 0.5;
|
2021-03-27 08:02:13 -07:00
|
|
|
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
}
|
2016-01-26 13:00:22 -08:00
|
|
|
desc { "disabled";
|
|
|
|
inherit: "default";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
rect { "select_line"; nomouse;
|
|
|
|
scale: 1;
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
desc { "default";
|
|
|
|
fixed: 1 1;
|
2021-03-27 08:02:13 -07:00
|
|
|
align: 1.0 0.5;
|
|
|
|
min: 5 5;
|
|
|
|
rel.to: "base";
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.offset: -1 0;
|
|
|
|
rel2.offset: -1 -1;
|
|
|
|
color: 51 153 255 255;
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { "pressed";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
inherit: "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 255 255 255 255;
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
}
|
|
|
|
desc { "disabled";
|
|
|
|
inherit: "default";
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 96 96 96 255;
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "mouse,down,1"; source: "event*";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
action: SIGNAL_EMIT "elm,action,press" "elm";
|
|
|
|
after: "button_click_anim";
|
|
|
|
}
|
|
|
|
program { name: "button_click_anim";
|
2021-03-27 08:02:13 -07:00
|
|
|
action: STATE_SET "pressed" 0.0;
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
target: "base";
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "select_line";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
}
|
|
|
|
program { name: "button_unclick";
|
2021-03-27 08:02:13 -07:00
|
|
|
signal: "mouse,up,1"; source: "event*";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
action: SIGNAL_EMIT "elm,action,unpress" "elm";
|
|
|
|
after: "button_unclick_anim";
|
|
|
|
}
|
|
|
|
program { name: "button_unclick_anim";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "base";
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "select_line";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "elm,anim,activate"; source: "elm";
|
|
|
|
action: STATE_SET "pressed" 0.0;
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
target: "base";
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "select_line";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
after: "button_unpressed_anim";
|
|
|
|
}
|
|
|
|
program { name: "button_unpressed_anim";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
in: 0.5 0.0;
|
|
|
|
target: "base";
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "select_line";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "mouse,clicked,1"; source: "event*";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
action: SIGNAL_EMIT "elm,action,click" "elm";
|
|
|
|
}
|
2021-04-22 03:21:49 -07:00
|
|
|
program { signal: "mouse,down,1"; source: "event2";
|
|
|
|
action: STATE_SET "pressed" 0.0;
|
|
|
|
target: "expand1";
|
|
|
|
target: "expand2";
|
|
|
|
}
|
|
|
|
program { signal: "mouse,up,1"; source: "event2";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "expand1";
|
|
|
|
target: "expand2";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "elm,state,disabled"; source: "elm";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
action: STATE_SET "disabled" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "base";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
target: "event";
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "event2";
|
|
|
|
target: "select_line";
|
2021-04-22 03:21:49 -07:00
|
|
|
target: "icon_clip";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "elm,state,enabled"; source: "elm";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
action: STATE_SET "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "base";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
target: "event";
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "event2";
|
|
|
|
target: "select_line";
|
2021-04-22 03:21:49 -07:00
|
|
|
target: "icon_clip";
|
combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>
Test Plan: test_combobox.c is added to elementary test
Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt
Reviewed By: raster, shilpasingh, cedric
Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D2537
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:22:46 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|