1 group { name: "e/widgets/cslider";
2 images.image: "inset_shadow.png" COMP;
3 images.image: "bevel_in.png" COMP;
4 images.image: "col_sel_end_bottom.png" COMP;
5 images.image: "col_sel_end_top.png" COMP;
6 images.image: "col_sel_end_left.png" COMP;
7 images.image: "col_sel_end_right.png" COMP;
9 part { name: "bg"; type: RECT;
10 description { state: "default" 0.0;
11 rel1.to: "e.swallow.content";
12 rel2.to: "e.swallow.content";
16 part { name: "clipper"; type: RECT;
17 description { state: "default" 0.0;
18 rel1.to: "e.swallow.content";
19 rel2.to: "e.swallow.content";
21 description { state: "disabled" 0.0;
22 inherit: "default" 0.0;
23 color: 255 255 255 64;
26 part { name: "e.swallow.content"; type: SWALLOW;
28 description { state: "default" 0.0;
33 part { name: "e.dragable.cursor"; type: RECT;
35 dragable.confine: "e.swallow.content";
38 description { state: "default" 0.0;
43 rel1.to: "e.swallow.content";
44 rel1.relative: 0.5 0.0;
45 rel2.to: "e.swallow.content";
46 rel2.relative: 0.5 0.5;
47 color: 255 255 255 150;
50 part { name: "shadow"; mouse_events: 0;
51 description { state: "default" 0.0;
52 image.normal: "inset_shadow.png";
53 image.border: 5 5 7 3;
58 color: 255 255 255 128;
61 part { name: "end1"; mouse_events: 0;
63 description { state: "default" 0.0;
64 image.normal: "col_sel_end_top.png";
70 description { state: "vertical" 0.0;
71 inherit: "default" 0.0;
72 image.normal: "col_sel_end_left.png";
77 part { name: "end2"; mouse_events: 0;
79 description { state: "default" 0.0;
80 image.normal: "col_sel_end_bottom.png";
86 description { state: "vertical" 0.0;
87 inherit: "default" 0.0;
88 image.normal: "col_sel_end_right.png";
93 part { name: "cursor"; type: RECT; mouse_events: 0;
94 description { state: "default" 0.0;
95 rel1.to_x: "e.dragable.cursor";
96 rel1.to_y: "e.swallow.content";
97 rel2.to_x: "e.dragable.cursor";
98 rel2.to_y: "e.swallow.content";
99 color: 255 255 255 150;
101 description { state: "vertical" 0.0;
102 inherit: "default" 0.0;
103 rel1.to_x: "e.swallow.content";
104 rel1.to_y: "e.dragable.cursor";
105 rel2.to_x: "e.swallow.content";
106 rel2.to_y: "e.dragable.cursor";
109 part { name: "inset"; mouse_events: 0;
110 description { state: "default" 0.0;
111 image.normal: "bevel_in.png";
112 image.border: 1 1 1 1;
124 signal: "e,state,direction,v"; source: "e";
125 action: STATE_SET "vertical" 0.0;
131 signal: "mouse,clicked,1"; source: "inset";
132 action: SIGNAL_EMIT "e,action,click" "";
135 signal: "e,state,disabled"; source: "e";
136 action: STATE_SET "disabled" 0.0;
140 signal: "e,state,enabled"; source: "e";
141 action: STATE_SET "default" 0.0;