4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
6 * Contact: MyoungJune Park <mj2004.park@samsung.com>
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
22 #ifndef __SETTING_COMMON_DATA_EDJ_DEFINE_H__
23 #define __SETTING_COMMON_DATA_EDJ_DEFINE_H__
24 /*Cnnot be fixed when select multiple resolution */
25 #define ITEM_X_DEN (480.0)
26 #define ITEM_Y_DEN (112.0)
27 #define ITEM_Y_DEN2 (60.0)
28 #define MAIN_Y_DEN (800.0)
30 #define GROUP_ITEM_HEIGHT (61.0)
32 /*"personal_vib_layout" */
33 #define TOP_AREA_H 171
34 #define BOTTOM_BAR_AREA_H 98
35 #define HD_HEIGHT 1280
36 #define PERSONAL_VIBRATION_LAYOUT_H ((HD_HEIGHT)-(TOP_AREA_H)-(BOTTOM_BAR_AREA_H))
38 #define SETTING_LAYOUT_FOCUS_PART(bg) \
39 part { name: "focus_bg_left_top_padding";\
42 description { state: "default" 0.0;\
54 part { name: "focus_bg_right_bottom_padding";\
57 description { state: "default" 0.0;\
69 part { name: "focus_bg";\
71 description { state: "default" 0.0;\
75 to: "focus_bg_left_top_padding";\
79 to: "focus_bg_right_bottom_padding";\
81 image.normal: "org.tizen.setting.png";\
82 image.border: 13 13 13 13;\
84 description { state: "enabled" 0.0;\
85 inherit: "default" 0.0;\
90 #define SETTING_LAYOUT_FOCUS_PROGRAME \
91 program { name: "focus_in";\
92 signal: "elm,action,focus_highlight,show";\
94 action: STATE_SET "enabled" 0.0;\
97 program { name: "focus_out";\
98 signal: "elm,action,focus_highlight,hide";\
100 action: STATE_SET "default" 0.0;\
105 #define ADD_PART_CLICKED_SOUND_HEADER \
108 name: "touch_sound" AS_IS;\
109 source: "button-pressed.wav";\
113 #define ADD_PART_CLICKED_SOUND(part)\
114 program { name: "touch_snd"part;\
115 signal: "mouse,clicked,1";\
117 action: PLAY_SAMPLE "touch_sound" 1.0;\
120 #endif /* __SETTING_COMMON_DATA_EDJ_DEFINE_H__ */