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.
17 #include "../include/edc_image_name.h"
18 #include "../include/edc_string.h"
31 #define EV_SLIDE_Y 120
35 image: ZOOM_BG_VER_IMAGE COMP;
36 image: EXPOSURE_VALUE_MINUS_2_0_ICON COMP;
37 image: EXPOSURE_VALUE_MINUS_2_0_PRESS_ICON COMP;
38 image: EXPOSURE_VALUE_PLUS_2_0_ICON COMP;
39 image: EXPOSURE_VALUE_PLUS_2_0_PRESS_ICON COMP;
57 rel1 { relative: 0.0 0.0;}
58 rel2 { relative: 1.0 1.0;}
66 rel1 { relative: (1 - (EV_BG_Y+EV_BG_H)/MAIN_H) EV_BG_X/MAIN_W; to: "bg";}
67 rel2 { relative: (1 - EV_BG_Y/MAIN_H) (EV_BG_X+EV_BG_W)/MAIN_W; to: "bg";}
68 image { normal: ZOOM_BG_VER_IMAGE; }
77 rel1 { relative: (1 - (EV_BG_H-EV_ICON_Y)/EV_BG_H) EV_ICON_X/EV_BG_W; to: "bg_image"; }
78 rel2 { relative: (1 - (EV_BG_H-EV_ICON_H-EV_ICON_Y)/EV_BG_H) (EV_ICON_X+EV_ICON_W)/EV_BG_W; to: "bg_image"; }
79 image { normal: EXPOSURE_VALUE_MINUS_2_0_ICON; }
83 inherit: "default" 0.0;
84 image { normal: EXPOSURE_VALUE_MINUS_2_0_PRESS_ICON; }
93 rel1 { relative: (1 - (EV_ICON_Y+EV_ICON_H)/EV_BG_H) EV_ICON_X/EV_BG_W; to: "bg_image"; }
94 rel2 { relative: (1 - EV_ICON_Y/EV_BG_H) (EV_ICON_X+EV_ICON_W)/EV_BG_W; to: "bg_image"; }
95 image { normal: EXPOSURE_VALUE_PLUS_2_0_ICON; }
99 inherit: "default" 0.0;
100 image { normal: EXPOSURE_VALUE_PLUS_2_0_PRESS_ICON; }
107 state: "default" 0.0;
108 rel1 { relative: EV_SLIDE_Y/EV_BG_H 0.0 ; to: "bg_image"; }
109 rel2 { relative: (1 - EV_SLIDE_Y/EV_BG_H) 1.0; to: "bg_image"; }
116 name: "icon_minus_press";
117 signal: "mouse,down,1";
118 source: "icon_minus";
119 action: STATE_SET "press" 0.0;
120 target: "icon_minus";
123 name: "icon_minus_release";
124 signal: "mouse,up,1";
125 source: "icon_minus";
126 action: STATE_SET "default" 0.0;
127 target: "icon_minus";
130 name: "icon_minus_clicked";
131 signal: "mouse,clicked,1";
132 source: "icon_minus";
133 action: SIGNAL_EMIT "icon_minus,clicked" "ev_icon_signal";
136 name: "icon_plus_press";
137 signal: "mouse,down,1";
139 action: STATE_SET "press" 0.0;
143 name: "icon_plus_release";
144 signal: "mouse,up,1";
146 action: STATE_SET "default" 0.0;
150 name: "icon_plus_clicked";
151 signal: "mouse,clicked,1";
153 action: SIGNAL_EMIT "icon_plus,clicked" "ev_icon_signal";