aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/elementary/data/themes/widgets/diskselector.edc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libraries/elementary/data/themes/widgets/diskselector.edc185
1 files changed, 185 insertions, 0 deletions
diff --git a/libraries/elementary/data/themes/widgets/diskselector.edc b/libraries/elementary/data/themes/widgets/diskselector.edc
new file mode 100644
index 0000000..97b3663
--- /dev/null
+++ b/libraries/elementary/data/themes/widgets/diskselector.edc
@@ -0,0 +1,185 @@
1group { name: "elm/diskselector/base/default";
2 images {
3 image: "bar_shine.png" COMP;
4 }
5
6 parts {
7 part { name: "bg";
8 type: RECT;
9 mouse_events: 0;
10 description { state: "default" 0.0;
11 color: 0 0 0 255;
12 }
13 }
14 part { name: "shine_left";
15 mouse_events: 0;
16 description { state: "default" 0.0;
17 rel1.to: "bg";
18 rel1.relative: -0.1 0;
19 rel2.to: "bg";
20 rel2.relative: 0.1 1;
21 image.normal: "bar_shine.png";
22 color: 255 255 255 120;
23 }
24 }
25 part { name: "shine_center";
26 mouse_events: 0;
27 description { state: "default" 0.0;
28 rel1.to: "bg";
29 rel1.relative: 0.2 0;
30 rel2.to: "bg";
31 rel2.relative: 0.8 1;
32 image.normal: "bar_shine.png";
33 color: 255 255 255 180;
34 }
35 }
36 part { name: "shine_right";
37 mouse_events: 0;
38 description { state: "default" 0.0;
39 rel1.to: "bg";
40 rel1.relative: 0.9 0;
41 rel2.to: "bg";
42 rel2.relative: 1.1 1;
43 image.normal: "bar_shine.png";
44 color: 255 255 255 120;
45 }
46 }
47 part { name: "clipper";
48 type: RECT;
49 mouse_events: 0;
50 description { state: "default" 0.0;
51 rel1.to: "bg";
52 rel2.to: "bg";
53 rel1.offset: 2 2;
54 rel2.offset: -3 -3;
55 }
56 }
57 part { name: "elm.swallow.content";
58 clip_to: "clipper";
59 type: SWALLOW;
60 description { state: "default" 0.0;
61 rel1.to: "bg";
62 rel2.to: "bg";
63 }
64 }
65 }
66}
67
68group { name: "elm/diskselector/item/default";
69
70 data {
71 item: "len_threshold" "14";
72 item: "display_item_num" "3";
73 item: "min_height" "-1";
74 item: "min_width" "-1";
75 }
76
77 parts {
78 part { name: "elm.swallow.icon";
79 type: SWALLOW;
80 description { state: "default" 0.0;
81 fixed: 1 0;
82 align: 0.0 0.5;
83 rel1 {
84 relative: 0 0;
85 offset: 4 4;
86 }
87 rel2 {
88 relative: 0 1;
89 offset: 4 -5;
90 }
91 }
92 description { state: "show" 0.0;
93 inherit: "default" 0.0;
94 }
95 description { state: "default_small" 0.0;
96 inherit: "default" 0.0;
97 rel1.relative: 0 0.2;
98 rel2.relative: 0 0.8;
99 }
100 description { state: "left_side" 0.0;
101 inherit: "default" 0.0;
102 rel1.relative: 0 0.2;
103 rel2.relative: 0 0.8;
104 color: 255 255 255 160;
105 }
106 description { state: "right_side" 0.0;
107 inherit: "left_side" 0.0;
108 rel1.relative: 0.4 0.2;
109 rel2.relative: 0.4 0.8;
110 color: 255 255 255 160;
111 }
112 }
113 part { name: "elm.text";
114 type: TEXT;
115 scale: 1;
116 description { state: "default" 0.0;
117 rel1.relative: 1 0.0;
118 rel1.to_x: "elm.swallow.icon";
119 rel2.relative: 1.0 1.0;
120 color: 255 255 255 255;
121 visible: 0;
122 text {
123 font: "Sans,Edje-Vera";
124 size: 13;
125 align: 0.5 0.5;
126 min: 0 1;
127 }
128 }
129 description { state: "show" 0.0;
130 inherit: "default" 0.0;
131 visible: 1;
132 }
133 description { state: "default_small" 0.0;
134 inherit: "default" 0.0;
135 visible: 1;
136 text.size: 10;
137 }
138 description { state: "left_side" 0.0;
139 inherit: "default" 0.0;
140 color: 172 172 172 255;
141 text.size: 10;
142 visible: 1;
143 text.align: 0.2 0.5;
144 }
145 description { state: "right_side" 0.0;
146 inherit: "default" 0.0;
147 color: 172 172 172 255;
148 visible: 1;
149 text.size: 10;
150 text.align: 0.8 0.5;
151 }
152 }
153 }
154
155 programs {
156 program { name: "center_text";
157 signal: "elm,state,center";
158 source: "elm";
159 action: STATE_SET "show" 0.0;
160 target: "elm.text";
161 target: "elm.swallow.icon";
162 }
163 program { name: "center_small_text";
164 signal: "elm,state,center_small";
165 source: "elm";
166 action: STATE_SET "default_small" 0.0;
167 target: "elm.text";
168 target: "elm.swallow.icon";
169 }
170 program { name: "l_side_text";
171 signal: "elm,state,left_side";
172 source: "elm";
173 action: STATE_SET "left_side" 0.0;
174 target: "elm.text";
175 target: "elm.swallow.icon";
176 }
177 program { name: "r_side_text";
178 signal: "elm,state,right_side";
179 source: "elm";
180 action: STATE_SET "right_side" 0.0;
181 target: "elm.text";
182 target: "elm.swallow.icon";
183 }
184 }
185}