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://www.tizenopensource.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"
21 #define ZOOM_BG_X (1280 - 250)
27 #define ZOOM_TEXT_Y 26
28 #define ZOOM_TEXT_W 96
29 #define ZOOM_TEXT_H 44
31 #define ZOOM_SLIDE_X 0
32 #define ZOOM_SLIDE_Y 104
36 image: ZOOM_BG_IMAGE COMP;
37 image: ZOOM_BG_VER_IMAGE COMP;
50 rel1 { relative: ZOOM_BG_X/MAIN_W ZOOM_BG_Y/MAIN_H;}
51 rel2 { relative: (ZOOM_BG_X+ZOOM_BG_W)/MAIN_W (ZOOM_BG_Y+ZOOM_BG_H)/MAIN_H;}
52 image { normal: ZOOM_BG_IMAGE; }
61 rel1 { relative: 0.0 (ZOOM_BG_H-ZOOM_TEXT_H-ZOOM_TEXT_Y)/ZOOM_BG_H; to: "bg_image"; }
62 rel2 { relative: 1.0 (ZOOM_BG_H-ZOOM_TEXT_Y)/ZOOM_BG_H; to: "bg_image"; }
76 rel1 { relative: 0.0 ZOOM_TEXT_Y/ZOOM_BG_H; to: "bg_image"; }
77 rel2 { relative: 1.0 (ZOOM_TEXT_Y+ZOOM_TEXT_H)/ZOOM_BG_H; to: "bg_image"; }
90 rel1 { relative: 0.0 ZOOM_SLIDE_Y/ZOOM_BG_H; to: "bg_image"; }
91 rel2 { relative: 1.0 (ZOOM_BG_H-ZOOM_SLIDE_Y)/ZOOM_BG_H; to: "bg_image"; }
96 name:"set.zoom.default";
98 signal: "set.zoom.default";
100 set_state(PART:"bg_image", "default", 0.0);
104 name:"set.zoom.landscape_inverse";
106 signal: "set.zoom.landscape_inverse";
108 set_state(PART:"bg_image", "landscape_inverse", 0.0);
112 name:"set.zoom.portrait";
114 signal: "set.zoom.portrait";
116 set_state(PART:"bg_image", "portrait", 0.0);
120 name:"set.zoom.portrait_inverse";
122 signal: "set.zoom.portrait_inverse";
124 set_state(PART:"bg_image", "portrait_inverse", 0.0);