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)
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_IMAGE COMP;
38 image: ZOOM_BG_VER_IMAGE COMP;
50 state: "landscape_inverse" 0.0;
51 rel1 { relative: (1 - (ZOOM_BG_X+ZOOM_BG_W)/MAIN_W) (1 - (ZOOM_BG_Y+ZOOM_BG_H)/MAIN_H) ; offset: 0 0; }
52 rel2 { relative: (1 - ZOOM_BG_X/MAIN_W) (1 - ZOOM_BG_Y/MAIN_H); offset: -1 -1; }
53 image { normal: ZOOM_BG_IMAGE; }
63 rel1 { relative: 0.0 (1 - (ZOOM_BG_H-ZOOM_TEXT_Y)/ZOOM_BG_H); to: "bg_image"; }
64 rel2 { relative: 1.0 (1 - (ZOOM_BG_H-ZOOM_TEXT_H-ZOOM_TEXT_Y)/ZOOM_BG_H); to: "bg_image"; }
78 rel1 { relative: 0.0 (1.0 - (ZOOM_TEXT_Y+ZOOM_TEXT_H)/ZOOM_BG_H); to: "bg_image"; }
79 rel2 { relative: 1.0 (1.0 - ZOOM_TEXT_Y/ZOOM_BG_H); to: "bg_image"; }
92 rel1 { relative: 0.0 (1.0 - (ZOOM_BG_H-ZOOM_SLIDE_Y)/ZOOM_BG_H); to: "bg_image"; }
93 rel2 { relative: 1.0 (1.0 - ZOOM_SLIDE_Y/ZOOM_BG_H); to: "bg_image"; }
98 name:"set.zoom.default";
100 signal: "set.zoom.default";
102 set_state(PART:"bg_image", "default", 0.0);
106 name:"set.zoom.landscape_inverse";
108 signal: "set.zoom.landscape_inverse";
110 set_state(PART:"bg_image", "landscape_inverse", 0.0);
114 name:"set.zoom.portrait";
116 signal: "set.zoom.portrait";
118 set_state(PART:"bg_image", "portrait", 0.0);
122 name:"set.zoom.portrait_inverse";
124 signal: "set.zoom.portrait_inverse";
126 set_state(PART:"bg_image", "portrait_inverse", 0.0);