tizen 2.4 release
[framework/uifw/elementary.git] / data / themes / edc / colorwell.edc
1 group { name: "e/widgets/color_well";
2    images.image: "inset_shadow.png" COMP;
3    images.image: "bevel_in.png" COMP;
4    images.image: "dot_pattern.png" COMP;
5    parts {
6       part { name: "bg"; type: RECT;
7          description { state: "default" 0.0;
8             rel1.to: "e.swallow.content";
9             rel2.to: "e.swallow.content";
10             color: 48 48 48 255;
11          }
12       }
13       part { name: "pat";
14          description { state: "default" 0.0;
15             rel1.to: "bg";
16             rel2.to: "bg";
17             image.normal: "dot_pattern.png";
18             TILED_PATTERN(256, 256)
19          }
20       }
21       part { name: "clipper"; type: RECT;
22          description { state: "default" 0.0;
23             rel1.to: "e.swallow.content";
24             rel2.to: "e.swallow.content";
25          }
26          description { state: "disabled" 0.0;
27             inherit: "default" 0.0;
28             color: 255 255 255 64;
29          }
30       }
31       part { name: "e.swallow.content"; type: SWALLOW;
32          clip_to: "clipper";
33          description { state: "default" 0.0;
34             rel1.offset: 3 3;
35             rel2.offset: -4 -4;
36          }
37       }
38       part { name: "shadow"; mouse_events: 0;
39          description { state: "default" 0.0;
40             image.normal: "inset_shadow.png";
41             image.border: 5 5 7 3;
42             image.middle: 0;
43             rel1.to: "bg";
44             rel2.to: "bg";
45             fill.smooth: 0;
46             color: 255 255 255 128;
47          }
48       }
49       part { name: "inset";
50          description { state: "default" 0.0;
51             image.normal: "bevel_in.png";
52             image.border: 1 1 1 1;
53             image.middle: 0;
54             rel1.to: "bg";
55             rel1.offset: -1 -1;
56             rel2.to: "bg";
57             rel2.offset: 0 0;
58             fill.smooth: 0;
59          }
60       }
61    }
62    programs {
63       program {
64          signal: "mouse,clicked,1"; source: "inset";
65          action: SIGNAL_EMIT "e,action,click" "";
66       }
67       program {
68          signal: "e,state,disabled"; source: "e";
69          action: STATE_SET "disabled" 0.0;
70          target: "clipper";
71       }
72       program {
73          signal: "e,state,enabled"; source: "e";
74          action: STATE_SET "default" 0.0;
75          target: "clipper";
76       }
77    }
78 }