elm genlist/gengrid: Applied genlist/gengrid icons -> contents changes
[framework/uifw/elementary.git] / data / themes / widgets / diskselector.edc
1 group { 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
68 group { 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          mouse_events: 0;
116          scale: 1;
117          description { state: "default" 0.0;
118             rel1.relative: 1 0.0;
119             rel1.to_x: "elm.swallow.icon";
120             rel2.relative: 1.0 1.0;
121             color: 255 255 255 255;
122             visible: 0;
123             text {
124                font: "Sans,Edje-Vera";
125                size: 13;
126                align: 0.5 0.5;
127                min: 0 1;
128             }
129          }
130          description { state: "show" 0.0;
131             inherit: "default" 0.0;
132             visible: 1;
133          }
134          description { state: "default_small" 0.0;
135             inherit: "default" 0.0;
136             visible: 1;
137             text.size: 10;
138          }
139          description { state: "left_side" 0.0;
140             inherit: "default" 0.0;
141             color: 172 172 172 255;
142             text.size: 10;
143             visible: 1;
144             text.align: 0.2 0.5;
145          }
146          description { state: "right_side" 0.0;
147             inherit: "default" 0.0;
148             color: 172 172 172 255;
149             visible: 1;
150             text.size: 10;
151             text.align: 0.8 0.5;
152          }
153       }
154    }
155
156    programs {
157       program { name: "center_text";
158          signal: "elm,state,center";
159          source: "elm";
160          action: STATE_SET "show" 0.0;
161          target: "elm.text";
162          target: "elm.swallow.icon";
163       }
164       program { name: "center_small_text";
165          signal: "elm,state,center_small";
166          source: "elm";
167          action: STATE_SET "default_small" 0.0;
168          target: "elm.text";
169          target: "elm.swallow.icon";
170       }
171       program { name: "l_side_text";
172          signal: "elm,state,left_side";
173          source: "elm";
174          action: STATE_SET "left_side" 0.0;
175          target: "elm.text";
176          target: "elm.swallow.icon";
177       }
178       program { name: "r_side_text";
179          signal: "elm,state,right_side";
180          source: "elm";
181          action: STATE_SET "right_side" 0.0;
182          target: "elm.text";
183          target: "elm.swallow.icon";
184       }
185    }
186 }