1 group { name: "elm/photo/base/default";
3 image: "frame_1.png" COMP;
4 image: "frame_2.png" COMP;
5 image: "dia_grad.png" COMP;
6 image: "head.png" COMP;
11 description { state: "default" 0.0;
12 image.normal: "dia_grad.png";
26 description { state: "default" 0.0;
28 normal: "frame_2.png";
37 description { state: "default" 0.0;
41 aspect_preference: BOTH;
42 image.normal: "head.png";
48 description { state: "default" 0.0;
51 color: 255 255 255 255;
54 part { name: "elm.swallow.content";
57 description { state: "default" 0.0;
64 description { state: "default" 0.0;
68 normal: "frame_1.png";
78 group { name: "elm/photo/base/shadow";
80 image: "shadow.png" COMP;
81 image: "black.png" COMP;
84 public message(Msg_Type:type, id, ...) {
85 if( (type==MSG_INT_SET) && (id==0) )
90 custom_state(PART:"size", "default", 0.0);
94 set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
95 set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
96 set_state(PART:"size", "custom", 0.0);
103 description { state: "default" 0.0;
104 rel1.relative: 0.5 0.5;
105 rel2.relative: 0.5 0.5;
113 state: "default" 0.0;
116 rel1.relative: -0.06 -0.06;
117 rel2.relative: 1.07 1.07;
118 image.normal: "shadow.png";
123 part { name: "elm.swallow.content";
125 description { state: "default" 0.0;
137 state: "default" 0.0;
142 image.normal: "black.png";
143 image.border: 1 1 1 1;
150 ///////////////////////////////////////////////////////////////////////////////