summaryrefslogtreecommitdiff
path: root/data/themes/edc/cslider.edc
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-10-17 16:34:36 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-10-17 16:35:56 +0900
commit6a52628d12002c0a0f6c66bcfe2c10fc227b9dce (patch)
tree8a5aac3ede258bd0b621c395718f19ef95697e6b /data/themes/edc/cslider.edc
parent73f7ec95bcc069fb38479983dd8d5722e0fffc90 (diff)
new theme (dark) is now default in elm. matches e now in look
Diffstat (limited to 'data/themes/edc/cslider.edc')
-rw-r--r--data/themes/edc/cslider.edc146
1 files changed, 146 insertions, 0 deletions
diff --git a/data/themes/edc/cslider.edc b/data/themes/edc/cslider.edc
new file mode 100644
index 0000000..ca2777f
--- /dev/null
+++ b/data/themes/edc/cslider.edc
@@ -0,0 +1,146 @@
1group { 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;
8 parts {
9 part { name: "bg"; type: RECT;
10 description { state: "default" 0.0;
11 rel1.to: "e.swallow.content";
12 rel2.to: "e.swallow.content";
13 color: 48 48 48 255;
14 }
15 }
16 part { name: "clipper"; type: RECT;
17 description { state: "default" 0.0;
18 rel1.to: "e.swallow.content";
19 rel2.to: "e.swallow.content";
20 }
21 description { state: "disabled" 0.0;
22 inherit: "default" 0.0;
23 color: 255 255 255 64;
24 }
25 }
26 part { name: "e.swallow.content"; type: SWALLOW;
27 clip_to: "clipper";
28 description { state: "default" 0.0;
29 rel1.offset: 3 3;
30 rel2.offset: -4 -4;
31 }
32 }
33 part { name: "e.dragable.cursor"; type: RECT;
34 clip_to: "clipper";
35 dragable.confine: "e.swallow.content";
36 dragable.x: 1 1 0;
37 dragable.y: -1 1 0;
38 description { state: "default" 0.0;
39 min: 1 1;
40 max: 1 1;
41 fixed: 1 1;
42 visible: 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;
48 }
49 }
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;
54 image.middle: 0;
55 rel1.to: "bg";
56 rel2.to: "bg";
57 fill.smooth: 0;
58 color: 255 255 255 128;
59 }
60 }
61 part { name: "end1"; mouse_events: 0;
62 clip_to: "clipper";
63 description { state: "default" 0.0;
64 image.normal: "col_sel_end_top.png";
65 FIXED_SIZE(11, 8)
66 align: 0.5 0.0;
67 rel1.to: "cursor";
68 rel2.to: "cursor";
69 }
70 description { state: "vertical" 0.0;
71 inherit: "default" 0.0;
72 image.normal: "col_sel_end_left.png";
73 FIXED_SIZE(8, 11)
74 align: 0.0 0.5;
75 }
76 }
77 part { name: "end2"; mouse_events: 0;
78 clip_to: "clipper";
79 description { state: "default" 0.0;
80 image.normal: "col_sel_end_bottom.png";
81 FIXED_SIZE(11, 8)
82 align: 0.5 1.0;
83 rel1.to: "cursor";
84 rel2.to: "cursor";
85 }
86 description { state: "vertical" 0.0;
87 inherit: "default" 0.0;
88 image.normal: "col_sel_end_right.png";
89 FIXED_SIZE(8, 11)
90 align: 1.0 0.5;
91 }
92 }
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;
100 }
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";
107 }
108 }
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;
113 image.middle: 0;
114 rel1.to: "bg";
115 rel1.offset: -1 -1;
116 rel2.to: "bg";
117 rel2.offset: 0 0;
118 fill.smooth: 0;
119 }
120 }
121 }
122 programs {
123 program {
124 signal: "e,state,direction,v"; source: "e";
125 action: STATE_SET "vertical" 0.0;
126 target: "cursor";
127 target: "end1";
128 target: "end2";
129 }
130 program {
131 signal: "mouse,clicked,1"; source: "inset";
132 action: SIGNAL_EMIT "e,action,click" "";
133 }
134 program {
135 signal: "e,state,disabled"; source: "e";
136 action: STATE_SET "disabled" 0.0;
137 target: "clipper";
138 }
139 program {
140 signal: "e,state,enabled"; source: "e";
141 action: STATE_SET "default" 0.0;
142 target: "clipper";
143 }
144 }
145}
146