bb0c6d4a75d9d38d0e5d53e858e58b7710be975f
[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 //text item height
33 const int H_LIST_NORMAL_TXT_ITEM = 54;
34 const int H_LIST_SUB_TXT_ITEM = 38;
35 //Two line text for Drop down menu item
36 const int H_LIST_DROPDOWN_TXT_ITEM = 52;
37 //single line text
38 const int X_LIST_MENU_TEXT_ITEM = 26;
39 const int Y_LIST_MENU_TEXT_ITEM = 8;
40 //Help text
41 const int X_LIST_MENU_HLPTXT_ITEM = 26;
42 const int Y_LIST_MENU_HLPTXT_ITEM = 8;
43 //custom Item for Bg line
44 const int Y_CUSTOM_BG_ELEMENT = 0;
45 //Position for delete list item
46 const int X_DEL_LIST_ELEMENT = 16;
47 const int Y_DEL_LIST_ELEMENT = 0;
48
49 // Dimensions for icons //
50 //Expand icon for DropDown Menu Items
51 const int W_EXPAND_ICON = 64;
52 const int H_EXPAND_ICON = 64;
53 const int W_SLIDER_ICON = 150;
54 const int H_SLIDER_ICON = 64;
55 //Dimensions for custom bg line
56 const int W_CUSTOM_BG_ELEMENT = 1;
57 //Item Width for delete list
58 const int W_DELETE_LIST_ITEM = 628;
59 const int W_LEFT_HEADER_EXPAND_ITEMS = 8;
60
61 const int FONT_SIZE_SUB_TXT = 32;
62 //Help text
63 const int FONT_SIZE_HELP_TXT = 32;
64 //Header, Footer icon
65 const int W_HDR_FTR_ICON = 60;
66 const int H_HDR_FTR_ICON = 60;
67 //Processing Animation constants
68 const int IDI_ANIM_DURATION = 500;
69 const int IDI_ANIM_PROGRESS_COUNT = 30;
70
71
72 //Settings UI contants
73 //   Colors used in List views  //
74 const unsigned int COLOR_GROUP_ITEM_BG = Color32<249, 249, 249>::Value;
75 const unsigned int COLOR_LIST_MENU_ITEM = Color32<236, 240, 242>::Value;
76 const unsigned int COLOR_SECONDDEPTH_ITEM_BG = Color32<215, 225, 232>::Value;
77 const unsigned int COLOR_HELP_ITEM_BG = Color32<255, 255, 255, 0>::Value;
78 const unsigned int COLOR_NORMAL_MAIN_TXT = Color32<102, 102, 102>::Value;
79 const unsigned int COLOR_NORMAL_SUB_TXT = Color32<124, 124, 124>::Value;
80 const unsigned int COLOR_PRESS_SUB_TXT = Color32<42, 137, 194>::Value;
81 const unsigned int COLOR_PRESS_MAIN_TXT = Color32<249, 249, 249>::Value;
82 const unsigned int COLOR_HELP_TXT = Color32<124, 124, 124>::Value;
83 const unsigned int COLOR_LEFT_HEADER_EXPAND_ITEMS = Color32<108, 168, 199>::Value;
84 //Main List Option text
85 const unsigned int COLOR_MAIN_TXT = Color32<0, 0, 0>::Value;
86 const unsigned int COLOR_NORMAL_ITEM_BG = Color32<249, 249, 249>::Value;
87 const unsigned int COLOR_PRESS_ITEM_BG = Color32<42, 137, 194>::Value;
88 const unsigned int COLOR_SELECTALL_ITEM_BG = Color32<215, 225, 232>::Value;