2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.1 (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"
32 #define EV_SLIDE_Y 120
36 image: ZOOM_BG_IMAGE COMP;
37 image: EXPOSURE_VALUE_MINUS_2_0_ICON COMP;
38 image: EXPOSURE_VALUE_MINUS_2_0_PRESS_ICON COMP;
39 image: EXPOSURE_VALUE_PLUS_2_0_ICON COMP;
40 image: EXPOSURE_VALUE_PLUS_2_0_PRESS_ICON COMP;
58 rel1 { relative: 0.0 0.0;}
59 rel2 { relative: 1.0 1.0;}
67 rel1 { relative: EV_BG_X/MAIN_W EV_BG_Y/MAIN_H; to: "bg";}
68 rel2 { relative: (EV_BG_X+EV_BG_W)/MAIN_W (EV_BG_Y+EV_BG_H)/MAIN_H; to: "bg";}
69 image { normal: ZOOM_BG_IMAGE; }
78 rel1 { relative: EV_ICON_X/EV_BG_W (EV_BG_H-EV_ICON_H-EV_ICON_Y)/EV_BG_H; to: "bg_image"; }
79 rel2 { relative: (EV_ICON_X+EV_ICON_W)/EV_BG_W (EV_BG_H-EV_ICON_Y)/EV_BG_H; to: "bg_image"; }
80 image { normal: EXPOSURE_VALUE_MINUS_2_0_ICON; }
84 inherit: "default" 0.0;
85 image { normal: EXPOSURE_VALUE_MINUS_2_0_PRESS_ICON; }
94 rel1 { relative: EV_ICON_X/EV_BG_W EV_ICON_Y/EV_BG_H; to: "bg_image"; }
95 rel2 { relative: (EV_ICON_X+EV_ICON_W)/EV_BG_W (EV_ICON_Y+EV_ICON_H)/EV_BG_H; to: "bg_image"; }
96 image { normal: EXPOSURE_VALUE_PLUS_2_0_ICON; }
100 inherit: "default" 0.0;
101 image { normal: EXPOSURE_VALUE_PLUS_2_0_PRESS_ICON; }
108 state: "default" 0.0;
109 rel1 { relative: 0.0 EV_SLIDE_Y/EV_BG_H; to: "bg_image"; }
110 rel2 { relative: 1.0 (EV_BG_H-EV_SLIDE_Y)/EV_BG_H; to: "bg_image"; }
117 name: "icon_minus_press";
118 signal: "mouse,down,1";
119 source: "icon_minus";
120 action: STATE_SET "press" 0.0;
121 target: "icon_minus";
124 name: "icon_minus_release";
125 signal: "mouse,up,1";
126 source: "icon_minus";
127 action: STATE_SET "default" 0.0;
128 target: "icon_minus";
131 name: "icon_minus_clicked";
132 signal: "mouse,clicked,1";
133 source: "icon_minus";
134 action: SIGNAL_EMIT "icon_minus,clicked" "ev_icon_signal";
137 name: "icon_plus_press";
138 signal: "mouse,down,1";
140 action: STATE_SET "press" 0.0;
144 name: "icon_plus_release";
145 signal: "mouse,up,1";
147 action: STATE_SET "default" 0.0;
151 name: "icon_plus_clicked";
152 signal: "mouse,clicked,1";
154 action: SIGNAL_EMIT "icon_plus,clicked" "ev_icon_signal";