2013-10-17 00:34:36 -07:00
|
|
|
group { name: "elm/colorselector/palette/default";
|
|
|
|
data.item: "horizontal_pad" 0;
|
|
|
|
data.item: "vertical_pad" 0;
|
|
|
|
parts {
|
|
|
|
part { name: "elm.picker"; type: SWALLOW;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 0 1;
|
|
|
|
align: 0.5 0.0;
|
|
|
|
rel2.relative: 1.0 0.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
|
|
|
part { name: "sep1"; type: RECT;
|
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.to_y: "elm.picker";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 5 2;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
rel2.to_y: "elm.picker";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: -6 2;
|
|
|
|
min: 64 1;
|
|
|
|
max: 99999 1;
|
2021-09-03 10:31:45 -07:00
|
|
|
color_class: "/fg/normal/separator/horizontal";
|
2021-03-27 08:02:13 -07:00
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
description { state: "off" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 5 -1;
|
|
|
|
rel2.offset: -6 -1;
|
|
|
|
min: 0 0;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.palette"; type: SWALLOW;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
align: 0.5 0.0;
|
|
|
|
rel1.to_y: "sep1";
|
|
|
|
rel1.relative: 0.0 1.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 0 2;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.to_y: "sep2";
|
|
|
|
rel2.relative: 1.0 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: -1 -3;
|
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
description { state: "off" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 0 -1;
|
|
|
|
rel2.offset: -1 0;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "sep2"; type: RECT;
|
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.to_y: "elm.selector";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 5 -3;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.to_y: "elm.selector";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: -6 -3;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.relative: 1.0 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
min: 64 1;
|
|
|
|
max: 99999 1;
|
2021-09-03 10:31:45 -07:00
|
|
|
color_class: "/fg/normal/separator/horizontal";
|
2021-03-27 08:02:13 -07:00
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
description { state: "off" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 5 0;
|
|
|
|
rel2.offset: -6 0;
|
|
|
|
min: 0 0;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.selector"; type: SWALLOW;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 0 1;
|
|
|
|
align: 0.0 1.0;
|
|
|
|
rel1.relative: 0.0 1.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "elm,state,palette"; source: "elm";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "off" 0.0;
|
|
|
|
target: "sep1";
|
|
|
|
target: "sep2";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "elm,state,palette"; source: "elm";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "elm.palette";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "elm,state,components"; source: "elm";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "off" 0.0;
|
|
|
|
target: "sep1";
|
|
|
|
target: "sep2";
|
|
|
|
target: "elm.palette";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "elm,state,both"; source: "elm";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "off" 0.0;
|
|
|
|
target: "sep1";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "elm,state,both"; source: "elm";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "elm.palette";
|
|
|
|
target: "sep2";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "elm,state,picker"; source: "elm";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "off" 0.0;
|
|
|
|
target: "sep1";
|
|
|
|
target: "sep2";
|
|
|
|
target: "elm.palette";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "elm,state,all"; source: "elm";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "sep1";
|
|
|
|
target: "sep2";
|
|
|
|
target: "elm.palette";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-03-03 03:06:44 -08:00
|
|
|
group { name: "elm/colorselector/picker/base/default";
|
|
|
|
parts {
|
|
|
|
part { name: "elm.swallow.picker"; type: SWALLOW;
|
2021-09-03 10:31:45 -07:00
|
|
|
scale: 1;
|
2015-03-03 03:06:44 -08:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
min: 80 80;
|
2015-03-03 03:06:44 -08:00
|
|
|
rel2 {
|
|
|
|
relative: 0.0 1.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
to_x: "sp1";
|
2015-03-03 03:06:44 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "sp1"; type: SPACER;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "elm.label.red";
|
|
|
|
rel2.to: "elm.label.green";
|
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
align: 0.0 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "sp2"; type: SPACER;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "elm.label.blue";
|
|
|
|
rel2.to: "elm.label.alpha";
|
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
align: 0.0 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "sp3"; type: SPACER;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "sp1";
|
|
|
|
rel2.to: "sp2";
|
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
align: 0.0 0.5;
|
|
|
|
}
|
|
|
|
}
|
2015-03-03 03:06:44 -08:00
|
|
|
part { name: "elm.label.red"; type: TEXT;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2015-03-03 03:06:44 -08:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
align: 1.0 0.0;
|
|
|
|
min: 15 0;
|
|
|
|
max: 15 -1;
|
|
|
|
rel2 {
|
|
|
|
relative: 0.0 1.0;
|
|
|
|
to: "elm.swallow.red";
|
2021-03-27 08:02:13 -07:00
|
|
|
offset: -3 -1;
|
2015-03-03 03:06:44 -08:00
|
|
|
}
|
|
|
|
text {
|
2021-03-27 08:02:13 -07:00
|
|
|
font: FN; size: 10;
|
2015-03-03 03:06:44 -08:00
|
|
|
ellipsis: -1;
|
|
|
|
}
|
2021-09-03 10:31:45 -07:00
|
|
|
color_class: "/fg/normal/colorselector/text/r";
|
2021-03-27 08:02:13 -07:00
|
|
|
offscale;
|
2015-03-03 03:06:44 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.swallow.red"; type: SWALLOW;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2015-03-03 03:06:44 -08:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
align: 1.0 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
min: 80 20;
|
|
|
|
max: 80 20;
|
2015-03-03 03:06:44 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.label.green"; type: TEXT;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2015-03-03 03:06:44 -08:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
min: 15 0;
|
|
|
|
max: 15 -1;
|
|
|
|
rel1 {
|
|
|
|
relative: 0.0 1.0;
|
|
|
|
to: "elm.label.red";
|
2021-03-27 08:02:13 -07:00
|
|
|
offset: -3 -1;
|
2015-03-03 03:06:44 -08:00
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
relative: 0.0 1.0;
|
|
|
|
to: "elm.swallow.green";
|
|
|
|
}
|
|
|
|
text {
|
2021-03-27 08:02:13 -07:00
|
|
|
font: FN; size: 10;
|
2015-03-03 03:06:44 -08:00
|
|
|
ellipsis: -1;
|
|
|
|
}
|
2021-09-03 10:31:45 -07:00
|
|
|
color_class: "/fg/normal/colorselector/text/g";
|
2021-03-27 08:02:13 -07:00
|
|
|
offscale;
|
2015-03-03 03:06:44 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.swallow.green"; type: SWALLOW;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2015-03-03 03:06:44 -08:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
align: 1.0 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
min: 80 20;
|
|
|
|
max: 80 20;
|
2015-03-03 03:06:44 -08:00
|
|
|
rel1 {
|
|
|
|
relative: 0.0 1.0;
|
|
|
|
to: "elm.swallow.red";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.label.blue"; type: TEXT;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2015-03-03 03:06:44 -08:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
min: 15 0;
|
|
|
|
max: 15 -1;
|
|
|
|
rel1 {
|
|
|
|
relative: 0.0 1.0;
|
|
|
|
to: "elm.label.green";
|
2021-03-27 08:02:13 -07:00
|
|
|
offset: -3 -1;
|
2015-03-03 03:06:44 -08:00
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
relative: 0.0 1.0;
|
|
|
|
to: "elm.swallow.blue";
|
|
|
|
}
|
|
|
|
text {
|
2021-03-27 08:02:13 -07:00
|
|
|
font: FN; size: 10;
|
2015-03-03 03:06:44 -08:00
|
|
|
ellipsis: -1;
|
|
|
|
}
|
2021-09-03 10:31:45 -07:00
|
|
|
color_class: "/fg/normal/colorselector/text/b";
|
2021-03-27 08:02:13 -07:00
|
|
|
offscale;
|
2015-03-03 03:06:44 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.swallow.blue"; type: SWALLOW;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2015-03-03 03:06:44 -08:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
align: 1.0 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
min: 80 20;
|
|
|
|
max: 80 20;
|
2015-03-03 03:06:44 -08:00
|
|
|
rel1 {
|
|
|
|
relative: 0.0 1.0;
|
|
|
|
to: "elm.swallow.green";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.label.alpha"; type: TEXT;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2015-03-03 03:06:44 -08:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
min: 15 0;
|
|
|
|
max: 15 -1;
|
|
|
|
rel1 {
|
|
|
|
relative: 0.0 1.0;
|
|
|
|
to: "elm.label.blue";
|
2021-03-27 08:02:13 -07:00
|
|
|
offset: -3 -1;
|
2015-03-03 03:06:44 -08:00
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
relative: 0.0 1.0;
|
|
|
|
to: "elm.swallow.alpha";
|
|
|
|
}
|
|
|
|
text {
|
2021-03-27 08:02:13 -07:00
|
|
|
font: FN; size: 10;
|
2015-03-03 03:06:44 -08:00
|
|
|
ellipsis: -1;
|
|
|
|
}
|
2021-09-03 10:31:45 -07:00
|
|
|
color_class: "/fg/normal/colorselector/text/a";
|
2021-03-27 08:02:13 -07:00
|
|
|
offscale;
|
2015-03-03 03:06:44 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.swallow.alpha"; type: SWALLOW;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2015-03-03 03:06:44 -08:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
align: 1.0 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
min: 80 20;
|
|
|
|
max: 80 20;
|
2015-03-03 03:06:44 -08:00
|
|
|
rel1 {
|
|
|
|
relative: 0.0 1.0;
|
|
|
|
to: "elm.swallow.blue";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-17 00:34:36 -07:00
|
|
|
group { name: "elm/colorselector/picker/default";
|
2021-09-03 10:31:45 -07:00
|
|
|
images.image: "stripes-diag.png" COMP;
|
2013-10-17 00:34:36 -07:00
|
|
|
parts {
|
|
|
|
part { name: "bg"; type: RECT;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
2021-09-03 10:31:45 -07:00
|
|
|
min: 40 40;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "elm.picker";
|
2021-09-03 10:31:45 -07:00
|
|
|
color_class: "/bg/normal/colorselector";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2021-09-03 10:31:45 -07:00
|
|
|
PAT_FILL_SCALE(160, 160)
|
2013-10-17 00:34:36 -07:00
|
|
|
part { name: "pat";
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "bg";
|
2021-09-03 10:31:45 -07:00
|
|
|
image.normal: "stripes-diag.png";
|
|
|
|
color_class: "/bg/normal/colorselector/pattern";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "clipper"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "elm.picker";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.picker"; type: SWALLOW;
|
|
|
|
clip_to: "clipper";
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
min: 16 16;
|
|
|
|
rel1.offset: 5 5;
|
|
|
|
rel2.offset: -6 -6;
|
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "elm/colorselector/bg/default";
|
|
|
|
parts {
|
|
|
|
part { name: "elm.colorbar_0"; type: SWALLOW;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel2.relative: 1.0 0.0;
|
|
|
|
align: 0.5 0.0;
|
|
|
|
fixed: 0 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.colorbar_1"; type: SWALLOW;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to_y: "elm.colorbar_0";
|
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
rel2.to_y: "elm.colorbar_0";
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
align: 0.5 0.0;
|
|
|
|
fixed: 0 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.colorbar_2"; type: SWALLOW;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to_y: "elm.colorbar_1";
|
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
rel2.to_y: "elm.colorbar_1";
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
align: 0.5 0.0;
|
|
|
|
fixed: 0 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.colorbar_3"; type: SWALLOW;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to_y: "elm.colorbar_2";
|
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
align: 0.5 0.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "elm/colorselector/base/default";
|
2021-09-03 10:31:45 -07:00
|
|
|
images.image: "stripes-diag.png" COMP;
|
2013-10-17 00:34:36 -07:00
|
|
|
parts {
|
|
|
|
part { name: "elm.bar_bg"; type: SWALLOW; mouse_events: 0;
|
2016-05-18 01:53:05 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
min: 80 20;
|
|
|
|
rel1.offset: 5 25;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.to_x: "elm.arrow_bg";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: -6 -6;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.to_x: "elm.arrow_bg";
|
2021-03-27 08:02:13 -07:00
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.bar"; type: SWALLOW; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "elm.bar_bg";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
|
2013-10-17 00:34:36 -07:00
|
|
|
part { name: "elm.arrow_bg"; type: SWALLOW;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1 {
|
|
|
|
relative: 1.0 0.0;
|
|
|
|
to_x: "elm.l_button";
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
relative: 0.0 1.0;
|
|
|
|
to_x: "elm.r_button";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.arrow"; type: RECT;
|
2021-03-27 08:02:13 -07:00
|
|
|
dragable {
|
|
|
|
confine: "elm.bar_bg";
|
|
|
|
x: 1 1 0;
|
|
|
|
y: 0 0 0;
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
min: 1 1;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.to_x: "elm.bar_bg";
|
|
|
|
rel2.to_x: "elm.bar_bg";
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "event"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "elm.arrow_icon";
|
|
|
|
rel2.to_x: "elm.arrow_icon";
|
|
|
|
rel2.to_y: "elm.arrow_bg";
|
2021-09-03 10:31:45 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
dragable.events: "elm.arrow";
|
|
|
|
}
|
2021-05-06 12:44:00 -07:00
|
|
|
part { name: "elm.l_button"; type: SWALLOW;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
min: 24 24;
|
|
|
|
rel1.relative: 0.0 0.0;
|
|
|
|
rel1.to_y: "elm.bar_bg";
|
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
rel2.to_y: "elm.bar_bg";
|
|
|
|
align: 0.0 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.r_button"; type: SWALLOW;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
min: 24 24;
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.to_y: "elm.bar_bg";
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
rel2.to_y: "elm.bar_bg";
|
|
|
|
align: 1.0 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "arrow_bg";
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel.to: "elm.arrow_icon";
|
|
|
|
image.normal: "i-radio";
|
|
|
|
min: 24 24;
|
|
|
|
max: 24 24;
|
|
|
|
fixed: 1 1;
|
2021-09-03 10:31:45 -07:00
|
|
|
color_class: "/fg/normal/colorselector/cursor";
|
2021-05-06 12:44:00 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "arrow_base"; type: RECT;
|
|
|
|
clip_to: "arrow_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel.to: "arrow_bg";
|
2021-09-03 10:31:45 -07:00
|
|
|
color_class: "/bg/normal/colorselector";
|
2021-05-06 12:44:00 -07:00
|
|
|
}
|
|
|
|
}
|
2021-09-03 10:31:45 -07:00
|
|
|
PAT_FILL_SCALE(160, 160)
|
|
|
|
part { name: "pat";
|
2021-05-06 12:44:00 -07:00
|
|
|
clip_to: "arrow_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel.to: "arrow_bg";
|
2021-09-03 10:31:45 -07:00
|
|
|
image.normal: "stripes-diag.png";
|
|
|
|
color_class: "/bg/normal/colorselector/pattern";
|
2021-05-06 12:44:00 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "arrow_clip";
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel.to: "arrow_bg";
|
|
|
|
image.normal: "i-radio";
|
|
|
|
min: 20 20;
|
|
|
|
max: 20 20;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
part { name: "elm.arrow_icon"; type: SWALLOW; mouse_events: 0;
|
|
|
|
scale: 1;
|
2021-05-06 12:44:00 -07:00
|
|
|
clip_to: "arrow_clip";
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2021-03-27 08:02:13 -07:00
|
|
|
min: 24 24;
|
|
|
|
max: 24 24;
|
|
|
|
align: 0.5 1.0;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.to_x: "elm.arrow";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.to_y: "elm.bar";
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.relative: 1.0 0.0;
|
2021-05-06 12:44:00 -07:00
|
|
|
rel1.offset: 0 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.to_x: "elm.arrow";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.to_y: "elm.bar";
|
2021-05-06 12:44:00 -07:00
|
|
|
rel2.offset: -1 1;
|
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "cursor"; type: RECT;
|
2021-05-06 12:44:00 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2021-05-06 12:44:00 -07:00
|
|
|
min: 2 2;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.to_x: "elm.arrow_icon";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.to_y: "elm.bar";
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.relative: 0.5 0.0;
|
|
|
|
rel2.to_x: "elm.arrow_icon";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.to_y: "elm.bar";
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.relative: 0.5 1.0;
|
|
|
|
rel2.offset: 0 -1;
|
2021-09-03 10:31:45 -07:00
|
|
|
color_class: "/fg/normal/colorselector/cursor";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
dragable.events: "elm.arrow";
|
|
|
|
}
|
|
|
|
part { name: "elm.arrow_bg_access"; type: RECT;
|
|
|
|
repeat_events: 1;
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "elm.arrow_bg";
|
2021-09-03 10:31:45 -07:00
|
|
|
color: 0 0 0 0; // no cc
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "elm/colorselector/arrow/default";
|
|
|
|
parts {
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "base"; type: RECT;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
aspect: 1.0 1.0; aspect_preference: BOTH;
|
2021-09-03 10:31:45 -07:00
|
|
|
color: 255 255 255 255; // no cc
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group{ name: "elm/colorselector/image/colorbar_0/default";
|
2021-03-27 08:02:13 -07:00
|
|
|
images.image: "color_picker_color.png" COMP;
|
2013-10-17 00:34:36 -07:00
|
|
|
parts {
|
|
|
|
part { name: "colorbar_0_image";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "color_picker_color.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "elm/colorselector/image/colorbar_1/default";
|
|
|
|
images.image: "color_picker_opacity.png" COMP;
|
|
|
|
parts {
|
|
|
|
part { name: "colorbar_1_image";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "color_picker_opacity.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "elm/colorselector/image/colorbar_2/default";
|
|
|
|
images.image: "color_picker_brightness.png" COMP;
|
|
|
|
parts {
|
|
|
|
part { name: "colorbar_2_image";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "color_picker_brightness.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "elm/colorselector/image/colorbar_3/default";
|
|
|
|
images.image: "color_picker_alpha.png" COMP;
|
|
|
|
parts {
|
|
|
|
part { name: "colorbar_3_image";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "color_picker_alpha.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "elm/colorselector/bg_image/colorbar_3/default";
|
2021-09-03 10:31:45 -07:00
|
|
|
images.image: "stripes-diag.png" COMP;
|
2013-10-17 00:34:36 -07:00
|
|
|
parts {
|
|
|
|
part { name: "bg"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2021-09-03 10:31:45 -07:00
|
|
|
color_class: "/bg/normal/colorselector";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2021-09-03 10:31:45 -07:00
|
|
|
PAT_FILL_SCALE(160, 160)
|
2013-10-17 00:34:36 -07:00
|
|
|
part { name: "pat";
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "bg";
|
2021-09-03 10:31:45 -07:00
|
|
|
image.normal: "stripes-diag.png";
|
|
|
|
color_class: "/bg/normal/colorselector/pattern";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "elm/colorselector/item/default";
|
2021-09-03 10:31:45 -07:00
|
|
|
images.image: "stripes-diag.png" COMP;
|
2013-10-17 00:34:36 -07:00
|
|
|
parts {
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "sel"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2021-09-03 10:31:45 -07:00
|
|
|
color_class: "/bg/selected/colorselector";
|
|
|
|
color: 255 255 255 0; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-09-03 10:31:45 -07:00
|
|
|
color: 255 255 255 255; // no cc
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
part { name: "bg"; type: RECT;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
2021-09-03 10:31:45 -07:00
|
|
|
min: 20 20;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "color_obj";
|
2021-09-03 10:31:45 -07:00
|
|
|
color_class: "/bg/normal/colorselector";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2021-09-03 10:31:45 -07:00
|
|
|
PAT_FILL_SCALE(160, 160)
|
2013-10-17 00:34:36 -07:00
|
|
|
part { name: "pat";
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "bg";
|
2021-09-03 10:31:45 -07:00
|
|
|
image.normal: "stripes-diag.png";
|
|
|
|
color_class: "/bg/normal/colorselector/pattern";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "clipper"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel2.to: "color_obj";
|
|
|
|
}
|
|
|
|
description { state: "disabled" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-09-03 10:31:45 -07:00
|
|
|
color: 255 255 255 64; // no cc
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2018-06-20 09:33:01 -07:00
|
|
|
alias: "color_obj" "elm.swallow.color_obj";
|
|
|
|
part { name: "elm.swallow.color_obj"; type: SWALLOW;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
clip_to: "clipper";
|
|
|
|
description { state: "default" 0.0;
|
2021-09-03 10:31:45 -07:00
|
|
|
min: 20 20;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 5 5;
|
|
|
|
rel2.offset: -6 -6;
|
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "elm,state,selected"; source: "elm";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "focused" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "sel";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "elm,state,unselected"; source: "elm";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
transition: DECELERATE 0.2;
|
|
|
|
target: "sel";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "elm,anim,activate"; source: "elm";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "focused" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
target: "sel";
|
2013-10-17 00:34:36 -07:00
|
|
|
after: "active2";
|
|
|
|
}
|
|
|
|
program { name: "active2";
|
|
|
|
action: STATE_SET "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
transition: DECELERATE 0.2;
|
|
|
|
target: "sel";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "elm/colorselector/item/color/default";
|
|
|
|
parts {
|
|
|
|
part { name: "color_rect"; type: RECT;
|
|
|
|
description{ state: "default" 0.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|