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;
10 description { state: "default" 0.0;
11 image.normal: "dia_grad.png";
25 description { state: "default" 0.0;
27 normal: "frame_2.png";
37 description { state: "default" 0.0;
40 color: 255 255 255 255;
43 part { name: "elm.swallow.content";
46 description { state: "default" 0.0;
53 description { state: "default" 0.0;
57 normal: "frame_1.png";
67 group { name: "elm/photo/base/shadow";
69 image: "shadow.png" COMP;
70 image: "black.png" COMP;
73 public message(Msg_Type:type, id, ...) {
74 if( (type==MSG_INT_SET) && (id==0) )
79 custom_state(PART:"size", "default", 0.0);
83 set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
84 set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
85 set_state(PART:"size", "custom", 0.0);
92 description { state: "default" 0.0;
93 rel1.relative: 0.5 0.5;
94 rel2.relative: 0.5 0.5;
102 state: "default" 0.0;
105 rel1.relative: -0.06 -0.06;
106 rel2.relative: 1.07 1.07;
107 image.normal: "shadow.png";
112 part { name: "elm.swallow.content";
114 description { state: "default" 0.0;
126 state: "default" 0.0;
131 image.normal: "black.png";
132 image.border: 1 1 1 1;
139 ///////////////////////////////////////////////////////////////////////////////