2 // Copyright (c) 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 * @file CallSettingsConstants.h
19 * @brief This is the header file for providing common constants across application.
22 #ifndef _PHN_SETTINGS_CONSTANTS_H_
23 #define _PHN_SETTINGS_CONSTANTS_H_
27 #include <FGraphics.h>
30 enum CallForwardCondition
32 CALL_FORWARD_ALL, /* Forward All Calls */
33 CALL_FORWARD_BUSY, /* Forward if Busy */
34 CALL_FORWARD_NO_REPLY, /* Forward if No Reply */
35 CALL_FORWARD_NOT_REACHABLE /* Forward if Not Reachable */
40 CALL_BARRING_ALL_OUTGOING, /* Barring All Outgoing Calls */
41 CALL_BARRING_INTERNATIONAL_OUTGOING, /* Barring Outgoing International Calls */
42 CALL_BARRING_INTERNATIONAL_EXCEPT_HOME, /* Barring Outgoing International Calls except to Home Country */
43 CALL_BARRING_ALL_INCOMING, /* Barring All Incoming Calls */
44 CALL_BARRING_INCOMING_ROAMING /* Barring Incoming Calls when roam*/
49 enum CallRejectMatchCondition
51 CALL_REJECT_MATCH_EXACTLY = 1,
52 CALL_REJECT_MATCH_START,
53 CALL_REJECT_MATCH_END,
54 CALL_REJECT_MATCH_INCLUDE,
59 /** No call connected */
60 CALL_STATE_CALL_OFF = 0,
61 /** Voice call is connecting */
62 CALL_STATE_CALL_VOICE_CONNECTING,
63 /** Voice call is connected */
64 CALL_STATE_CALL_VOICE_ACTIVE,
65 /** Video call is connecting */
66 CALL_STATE_CALL_VIDEO_CONNECTING,
67 /** Video call is connecting */
68 CALL_STATE_CALL_VIDEO_ACTIVE,
74 //Settings UI contants
75 // Colors used in List views //
76 extern const unsigned int COLOR_GROUP_ITEM_BG;
77 extern const unsigned int COLOR_LIST_MENU_ITEM;
78 extern const unsigned int COLOR_SECONDDEPTH_ITEM_BG;
79 extern const unsigned int COLOR_HELP_ITEM_BG;
80 extern const unsigned int COLOR_NORMAL_MAIN_TXT;
81 extern const unsigned int COLOR_NORMAL_SUB_TXT;
82 extern const unsigned int COLOR_PRESS_SUB_TXT;
83 extern const unsigned int COLOR_PRESS_MAIN_TXT;
84 extern const unsigned int COLOR_HELP_TXT;
85 extern const unsigned int COLOR_LEFT_HEADER_EXPAND_ITEMS;
86 //Main List Option text
87 extern const unsigned int COLOR_MAIN_TXT;
89 extern const int FONT_SIZE_SUB_TXT;
91 extern const int FONT_SIZE_HELP_TXT;
92 extern const int W_HDR_FTR_ICON;
93 extern const int H_HDR_FTR_ICON;
94 //Processing Animation constants
95 extern const int IDI_ANIM_DURATION;
96 extern const int IDI_ANIM_PROGRESS_COUNT;
98 extern const unsigned int COLOR_NORMAL_ITEM_BG;
99 extern const unsigned int COLOR_PRESS_ITEM_BG;
100 extern const unsigned int COLOR_SELECTALL_ITEM_BG;
102 // Dimensions used in List views //
104 extern const int H_LIST_HIDDENGROUP_ITEM;
105 extern const int H_LIST_NORMAL_MENU_ITEM;
106 extern const int H_LIST_DROPDOWN_MENU_ITEM;
107 extern const int H_LIST_MENU_SINGLELINE_HLPTXT_ITEM;
109 extern const int H_LIST_NORMAL_TXT_ITEM;
110 extern const int H_LIST_SUB_TXT_ITEM;
111 //Two line text for Drop down menu item
112 extern const int H_LIST_DROPDOWN_TXT_ITEM;
114 extern const int X_LIST_MENU_TEXT_ITEM;
115 extern const int Y_LIST_MENU_TEXT_ITEM;
117 extern const int X_LIST_MENU_HLPTXT_ITEM;
118 extern const int Y_LIST_MENU_HLPTXT_ITEM;
119 //custom Item for Bg line
120 extern const int Y_CUSTOM_BG_ELEMENT;
121 //Position for delete list item
122 extern const int X_DEL_LIST_ELEMENT;
123 extern const int Y_DEL_LIST_ELEMENT;
125 // Dimensions for icons //
126 //Expand icon for DropDown Menu Items
127 extern const int W_EXPAND_ICON;
128 extern const int H_EXPAND_ICON;
129 extern const int W_SLIDER_ICON;
130 extern const int H_SLIDER_ICON;
131 //Dimensions for custom bg line
132 extern const int W_CUSTOM_BG_ELEMENT;
133 //Item Width for delete list
134 extern const int W_DELETE_LIST_ITEM;
135 //Width of Blue Header Rectangle for expandable group items
136 extern const int W_LEFT_HEADER_EXPAND_ITEMS;
141 #endif // _PHN_SETTINGS_CONSTANTS_H_