tizen 2.4 release
[framework/uifw/elementary.git] / data / themes / edc / conf.edc
1 group { name: "e/widgets/configure/main";
2    images.image: "bevel_dark_out.png" COMP;
3    images.image: "separator_horiz.png" COMP;
4    parts {
5       part { name: "base"; type: RECT;
6          description { state: "default" 0.0;
7             color_class: "dialog_base";
8             color: 64 64 64 255;
9          }
10       }
11       part { name: "bevel";
12          description { state: "default" 0.0;
13             image.normal: "bevel_dark_out.png";
14             image.border: 1 1 1 1;
15             image.middle: 0;
16             fill.smooth: 0;
17          }
18       }
19       part { name: "separator"; mouse_events: 0;
20          description { state: "default" 0.0;
21             min: 16 2;
22             max: 99999 2;
23             rel1.relative: 0.0 1.0;
24             rel1.offset: 0 0;
25             rel1.to_y: "e.swallow.content";
26             rel2.relative: 1.0 0.0;
27             rel2.offset: -1 -1;
28             rel2.to_y: "e.swallow.button";
29             image.normal: "separator_horiz.png";
30             fill.smooth: 0;
31             fixed: 0 1;
32          }
33       }
34       part { name: "e.swallow.content"; type: SWALLOW;
35          description { state: "default" 0.0;
36             rel1.offset: 4 4;
37             rel1.to_x: "base";
38             rel2.relative: 1.0 0.0;
39             rel2.offset: -5 -8;
40             rel2.to_y: "e.swallow.button";
41          }
42       }
43       part { name: "e.swallow.button"; type: SWALLOW;
44          description { state: "default" 0.0;
45             align: 0.5 1.0;
46             rel1.relative: 0.5 1.0;
47             rel1.offset: 0 -5;
48             rel2.relative: 0.5 1.0;
49             rel2.offset: -1 -5;
50             fixed: 1 1;
51          }
52       }
53    }
54 }
55
56 group { name: "e/modules/conf/main";
57    images.image: "button_normal.png" COMP;
58    images.image: "button_clicked.png" COMP;
59    images.image: "spanner_inset.png" COMP;
60    images.image: "spanner_hilight.png" COMP;
61    images.image: "spanner_glow.png" COMP;
62    min: 16 16;
63    max: 80 80;
64    parts {
65       part { name: "base";
66          description { state: "default" 0.0;
67             image.normal: "button_normal.png";
68             image.border: 4 4 3 5;
69             image.middle: SOLID;
70             rel1.offset: -1 0;
71             rel2.offset: 0 1;
72             fill.smooth: 0;
73          }
74          description { state: "clicked" 0.0;
75             inherit: "default" 0.0;
76             image.normal: "button_clicked.png";
77             image.border: 5 5 4 6;
78          }
79       }
80       part { name: "spanner_hilight"; mouse_events: 0;
81          description { state: "default" 0.0;
82             aspect: 1.0 1.0; aspect_preference: BOTH;
83             max: 80 80;
84             rel1.offset: 0 1;
85             rel1.to: "spanner";
86             rel2.offset: -1 0;
87             rel2.to: "spanner";
88             image.normal: "spanner_hilight.png";
89          }
90       }
91       part { name: "spanner"; mouse_events: 0;
92          description { state: "default" 0.0;
93             aspect: 1.0 1.0; aspect_preference: BOTH;
94             max: 80 80;
95             rel1.offset: 4 4;
96             rel2.offset: -5 -5;
97             image.normal: "spanner_inset.png";
98          }
99       }
100       part { name: "spanner_glow"; mouse_events: 0;
101          description { state: "default" 0.0;
102             aspect: 1.0 1.0; aspect_preference: BOTH;
103             max: 80 80;
104             rel1.to: "spanner";
105             rel2.to: "spanner";
106             image.normal: "spanner_glow.png";
107             visible: 0;
108          }
109          description { state: "clicked" 0.0;
110             inherit: "default" 0.0;
111             visible: 1;
112          }
113       }
114    }
115    programs {
116       program {
117          signal: "mouse,down,1"; source: "base";
118          action: STATE_SET "clicked" 0.0;
119          target: "base";
120       }
121       program {
122          signal: "mouse,up,1"; source: "base";
123          action: STATE_SET "default" 0.0;
124          target: "base";
125          target: "spanner_glow";
126       }
127       program {
128          signal: "mouse,clicked,1*"; source: "base";
129          action: SIGNAL_EMIT "e,action,conf" "";
130       }
131       program {
132          signal: "mouse,in"; source: "base";
133          action: STATE_SET "clicked" 0.0;
134          target: "spanner_glow";
135       }
136       program {
137          signal: "mouse,out"; source: "base";
138          action: STATE_SET "default" 0.0;
139          target: "spanner_glow";
140       }
141    }
142 }