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 #ifndef __DEF_STRING_H_
19 #define __DEF_STRING_H_
21 /* share between EDC and C code. */
23 #define ENABLE_HAPTIC 0
25 /* #define NEW_RECORDING_LAYOUT */
27 #define INVALID_INDEX -1
29 #define CAM_COMMON_STRING_LEN 80
31 #define CAM_UI_LOG(fmt, args...) cam_debug(LOG_UI, fmt, ##args)
41 #define UI_TEST_LOG(fmt, args...) \
43 printf("\x1b[%dm\x1b[%dm[CAM_UI_LOG] [%s:%d] : "fmt, BG_BLACK, FG_GREEN, __func__, __LINE__, ##args); \
44 printf("\x1b[0m\n"); \
49 #define VER_MAIN_W MAIN_H
50 #define VER_MAIN_H MAIN_W
52 #define MAIN_W_AUTO 800
53 #define MAIN_H_AUTO 480
54 #define VER_MAIN_W_AUTO MAIN_H_AUTO
55 #define VER_MAIN_H_AUTO MAIN_W_AUTO
59 #define TOOLBAR_RIGHT_ITEM_H 225
62 #define CAMERA_FOCUS_W 150
63 #define CAMERA_FOCUS_H 97
65 #define SETTINGS_TAB_BACK_W 71
66 #define SETTINGS_TAB_BACK_H 71
68 #define INDICATOR_BATTERY "INDICATOR_BATTERY"
69 #define INDI_REC_BATTERY "INDI_REC_BATTERY"
72 #define RECORDING_IMAGE "recording_image"
73 #define RECORDING_TEXT "recording_text"
74 #define RECORDING_LEFT_TEXT "recording_left_text"
76 #define RECORDING_STOP_BUTTON "recording_stop_button"
78 #define REC_PAUSE "rec_pause"
79 #define REC_REC "rec_rec"
80 #define REC_STOP "rec_stop"
81 #define REC_REC_SIG "rec_rec_sig"
82 #define REC_PAUSE_SIG "rec_pause_sig"
83 #define REC_STOP_SIG "rec_stop_sig"
84 #define REC_SIG_SRC "rec_sig_src"
87 #define HAPTIC_SIG_SRC "HAPTIC_SIG_SRC"
88 #define HAPTIC_SIG "HAPTIC_SIG"
90 #define CONTI_REVIEW_BACK "conti_review_back"
91 #define CONTI_REVIEW_THUMB "conti_review_thumb"
92 #define CONTI_REVIEW_BTN_SIG_SRC "conti_review_sig_source"
93 #define CONTI_REVIEW_BACK_BTN_SIG "conti_review_back_SIG"
96 #define CAPTURED_IMAGE_SCREEN "captured_image_screen"
97 #define CAPTURED_IMAGE_SAVE "captured_image_save_btn"
98 #define CAPTURED_IMAGE_RETRY "capture_image_save_bnt"
101 #define COLOR_1 255 255 255 255
102 #define COLOR_2 0 0 0 255
103 #define COLOR_65 164 215 255 255
104 #define COLOR_73 150 150 150 255
106 #define FONT_NAME "font=SLP:style=Roman"
107 #define FONT_COLOR COLOR_1