forked from enlightenment/efl
elm theme - more cc work
This commit is contained in:
parent
221b8075de
commit
ac1460dab3
|
@ -252,6 +252,26 @@ color_classes {
|
||||||
color: 255 255 255 128; }
|
color: 255 255 255 128; }
|
||||||
color_class { name: "/fg/normal/progress/busy/3";
|
color_class { name: "/fg/normal/progress/busy/3";
|
||||||
color: 51 153 255 128; }
|
color: 51 153 255 128; }
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
color_class { name: "/bg/normal/check/base";
|
||||||
|
color: 48 48 48 255; }
|
||||||
|
color_class { name: "/bg/pressed/check/base";
|
||||||
|
color: 32 32 32 255; }
|
||||||
|
color_class { name: "/bg/disabled/check/base";
|
||||||
|
color: 56 56 56 255; }
|
||||||
|
color_class { name: "/fg/selected/check/check";
|
||||||
|
color: 160 160 160 255; }
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
color_class { name: "/bg/normal/toggle/base";
|
||||||
|
color: 48 48 48 255; }
|
||||||
|
color_class { name: "/bg/pressed/toggle/base";
|
||||||
|
color: 32 32 32 255; }
|
||||||
|
color_class { name: "/bg/disabled/toggle/base";
|
||||||
|
color: 56 56 56 255; }
|
||||||
|
color_class { name: "/fg/normal/toggle/text/on";
|
||||||
|
color: 51 153 255 255; }
|
||||||
|
color_class { name: "/fg/normal/toggle/button";
|
||||||
|
color: 51 153 255 255; }
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
color_class { name: "/bg/normal/shelf/translucent";
|
color_class { name: "/bg/normal/shelf/translucent";
|
||||||
color: 64 64 64 128; }
|
color: 64 64 64 128; }
|
||||||
|
|
|
@ -3,27 +3,28 @@ group { name: "e/widgets/check";
|
||||||
part { name: "base"; type: RECT;
|
part { name: "base"; type: RECT;
|
||||||
scale: 1;
|
scale: 1;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
|
color_class: "/bg/normal/check/base";
|
||||||
|
align: 0.0 0.5;
|
||||||
min: 13 13;
|
min: 13 13;
|
||||||
max: 13 13;
|
max: 13 13;
|
||||||
rel1.offset: 4 4;
|
rel1.offset: 4 4;
|
||||||
rel2.offset: 4 -5;
|
rel2.offset: 4 -5;
|
||||||
rel2.relative: 0.0 1.0;
|
rel2.relative: 0.0 1.0;
|
||||||
align: 0.0 0.5;
|
|
||||||
color: 0 0 0 64;
|
|
||||||
offscale;
|
offscale;
|
||||||
fixed: 1 1;
|
fixed: 1 1;
|
||||||
}
|
}
|
||||||
description { state: "disabled" 0.0;
|
description { state: "disabled" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
color: 0 0 0 16;
|
color_class: "/bg/disabled/check/base";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "clip"; type: RECT;
|
part { name: "clip"; type: RECT;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
|
rel.to: "base";
|
||||||
}
|
}
|
||||||
description { state: "disabled" 0.0;
|
description { state: "disabled" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
color: 153 153 153 255;
|
color: 255 255 255 153; // no cc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "indicator"; mouse_events: 0;
|
part { name: "indicator"; mouse_events: 0;
|
||||||
|
@ -35,15 +36,17 @@ group { name: "e/widgets/check";
|
||||||
min: 15 15;
|
min: 15 15;
|
||||||
max: 15 15;
|
max: 15 15;
|
||||||
visible: 0;
|
visible: 0;
|
||||||
color: 160 160 160 255;
|
color_class: "/fg/normal/check/check";
|
||||||
}
|
fixed: 1 1;
|
||||||
description { state: "selected" 0.0;
|
|
||||||
inherit: "default" 0.0;
|
|
||||||
visible: 1;
|
|
||||||
}
|
}
|
||||||
description { state: "pressed" 0.0;
|
description { state: "pressed" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
color: 255 255 255 255;
|
color_class: "/fg/pressed/check/check";
|
||||||
|
visible: 1;
|
||||||
|
}
|
||||||
|
description { state: "selected" 0.0;
|
||||||
|
inherit: "default" 0.0;
|
||||||
|
color_class: "/fg/selected/check/check";
|
||||||
visible: 1;
|
visible: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,7 +57,7 @@ group { name: "e/widgets/check";
|
||||||
rel1.to_x: "base";
|
rel1.to_x: "base";
|
||||||
rel1.relative: 1.0 0.0;
|
rel1.relative: 1.0 0.0;
|
||||||
rel2.offset: -5 -5;
|
rel2.offset: -5 -5;
|
||||||
color: 160 160 160 255;
|
color_class: "/fg/normal/check/text";
|
||||||
text { font: FN; size: 10;
|
text { font: FN; size: 10;
|
||||||
min: 1 1;
|
min: 1 1;
|
||||||
ellipsis: -1;
|
ellipsis: -1;
|
||||||
|
@ -66,17 +69,17 @@ group { name: "e/widgets/check";
|
||||||
}
|
}
|
||||||
description { state: "disabled" 0.0;
|
description { state: "disabled" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
color: 96 96 96 255;
|
color_class: "/fg/disabled/check/text";
|
||||||
}
|
}
|
||||||
description { state: "pressed" 0.0;
|
description { state: "pressed" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
color: 255 255 255 255;
|
color_class: "/fg/pressed/check/text";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "event"; type: RECT;
|
part { name: "event"; type: RECT;
|
||||||
ignore_flags: ON_HOLD;
|
ignore_flags: ON_HOLD;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
color: 0 0 0 0;
|
color: 0 0 0 0; // no cc
|
||||||
}
|
}
|
||||||
description { state: "disabled" 0.0;
|
description { state: "disabled" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
|
@ -148,7 +151,7 @@ group { name: "e/widgets/check_icon";
|
||||||
}
|
}
|
||||||
description { state: "disabled" 0.0;
|
description { state: "disabled" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
color: 96 96 96 255;
|
color_class: "/fg/disabled/check/text";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,13 +21,13 @@ group { name: "elm/check/base/default";
|
||||||
}
|
}
|
||||||
rect { "icon_clip";
|
rect { "icon_clip";
|
||||||
desc { "default";
|
desc { "default";
|
||||||
color: 255 255 255 255;
|
color: 255 255 255 255; // no cc
|
||||||
}
|
}
|
||||||
desc { "pressed"; inherit;
|
desc { "pressed"; inherit;
|
||||||
color: 255 255 255 255;
|
color: 255 255 255 255; // no cc
|
||||||
}
|
}
|
||||||
desc { "disabled"; inherit;
|
desc { "disabled"; inherit;
|
||||||
color: 255 255 255 64;
|
color: 255 255 255 64; // no cc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
swallow { "elm.swallow.content"; nomouse;
|
swallow { "elm.swallow.content"; nomouse;
|
||||||
|
@ -64,22 +64,30 @@ group { name: "elm/check/base/default";
|
||||||
part { name: "base"; type: RECT;
|
part { name: "base"; type: RECT;
|
||||||
scale: 1;
|
scale: 1;
|
||||||
description { state: "default";
|
description { state: "default";
|
||||||
fixed: 1 0;
|
color_class: "/bg/normal/check/base";
|
||||||
color: 0 0 0 64;
|
|
||||||
align: 0.0 0.5;
|
align: 0.0 0.5;
|
||||||
min: 13 13;
|
min: 13 13;
|
||||||
max: 13 13;
|
max: 13 13;
|
||||||
rel1.offset: 4 4;
|
rel1.offset: 4 4;
|
||||||
rel2.relative: 0.0 1.0;
|
|
||||||
rel2.offset: 4 -5;
|
rel2.offset: 4 -5;
|
||||||
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
rel2.relative: 0.0 1.0;
|
||||||
offscale;
|
offscale;
|
||||||
|
fixed: 1 1;
|
||||||
}
|
}
|
||||||
desc { "pressed"; inherit;
|
desc { "pressed"; inherit;
|
||||||
color: 0 0 0 128;
|
color_class: "/bg/pressed/check/base";
|
||||||
}
|
}
|
||||||
desc { "disabled"; inherit;
|
desc { "disabled"; inherit;
|
||||||
color: 0 0 0 16;
|
color_class: "/bg/disabled/check/base";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
part { name: "ck_selected"; type: RECT;
|
||||||
|
description { state: "default" 0.0;
|
||||||
|
rel.to: "base";
|
||||||
|
}
|
||||||
|
description { state: "disabled" 0.0;
|
||||||
|
inherit: "default" 0.0;
|
||||||
|
color: 255 255 255 153; // no cc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "ck_check";
|
part { name: "ck_check";
|
||||||
|
@ -91,33 +99,25 @@ group { name: "elm/check/base/default";
|
||||||
min: 15 15;
|
min: 15 15;
|
||||||
max: 15 15;
|
max: 15 15;
|
||||||
visible: 0;
|
visible: 0;
|
||||||
color: 160 160 160 255;
|
color_class: "/fg/normal/check/check";
|
||||||
fixed: 1 1;
|
fixed: 1 1;
|
||||||
}
|
}
|
||||||
description { state: "pressed" 0.0;
|
description { state: "pressed" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
color: 255 255 255 255;
|
color_class: "/fg/pressed/check/check";
|
||||||
visible: 1;
|
visible: 1;
|
||||||
}
|
}
|
||||||
description { state: "selected" 0.0;
|
description { state: "selected" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
|
color_class: "/fg/selected/check/check";
|
||||||
visible: 1;
|
visible: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "ck_selected"; type: RECT;
|
|
||||||
description { state: "default" 0.0;
|
|
||||||
rel.to: "base";
|
|
||||||
}
|
|
||||||
description { state: "disabled" 0.0;
|
|
||||||
inherit: "default" 0.0;
|
|
||||||
color: 153 153 153 255;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
text { "elm.text"; nomouse;
|
text { "elm.text"; nomouse;
|
||||||
scale: 1;
|
scale: 1;
|
||||||
desc { "default";
|
desc { "default";
|
||||||
fixed: 0 1;
|
fixed: 0 1;
|
||||||
color: 160 160 160 255;
|
color_class: "/fg/normal/check/text";
|
||||||
rel1.offset: 0 4;
|
rel1.offset: 0 4;
|
||||||
rel1.relative: 1.0 0.0;
|
rel1.relative: 1.0 0.0;
|
||||||
rel1.to_x: "elm.swallow.content";
|
rel1.to_x: "elm.swallow.content";
|
||||||
|
@ -139,7 +139,7 @@ group { name: "elm/check/base/default";
|
||||||
}
|
}
|
||||||
desc { "pressed_visible"; inherit;
|
desc { "pressed_visible"; inherit;
|
||||||
fixed: 0 0;
|
fixed: 0 0;
|
||||||
color: 255 255 255 255;
|
color_class: "/fg/pressed/check/text";
|
||||||
rel1.offset: 4 4;
|
rel1.offset: 4 4;
|
||||||
text.min: 1 1;
|
text.min: 1 1;
|
||||||
text.ellipsis: -1;
|
text.ellipsis: -1;
|
||||||
|
@ -153,14 +153,14 @@ group { name: "elm/check/base/default";
|
||||||
}
|
}
|
||||||
desc { "pressed_textonly"; inherit;
|
desc { "pressed_textonly"; inherit;
|
||||||
fixed: 0 0;
|
fixed: 0 0;
|
||||||
color: 255 255 255 255;
|
color_class: "/fg/pressed/check/text";
|
||||||
text.min: 1 1;
|
text.min: 1 1;
|
||||||
text.ellipsis: -1;
|
text.ellipsis: -1;
|
||||||
visible: 1;
|
visible: 1;
|
||||||
}
|
}
|
||||||
desc { "disabled_visible"; inherit;
|
desc { "disabled_visible"; inherit;
|
||||||
fixed: 0 0;
|
fixed: 0 0;
|
||||||
color: 96 96 96 255;
|
color_class: "/fg/disabled/check/text";
|
||||||
rel1.offset: 4 4;
|
rel1.offset: 4 4;
|
||||||
text.min: 1 1;
|
text.min: 1 1;
|
||||||
text.ellipsis: -1;
|
text.ellipsis: -1;
|
||||||
|
@ -168,7 +168,7 @@ group { name: "elm/check/base/default";
|
||||||
}
|
}
|
||||||
desc { "disabled_textonly"; inherit;
|
desc { "disabled_textonly"; inherit;
|
||||||
fixed: 0 0;
|
fixed: 0 0;
|
||||||
color: 96 96 96 255;
|
color_class: "/fg/disabled/check/text";
|
||||||
text.min: 1 1;
|
text.min: 1 1;
|
||||||
text.ellipsis: -1;
|
text.ellipsis: -1;
|
||||||
visible: 1;
|
visible: 1;
|
||||||
|
@ -177,7 +177,7 @@ group { name: "elm/check/base/default";
|
||||||
rect { "event";
|
rect { "event";
|
||||||
ignore_flags: ON_HOLD;
|
ignore_flags: ON_HOLD;
|
||||||
desc { "default";
|
desc { "default";
|
||||||
color: 0 0 0 0;
|
color: 0 0 0 0; // no cc
|
||||||
}
|
}
|
||||||
desc { "disabled"; inherit;
|
desc { "disabled"; inherit;
|
||||||
visible: 0;
|
visible: 0;
|
||||||
|
@ -317,13 +317,13 @@ group { name: "elm/check/base/toggle";
|
||||||
}
|
}
|
||||||
rect { "icon_clip";
|
rect { "icon_clip";
|
||||||
desc { "default";
|
desc { "default";
|
||||||
color: 255 255 255 255;
|
color: 255 255 255 255; // no cc
|
||||||
}
|
}
|
||||||
desc { "pressed"; inherit;
|
desc { "pressed"; inherit;
|
||||||
color: 255 255 255 255;
|
color: 255 255 255 255; // no cc
|
||||||
}
|
}
|
||||||
desc { "disabled"; inherit;
|
desc { "disabled"; inherit;
|
||||||
color: 255 255 255 64;
|
color: 255 255 255 64; // no cc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
swallow { "elm.swallow.content"; nomouse;
|
swallow { "elm.swallow.content"; nomouse;
|
||||||
|
@ -370,14 +370,14 @@ group { name: "elm/check/base/toggle";
|
||||||
rect { name: "base";
|
rect { name: "base";
|
||||||
description { state: "default";
|
description { state: "default";
|
||||||
fixed: 1 1;
|
fixed: 1 1;
|
||||||
color: 0 0 0 64;
|
color_class: "/bg/normal/toggle/base";
|
||||||
rel.to: "tog";
|
rel.to: "tog";
|
||||||
}
|
}
|
||||||
desc { "pressed"; inherit;
|
desc { "pressed"; inherit;
|
||||||
color: 0 0 0 128;
|
color_class: "/bg/pressed/toggle/base";
|
||||||
}
|
}
|
||||||
desc { "disabled"; inherit;
|
desc { "disabled"; inherit;
|
||||||
color: 0 0 0 16;
|
color_class: "/bg/disabled/toggle/base";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
spacer { name: "onrect";
|
spacer { name: "onrect";
|
||||||
|
@ -404,7 +404,7 @@ group { name: "elm/check/base/toggle";
|
||||||
rel2.to: "offrect";
|
rel2.to: "offrect";
|
||||||
rel2.offset: -5 -1;
|
rel2.offset: -5 -1;
|
||||||
offscale;
|
offscale;
|
||||||
color: 160 160 160 255;
|
color_class: "/fg/normal/toggle/text/off";
|
||||||
text { font: FN; size: 10;
|
text { font: FN; size: 10;
|
||||||
min: 0 1;
|
min: 0 1;
|
||||||
align: 0.5 0.5;
|
align: 0.5 0.5;
|
||||||
|
@ -414,11 +414,11 @@ group { name: "elm/check/base/toggle";
|
||||||
}
|
}
|
||||||
description { state: "disabled" 0.0;
|
description { state: "disabled" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
color: 96 96 96 255;
|
color_class: "/fg/disabled/toggle/text/off";
|
||||||
}
|
}
|
||||||
description { state: "clicked" 0.0;
|
description { state: "clicked" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
color: 255 255 255 255;
|
color_class: "/fg/pressed/toggle/text/off";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
text { name: "elm.ontext"; nomouse; scale: 1;
|
text { name: "elm.ontext"; nomouse; scale: 1;
|
||||||
|
@ -431,7 +431,7 @@ group { name: "elm/check/base/toggle";
|
||||||
rel2.relative: 0.0 1.0;
|
rel2.relative: 0.0 1.0;
|
||||||
rel2.offset: -5 -1;
|
rel2.offset: -5 -1;
|
||||||
offscale;
|
offscale;
|
||||||
color: 51 153 255 255;
|
color_class: "/fg/normal/toggle/text/on";
|
||||||
text { font: FN; size: 10;
|
text { font: FN; size: 10;
|
||||||
min: 0 1;
|
min: 0 1;
|
||||||
align: 0.5 0.5;
|
align: 0.5 0.5;
|
||||||
|
@ -441,11 +441,11 @@ group { name: "elm/check/base/toggle";
|
||||||
}
|
}
|
||||||
description { state: "disabled" 0.0;
|
description { state: "disabled" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
color: 96 96 96 255;
|
color_class: "/fg/disabled/toggle/text/on";
|
||||||
}
|
}
|
||||||
description { state: "clicked" 0.0;
|
description { state: "clicked" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
color: 255 255 255 255;
|
color_class: "/fg/pressed/toggle/text/on";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "tog_clip"; type: RECT;
|
part { name: "tog_clip"; type: RECT;
|
||||||
|
@ -471,15 +471,15 @@ group { name: "elm/check/base/toggle";
|
||||||
rect { name: "base_but"; nomouse;
|
rect { name: "base_but"; nomouse;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
rel.to: "button";
|
rel.to: "button";
|
||||||
color: 51 153 255 255;
|
color_class: "/fg/normal/toggle/button";
|
||||||
}
|
}
|
||||||
description { state: "clicked" 0.0;
|
description { state: "clicked" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
color: 255 255 255 255;
|
color_class: "/fg/pressed/toggle/button";
|
||||||
}
|
}
|
||||||
description { state: "disabled" 0.0;
|
description { state: "disabled" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
color: 64 64 64 255;
|
color_class: "/fg/disabled/toggle/button";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rect { name: "button_events";
|
rect { name: "button_events";
|
||||||
|
@ -492,7 +492,7 @@ group { name: "elm/check/base/toggle";
|
||||||
scale: 1;
|
scale: 1;
|
||||||
desc { "default";
|
desc { "default";
|
||||||
fixed: 0 1;
|
fixed: 0 1;
|
||||||
color: 160 160 160 255;
|
color_class: "/fg/normal/toggle/text";
|
||||||
rel1.offset: 0 4;
|
rel1.offset: 0 4;
|
||||||
rel1.relative: 1.0 0.0;
|
rel1.relative: 1.0 0.0;
|
||||||
rel1.to_x: "elm.swallow.content";
|
rel1.to_x: "elm.swallow.content";
|
||||||
|
@ -516,7 +516,7 @@ group { name: "elm/check/base/toggle";
|
||||||
}
|
}
|
||||||
desc { "pressed_visible"; inherit;
|
desc { "pressed_visible"; inherit;
|
||||||
fixed: 0 0;
|
fixed: 0 0;
|
||||||
color: 255 255 255 255;
|
color_class: "/fg/pressed/toggle/text";
|
||||||
rel1.offset: 4 4;
|
rel1.offset: 4 4;
|
||||||
text.min: 1 1;
|
text.min: 1 1;
|
||||||
text.ellipsis: -1;
|
text.ellipsis: -1;
|
||||||
|
@ -530,14 +530,14 @@ group { name: "elm/check/base/toggle";
|
||||||
}
|
}
|
||||||
desc { "pressed_textonly"; inherit;
|
desc { "pressed_textonly"; inherit;
|
||||||
fixed: 0 0;
|
fixed: 0 0;
|
||||||
color: 255 255 255 255;
|
color_class: "/fg/pressed/toggle/text";
|
||||||
text.min: 1 1;
|
text.min: 1 1;
|
||||||
text.ellipsis: -1;
|
text.ellipsis: -1;
|
||||||
visible: 1;
|
visible: 1;
|
||||||
}
|
}
|
||||||
desc { "disabled_visible"; inherit;
|
desc { "disabled_visible"; inherit;
|
||||||
fixed: 0 0;
|
fixed: 0 0;
|
||||||
color: 96 96 96 255;
|
color_class: "/fg/disabled/toggle/text";
|
||||||
rel1.offset: 4 4;
|
rel1.offset: 4 4;
|
||||||
text.min: 1 1;
|
text.min: 1 1;
|
||||||
text.ellipsis: -1;
|
text.ellipsis: -1;
|
||||||
|
@ -545,7 +545,7 @@ group { name: "elm/check/base/toggle";
|
||||||
}
|
}
|
||||||
desc { "disabled_textonly"; inherit;
|
desc { "disabled_textonly"; inherit;
|
||||||
fixed: 0 0;
|
fixed: 0 0;
|
||||||
color: 96 96 96 255;
|
color_class: "/fg/disabled/toggle/text";
|
||||||
text.min: 1 1;
|
text.min: 1 1;
|
||||||
text.ellipsis: -1;
|
text.ellipsis: -1;
|
||||||
visible: 1;
|
visible: 1;
|
||||||
|
@ -650,12 +650,10 @@ group { name: "elm/check/base/toggle";
|
||||||
target: "elm.ontext";
|
target: "elm.ontext";
|
||||||
target: "elm.offtext";
|
target: "elm.offtext";
|
||||||
}
|
}
|
||||||
program {
|
program { signal: "mouse,clicked,1"; source: "event";
|
||||||
signal: "mouse,clicked,1"; source: "event";
|
|
||||||
action: SIGNAL_EMIT "elm,action,check,toggle" "elm";
|
action: SIGNAL_EMIT "elm,action,check,toggle" "elm";
|
||||||
}
|
}
|
||||||
program {
|
program { signal: "mouse,down,1"; source: "event";
|
||||||
signal: "mouse,down,1"; source: "event";
|
|
||||||
action: SIGNAL_EMIT "elm,action,press" "elm";
|
action: SIGNAL_EMIT "elm,action,press" "elm";
|
||||||
after: "button_click_anim";
|
after: "button_click_anim";
|
||||||
}
|
}
|
||||||
|
@ -670,8 +668,7 @@ group { name: "elm/check/base/toggle";
|
||||||
program { name: "button_unclick_anim";
|
program { name: "button_unclick_anim";
|
||||||
script { flag_unset(PRESSED); }
|
script { flag_unset(PRESSED); }
|
||||||
}
|
}
|
||||||
program {
|
program { signal: "elm,anim,activate"; source: "elm";
|
||||||
signal: "elm,anim,activate"; source: "elm";
|
|
||||||
script {
|
script {
|
||||||
new Float:drag;
|
new Float:drag;
|
||||||
if (get_int(is_rtl) == 0) { drag = 100.0; }
|
if (get_int(is_rtl) == 0) { drag = 100.0; }
|
||||||
|
@ -689,40 +686,31 @@ group { name: "elm/check/base/toggle";
|
||||||
set_drag(PART:"button", drag, 0.0);
|
set_drag(PART:"button", drag, 0.0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
program {
|
program { signal: "mouse,clicked,1"; source: "event";
|
||||||
signal: "mouse,clicked,1"; source: "event";
|
|
||||||
action: SIGNAL_EMIT "elm,action,click" "elm";
|
action: SIGNAL_EMIT "elm,action,click" "elm";
|
||||||
}
|
}
|
||||||
program { name: "button_text_visible";
|
program { signal: "elm,state,text,visible"; source: "elm";
|
||||||
signal: "elm,state,text,visible"; source: "elm";
|
|
||||||
script { flag_set(LABEL); }
|
script { flag_set(LABEL); }
|
||||||
}
|
}
|
||||||
program { name: "button_text_hidden";
|
program { signal: "elm,state,text,hidden"; source: "elm";
|
||||||
signal: "elm,state,text,hidden"; source: "elm";
|
|
||||||
script { flag_unset(LABEL); }
|
script { flag_unset(LABEL); }
|
||||||
}
|
}
|
||||||
program { name: "button_icon_visible";
|
program { signal: "elm,state,icon,visible"; source: "elm";
|
||||||
signal: "elm,state,icon,visible"; source: "elm";
|
|
||||||
script { flag_set(ICON); }
|
script { flag_set(ICON); }
|
||||||
}
|
}
|
||||||
program { name: "button_icon_hidden";
|
program { signal: "elm,state,icon,hidden"; source: "elm";
|
||||||
signal: "elm,state,icon,hidden"; source: "elm";
|
|
||||||
script { flag_unset(ICON); }
|
script { flag_unset(ICON); }
|
||||||
}
|
}
|
||||||
program { name: "button_background_visible";
|
program { signal: "elm,state,background,visible"; source: "elm";
|
||||||
signal: "elm,state,background,visible"; source: "elm";
|
|
||||||
script { flag_set(BACKGROUND); }
|
script { flag_set(BACKGROUND); }
|
||||||
}
|
}
|
||||||
program { name: "button_background_hidden";
|
program { signal: "elm,state,background,hidden"; source: "elm";
|
||||||
signal: "elm,state,background,hidden"; source: "elm";
|
|
||||||
script { flag_unset(BACKGROUND); }
|
script { flag_unset(BACKGROUND); }
|
||||||
}
|
}
|
||||||
program { name: "button_state_disabled";
|
program { signal: "elm,state,disabled"; source: "elm";
|
||||||
signal: "elm,state,disabled"; source: "elm";
|
|
||||||
script { flag_set(DISABLE); }
|
script { flag_set(DISABLE); }
|
||||||
}
|
}
|
||||||
program { name: "button_state_enabled";
|
program { signal: "elm,state,enabled"; source: "elm";
|
||||||
signal: "elm,state,enabled"; source: "elm";
|
|
||||||
script { flag_unset(DISABLE); }
|
script { flag_unset(DISABLE); }
|
||||||
}
|
}
|
||||||
program { signal: "elm,state,disabled"; source: "elm";
|
program { signal: "elm,state,disabled"; source: "elm";
|
||||||
|
|
Loading…
Reference in New Issue