sync with master
[apps/osp/Call.git] / src / CallSettingsConstants.cpp
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
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
7 //
8 //     http://floralicense.org/license/
9 //
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.
15 //
16
17 /**
18  * @file    CallSettingsConstants.cpp
19  * @brief   Call setting tone form
20  */
21 #include "CallSettingsConstants.h"
22
23 using namespace Tizen::Graphics;
24
25
26 // Dimensions used in List views //
27 // menu item height
28 const int H_LIST_HIDDENGROUP_ITEM = 1;
29 const int H_LIST_NORMAL_MENU_ITEM = 112;
30 const int H_LIST_DROPDOWN_MENU_ITEM = 128;
31 const int H_LIST_MENU_SINGLELINE_HLPTXT_ITEM = 102;
32 const int H_LIST_MENU_TWOLINE_HLPTXT_ITEM = 140;
33 //text item height
34 const int H_LIST_NORMAL_TXT_ITEM = 54;
35 const int H_LIST_SUB_TXT_ITEM = 38;
36 //Two line text for Drop down menu item
37 const int H_LIST_DROPDOWN_TXT_ITEM = 52;
38 //single line text
39 const int X_LIST_MENU_TEXT_ITEM = 26;
40 const int Y_LIST_MENU_TEXT_ITEM = 8;
41 //Help text
42 const int X_LIST_MENU_HLPTXT_ITEM = 26;
43 const int Y_LIST_MENU_HLPTXT_ITEM = 8;
44 //custom Item for Bg line
45 const int Y_CUSTOM_BG_ELEMENT = 0;
46 //Position for delete list item
47 const int X_DEL_LIST_ELEMENT = 16;
48 const int Y_DEL_LIST_ELEMENT = 0;
49
50 // Dimensions for icons //
51 //Expand icon for DropDown Menu Items
52 const int W_EXPAND_ICON = 64;
53 const int H_EXPAND_ICON = 64;
54 const int W_SLIDER_ICON = 150;
55 const int H_SLIDER_ICON = 64;
56 //contact icon for Add Rejected Number view
57 const int W_CONTACT_ICON = 128;
58 const int H_CONTACT_ICON = 128;
59 //Dimensions for custom bg line
60 const int W_CUSTOM_BG_ELEMENT = 1;
61 //Item Width for delete list
62 const int W_DELETE_LIST_ITEM = 628;
63 const int W_LEFT_HEADER_EXPAND_ITEMS = 8;
64
65 const int FONT_SIZE_MAIN_TXT = 44;
66 const int FONT_SIZE_SUB_TXT = 32;
67 //Help text
68 const int FONT_SIZE_HELP_TXT = 32;
69 //Header, Footer icon
70 const int W_HDR_FTR_ICON = 60;
71 const int H_HDR_FTR_ICON = 60;
72 //Processing Animation constants
73 const int IDI_ANIM_DURATION = 500;
74 const int IDI_ANIM_PROGRESS_COUNT = 30;
75
76
77 //Settings UI contants
78 //   Colors used in List views  //
79 const unsigned int COLOR_GROUP_ITEM_BG = Color32<249, 249, 249>::Value;
80 const unsigned int COLOR_LIST_MENU_ITEM = Color32<236, 240, 242>::Value;
81 const unsigned int COLOR_SECONDDEPTH_ITEM_BG = Color32<215, 225, 232>::Value;
82 const unsigned int COLOR_HELP_ITEM_BG = Color32<255, 255, 255, 0>::Value;
83 const unsigned int COLOR_NORMAL_MAIN_TXT = Color32<102, 102, 102>::Value;
84 const unsigned int COLOR_NORMAL_SUB_TXT = Color32<124, 124, 124>::Value;
85 const unsigned int COLOR_PRESS_SUB_TXT = Color32<42, 137, 194>::Value;
86 const unsigned int COLOR_PRESS_MAIN_TXT = Color32<249, 249, 249>::Value;
87 const unsigned int COLOR_HELP_TXT = Color32<124, 124, 124>::Value;
88 const unsigned int COLOR_LEFT_HEADER_EXPAND_ITEMS = Color32<108, 168, 199>::Value;
89 //Main List Option text
90 const unsigned int COLOR_MAIN_TXT = Color32<0, 0, 0>::Value;
91 const unsigned int COLOR_NORMAL_ITEM_BG = Color32<249, 249, 249>::Value;
92 const unsigned int COLOR_PRESS_ITEM_BG = Color32<42, 137, 194>::Value;
93 const unsigned int COLOR_SELECTALL_ITEM_BG = Color32<215, 225, 232>::Value;