2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://floralicense.org/license/
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 #include "../include/edc_image_name.h"
19 #include "../include/edc_string.h"
28 #define ZOOM_TEXT_Y 26
29 #define ZOOM_TEXT_W 96
30 #define ZOOM_TEXT_H 44
32 #define ZOOM_SLIDE_X 0
33 #define ZOOM_SLIDE_Y 104
37 image: ZOOM_BG_VER_IMAGE COMP;
55 rel1 { relative: 0.0 0.0;}
56 rel2 { relative: 1.0 1.0;}
64 rel1 { relative: ZOOM_BG_Y/MAIN_H (1 - (ZOOM_BG_X+ZOOM_BG_W)/MAIN_W); offset: 0 0; to: "bg";}
65 rel2 { relative: (ZOOM_BG_Y+ZOOM_BG_H)/MAIN_H (1 - ZOOM_BG_X/MAIN_W); offset: -1 -1; to: "bg";}
66 image { normal: ZOOM_BG_VER_IMAGE; }
76 rel1 { relative: (ZOOM_BG_H-ZOOM_TEXT_H-ZOOM_TEXT_Y)/ZOOM_BG_H 0.0 ; to: "bg_image"; }
77 rel2 { relative: (ZOOM_BG_H-ZOOM_TEXT_Y)/ZOOM_BG_H 1.0; to: "bg_image"; }
91 rel1 { relative: ZOOM_TEXT_Y/ZOOM_BG_H 0.0; to: "bg_image"; }
92 rel2 { relative: (ZOOM_TEXT_Y+ZOOM_TEXT_H)/ZOOM_BG_H 1.0; to: "bg_image"; }
104 state: "default" 0.0;
105 rel1 { relative: ZOOM_SLIDE_Y/ZOOM_BG_H 0.0; to: "bg_image"; }
106 rel2 { relative: (ZOOM_BG_H-ZOOM_SLIDE_Y)/ZOOM_BG_H 1.0; to: "bg_image"; }
111 name:"set.zoom.default";
113 signal: "set.zoom.default";
115 set_state(PART:"bg_image", "default", 0.0);
119 name:"set.zoom.landscape_inverse";
121 signal: "set.zoom.landscape_inverse";
123 set_state(PART:"bg_image", "landscape_inverse", 0.0);
127 name:"set.zoom.portrait";
129 signal: "set.zoom.portrait";
131 set_state(PART:"bg_image", "portrait", 0.0);
135 name:"set.zoom.portrait_inverse";
137 signal: "set.zoom.portrait_inverse";
139 set_state(PART:"bg_image", "portrait_inverse", 0.0);