2013-10-17 00:34:36 -07:00
|
|
|
group { name: "e/widgets/color_well";
|
2021-03-27 08:02:13 -07:00
|
|
|
images.image: "diagonal_stripes.png" COMP;
|
2013-10-17 00:34:36 -07:00
|
|
|
parts {
|
|
|
|
part { name: "bg"; type: RECT;
|
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
|
|
|
rel1.offset: 2 2;
|
|
|
|
rel2.offset: -3 -3;
|
|
|
|
color: DARK_GREY_BG_COLOR;
|
|
|
|
min: 18 18;
|
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "pat";
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
|
|
|
description
|
|
|
|
{ state: "default" 0.0;
|
|
|
|
rel.to: "bg";
|
|
|
|
rel1.offset: 2 2;
|
|
|
|
rel2.offset: -3 -3;
|
|
|
|
image.normal:
|
|
|
|
"diagonal_stripes.png";
|
|
|
|
color: 255 255 255 64;
|
|
|
|
TILED_PATTERN(240, 240)
|
|
|
|
offscale;
|
|
|
|
}
|
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: "pat";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
description { state: "disabled" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 255 255 255 64;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "e.swallow.content"; type: SWALLOW; mouse_events: 0;
|
2013-10-17 00:34:36 -07:00
|
|
|
clip_to: "clipper";
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "pat";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "mouse,clicked,1"; source: "pat";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: SIGNAL_EMIT "e,action,click" "";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "e,state,disabled"; source: "e";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "disabled" 0.0;
|
|
|
|
target: "clipper";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "e,state,enabled"; source: "e";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "clipper";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|