modify license, permission and remove ^M char
[platform/framework/native/uifw.git] / src / ui / FUiUiConfiguration.cpp
1 //
2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0/
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an ”AS IS” BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17 /**
18  * @file                FUiUiConfiguration.cpp
19  * @brief               This is the implementation file for the UiConfiguration class.
20  */
21
22 #include <FBaseTypes.h>
23 #include <FBaseSysLog.h>
24 #include <FGrpColor.h>
25 #include <FUiUiConfiguration.h>
26 #include "FUi_ControlManager.h"
27 #include "FUi_ResourceConfigTypes.h"
28 #include "FUi_ResourceManager.h"
29
30 using namespace Tizen::Base;
31 using namespace Tizen::Graphics;
32 using namespace Tizen::Ui::_Resource;
33 namespace Tizen { namespace Ui {
34
35 const int ColorKey::Button::BG_NORMAL = _BUTTON::BG_NORMAL_COLOR;
36 const int ColorKey::Button::BG_DISABLED = _BUTTON::BG_DISABLED_COLOR;
37 const int ColorKey::Button::BG_PRESSED = _BUTTON::BG_PRESSED_COLOR;
38 const int ColorKey::Button::BG_HIGHLIGHTED = _BUTTON::BG_HIGHLIGHTED_COLOR;
39 const int ColorKey::Button::TEXT_NORMAL = _BUTTON::TEXT_NORMAL_COLOR;
40 const int ColorKey::Button::TEXT_DISABLED = _BUTTON::TEXT_DISABLED_COLOR;
41 const int ColorKey::Button::TEXT_PRESSED = _BUTTON::TEXT_PRESSED_COLOR;
42 const int ColorKey::Button::TEXT_HIGHLIGHTED = _BUTTON::TEXT_HIGHLIGHTED_COLOR;
43 const int ColorKey::CheckButton::BG_NORMAL = _CHECKBUTTON::BG_NORMAL_COLOR;
44 const int ColorKey::CheckButton::BG_DISABLED = _CHECKBUTTON::BG_DISABLED_COLOR;
45 const int ColorKey::CheckButton::BG_PRESSED = _CHECKBUTTON::BG_PRESSED_COLOR;
46 const int ColorKey::CheckButton::BG_HIGHLIGHTED = _CHECKBUTTON::BG_HIGHLIGHTED_COLOR;
47 const int ColorKey::CheckButton::BG_SELECTED = _CHECKBUTTON::BG_SELECTED_COLOR;
48 const int ColorKey::CheckButton::TEXT_NORMAL = _CHECKBUTTON::TEXT_NORMAL_COLOR;
49 const int ColorKey::CheckButton::TEXT_DISABLED = _CHECKBUTTON::TEXT_DISABLED_COLOR;
50 const int ColorKey::CheckButton::TEXT_PRESSED = _CHECKBUTTON::TEXT_PRESSED_COLOR;
51 const int ColorKey::CheckButton::TEXT_HIGHLIGHTED = _CHECKBUTTON::TEXT_HIGHLIGHTED_COLOR;
52 const int ColorKey::CheckButton::TEXT_SELECTED = _CHECKBUTTON::TEXT_SELECTED_COLOR;
53 const int ColorKey::CheckButton::TITLE_TEXT_NORMAL = _CHECKBUTTON::TITLE_TEXT_NORMAL_COLOR;
54 const int ColorKey::CheckButton::TITLE_TEXT_DISABLED = _CHECKBUTTON::TITLE_TEXT_DISABLED_COLOR;
55 const int ColorKey::CheckButton::TITLE_TEXT_PRESSED = _CHECKBUTTON::TITLE_TEXT_PRESSED_COLOR;
56 const int ColorKey::CheckButton::TITLE_TEXT_HIGHLIGHTED = _CHECKBUTTON::TITLE_TEXT_HIGHLIGHTED_COLOR;
57 const int ColorKey::CheckButton::TITLE_TEXT_SELECTED = _CHECKBUTTON::TITLE_TEXT_SELECTED_COLOR;
58 const int ColorKey::CheckButton::DETAILED_ICON_BG_NORMAL = _CHECKBUTTON::DETAILED_ICON_BG_NORMAL_COLOR;
59 const int ColorKey::CheckButton::DETAILED_ICON_BG_DISABLED = _CHECKBUTTON::DETAILED_ICON_BG_DISABLED_COLOR;
60 const int ColorKey::CheckButton::DETAILED_ICON_BG_PRESSED = _CHECKBUTTON::DETAILED_ICON_BG_PRESSED_COLOR;
61 const int ColorKey::CheckButton::DETAILED_ICON_BG_HIGHLIGHTED = _CHECKBUTTON::DETAILED_ICON_BG_HIGHLIGHTED_COLOR;
62 const int ColorKey::CheckButton::DETAILED_ICON_BG_SELECTED = _CHECKBUTTON::DETAILED_ICON_BG_SELECTED_COLOR;
63 const int ColorKey::CheckButton::DETAILED_ICON_TEXT_NORMAL = _CHECKBUTTON::DETAILED_ICON_TEXT_NORMAL_COLOR;
64 const int ColorKey::CheckButton::DETAILED_ICON_TEXT_DISABLED = _CHECKBUTTON::DETAILED_ICON_TEXT_DISABLED_COLOR;
65 const int ColorKey::CheckButton::DETAILED_ICON_TEXT_PRESSED = _CHECKBUTTON::DETAILED_ICON_TEXT_PRESSED_COLOR;
66 const int ColorKey::CheckButton::DETAILED_ICON_TEXT_HIGHLIGHTED = _CHECKBUTTON::DETAILED_ICON_TEXT_HIGHLIGHTED_COLOR;
67 const int ColorKey::CheckButton::DETAILED_ICON_TEXT_SELECTED = _CHECKBUTTON::DETAILED_ICON_TEXT_SELECTED_COLOR;
68 const int ColorKey::CheckButton::DIVIDER_LINE_LEFT_NORMAL = _CHECKBUTTON::DIVIDER_LINE_LEFT_NORMAL_COLOR;
69 const int ColorKey::CheckButton::DIVIDER_LINE_RIGHT_NORMAL = _CHECKBUTTON::DIVIDER_LINE_RIGHT_NORMAL_COLOR;
70 const int ColorKey::ColorPicker::DIVIDER_TOP_HALF =_COLORPICKER::DIVIDER_TOP_HALF_COLOR;
71 const int ColorKey::ColorPicker::DIVIDER_BOTTOM_HALF =_COLORPICKER::DIVIDER_BOTTOM_HALF_COLOR;
72 const int ColorKey::ColorPicker::ARROW_BUTTON_BG_NORMAL =_COLORPICKER::ARROW_BUTTON_BG_NORMAL_COLOR;
73 const int ColorKey::ColorPicker::ARROW_BUTTON_BG_PRESSED =_COLORPICKER::ARROW_BUTTON_BG_PRESSED_COLOR;
74 const int ColorKey::ColorPicker::ARROW_BUTTON_BG_DISABLED =_COLORPICKER::ARROW_BUTTON_BG_DISABLED_COLOR;
75 const int ColorKey::ColorPicker::ARROW_BUTTON_NORMAL =_COLORPICKER::ARROW_BUTTON_NORMAL_COLOR;
76 const int ColorKey::ColorPicker::ARROW_BUTTON_PRESSED =_COLORPICKER::ARROW_BUTTON_PRESSED_COLOR;
77 const int ColorKey::ColorPicker::ARROW_BUTTON_DISABLED =_COLORPICKER::ARROW_BUTTON_DISABLED_COLOR;
78 const int ColorKey::ContextMenu::BG_NORMAL = _CONTEXTMENU::BG_NORMAL_COLOR;
79 const int ColorKey::ContextMenu::LIST_ITEM_DIVIDER_01_NORMAL = _CONTEXTMENU::LIST_ITEM_DIVIDER_01_NORMAL_COLOR;
80 const int ColorKey::ContextMenu::LIST_ITEM_DIVIDER_02_NORMAL = _CONTEXTMENU::LIST_ITEM_DIVIDER_02_NORMAL_COLOR;
81 const int ColorKey::ContextMenu::ITEM_BG_NORMAL = _CONTEXTMENU::ITEM_BG_NORMAL_COLOR;
82 const int ColorKey::ContextMenu::ITEM_BG_PRESSED = _CONTEXTMENU::ITEM_BG_PRESSED_COLOR;
83 const int ColorKey::ContextMenu::ITEM_BG_HIGHLIGHTED = _CONTEXTMENU::ITEM_BG_HIGHLIGHTED_COLOR;
84 const int ColorKey::ContextMenu::GRID_ITEM_DIVIDER_01_NORMAL = _CONTEXTMENU::GRID_ITEM_DIVIDER_01_NORMAL_COLOR;
85 const int ColorKey::ContextMenu::GRID_ITEM_DIVIDER_02_NORMAL = _CONTEXTMENU::GRID_ITEM_DIVIDER_02_NORMAL_COLOR;
86 const int ColorKey::ContextMenu::ITEM_TEXT_NORMAL = _CONTEXTMENU::ITEM_TEXT_NORMAL_COLOR;
87 const int ColorKey::ContextMenu::ITEM_TEXT_PRESSED = _CONTEXTMENU::ITEM_TEXT_PRESSED_COLOR;
88 const int ColorKey::ContextMenu::ITEM_TEXT_HIGHLIGHTED = _CONTEXTMENU::ITEM_TEXT_HIGHLIGHTED_COLOR;
89 const int ColorKey::DateTimeBar::BG_NORMAL = _DATETIMEBAR::BG_NORMAL_COLOR;
90 const int ColorKey::DateTimeBar::TEXT_NORMAL = _DATETIMEBAR::TEXT_NORMAL_COLOR;
91 const int ColorKey::DateTimeBar::TEXT_PRESSED = _DATETIMEBAR::TEXT_PRESSED_COLOR;
92 const int ColorKey::DateTimePicker::BG_NORMAL = _DATETIMEPICKER::BG_NORMAL_COLOR;
93 const int ColorKey::DateTimePicker::AM_PM_BG_NORMAL = _DATETIMEPICKER::AMPM_BG_NORMAL_COLOR;
94 const int ColorKey::DateTimePicker::AM_PM_BG_PRESSED = _DATETIMEPICKER::AMPM_BG_PRESSED_COLOR;
95 const int ColorKey::DateTimePicker::AM_PM_BG_HIGHLIGHTED = _DATETIMEPICKER::AMPM_BG_HIGHLIGHTED_COLOR;
96 const int ColorKey::DateTimePicker::AM_PM_BG_DISABLED = _DATETIMEPICKER::AMPM_BG_DISABLED_COLOR;
97 const int ColorKey::DateTimePicker::TEXT_NORMAL = _DATETIMEPICKER::TEXT_NORMAL_COLOR;
98 const int ColorKey::DateTimePicker::TEXT_PRESSED = _DATETIMEPICKER::TEXT_PRESSED_COLOR;
99 const int ColorKey::DateTimePicker::TEXT_HIGHLIGHTED = _DATETIMEPICKER::TEXT_HIGHLIGHTED_COLOR;
100 const int ColorKey::DateTimePicker::TEXT_DISABLED = _DATETIMEPICKER::TEXT_DISABLED_COLOR;
101 const int ColorKey::DateTimePicker::AM_PM_TEXT_NORMAL = _DATETIMEPICKER::AMPM_TEXT_NORMAL_COLOR;
102 const int ColorKey::DateTimePicker::AM_PM_TEXT_PRESSED = _DATETIMEPICKER::AMPM_TEXT_PRESSED_COLOR;
103 const int ColorKey::DateTimePicker::AM_PM_TEXT_HIGHLIGHTED = _DATETIMEPICKER::AMPM_TEXT_HIGHLIGHTED_COLOR;
104 const int ColorKey::DateTimePicker::AM_PM_TEXT_DISABLED = _DATETIMEPICKER::AMPM_TEXT_DISABLED_COLOR;
105 const int ColorKey::DateTimePicker::DIVIDER_LEFT_HALF = _DATETIMEPICKER::DIVIDER_LEFT_HALF_COLOR;
106 const int ColorKey::DateTimePicker::DIVIDER_RIGHT_HALF = _DATETIMEPICKER::DIVIDER_RIGHT_HALF_COLOR;
107 const int ColorKey::DateTimePicker::CONTENT_BG_NORMAL = _DATETIMEPICKER::CONTENT_BG_NORMAL_COLOR;
108 const int ColorKey::DateTimePicker::CONTENT_BG_PRESSED = _DATETIMEPICKER::CONTENT_BG_PRESSED_COLOR;
109 const int ColorKey::DateTimePicker::CONTENT_BG_DISABLED = _DATETIMEPICKER::CONTENT_BG_DISABLED_COLOR;
110 const int ColorKey::DateTimePicker::CONTENT_BG_HIGHLIGHTED = _DATETIMEPICKER::CONTENT_BG_HIGHLIGHTED_COLOR;
111 const int ColorKey::Edit::BG_NORMAL = _EDIT::BG_NORMAL_COLOR;
112 const int ColorKey::Edit::BG_PRESSED = _EDIT::BG_PRESSED_COLOR;
113 const int ColorKey::Edit::BG_HIGHLIGHTED = _EDIT::BG_HIGHLIGHTED_COLOR;
114 const int ColorKey::Edit::BG_DISABLED = _EDIT::BG_DISABLED_COLOR;
115 const int ColorKey::Edit::TITLE_TEXT_NORMAL = _EDIT::TITLE_TEXT_NORMAL_COLOR;
116 const int ColorKey::Edit::TITLE_TEXT_PRESSED = _EDIT::TITLE_TEXT_PRESSED_COLOR;
117 const int ColorKey::Edit::TITLE_TEXT_HIGHLIGHTED = _EDIT::TITLE_TEXT_HIGHLIGHTED_COLOR;
118 const int ColorKey::Edit::TITLE_TEXT_DISABLED = _EDIT::TITLE_TEXT_DISABLED_COLOR;
119 const int ColorKey::Edit::TEXT_NORMAL = _EDIT::TEXT_NORMAL_COLOR;
120 const int ColorKey::Edit::TEXT_PRESSED = _EDIT::TEXT_PRESSED_COLOR;
121 const int ColorKey::Edit::TEXT_HIGHLIGHTED = _EDIT::TEXT_HIGHLIGHTED_COLOR;
122 const int ColorKey::Edit::TEXT_DISABLED = _EDIT::TEXT_DISABLED_COLOR;
123 const int ColorKey::Edit::GUIDE_TEXT_NORMAL = _EDIT::GUIDE_TEXT_NORMAL_COLOR;
124 const int ColorKey::Edit::CLEAR_ICON_NORMAL = _EDIT::CLEAR_ICON_NORMAL_COLOR;
125 const int ColorKey::Edit::CLEAR_ICON_PRESSED = _EDIT::CLEAR_ICON_PRESSED_COLOR;
126 const int ColorKey::Edit::CUT_LINK_TEXT_NORMAL = _EDIT::CUT_LINK_TEXT_NORMAL_COLOR;
127 const int ColorKey::Edit::CUT_LINK_BG_NORMAL = _EDIT::CUT_LINK_BG_NORMAL_COLOR;
128 const int ColorKey::Edit::CURSOR_NORMAL = _EDIT::CURSOR_NORMAL_COLOR;
129 const int ColorKey::EditDate::TEXT_NORMAL = _EDITDATE::TEXT_NORMAL_COLOR;
130 const int ColorKey::EditDate::TEXT_PRESSED = _EDITDATE::TEXT_PRESSED_COLOR;
131 const int ColorKey::EditDate::TEXT_DISABLED = _EDITDATE::TEXT_DISABLED_COLOR;
132 const int ColorKey::EditDate::TITLE_TEXT_NORMAL = _EDITDATE::TITLE_TEXT_NORMAL_COLOR;
133 const int ColorKey::EditDate::TITLE_TEXT_DISABLED = _EDITDATE::TITLE_TEXT_DISABLED_COLOR;
134 const int ColorKey::EditDate::DIVIDER_HALF_LEFT = _EDITDATE::DIVIDER_LEFT_HALF_COLOR;
135 const int ColorKey::EditDate::DIVIDER_HALF_RIGHT = _EDITDATE::DIVIDER_RIGHT_HALF_COLOR;
136 const int ColorKey::EditDate::CONTENT_BG_NORMAL = _EDITDATE::CONTENT_BG_NORMAL_COLOR;
137 const int ColorKey::EditDate::CONTENT_BG_PRESSED = _EDITDATE::CONTENT_BG_PRESSED_COLOR;
138 const int ColorKey::EditDate::CONTENT_BG_DISABLED = _EDITDATE::CONTENT_BG_DISABLED_COLOR;
139 const int ColorKey::EditDate::CONTENT_BG_HIGHLIGHTED = _EDITDATE::CONTENT_BG_HIGHLIGHTED_COLOR;
140
141 const int ColorKey::EditTime::BUTTON_BG_NORMAL = _EDITTIME::BUTTON_BG_NORMAL_COLOR;
142 const int ColorKey::EditTime::BUTTON_BG_PRESSED = _EDITTIME::BUTTON_BG_PRESSED_COLOR;
143 const int ColorKey::EditTime::BUTTON_BG_DISABLED = _EDITTIME::BUTTON_BG_DISABLED_COLOR;
144 const int ColorKey::EditTime::BUTTON_TEXT_NORMAL = _EDITTIME::BUTTON_TEXT_NORMAL_COLOR;
145 const int ColorKey::EditTime::BUTTON_TEXT_PRESSED = _EDITTIME::BUTTON_TEXT_PRESSED_COLOR;
146 const int ColorKey::EditTime::BUTTON_TEXT_DISABLED = _EDITTIME::BUTTON_TEXT_DISABLED_COLOR;
147 const int ColorKey::EditTime::TEXT_NORMAL = _EDITTIME::TEXT_NORMAL_COLOR;
148 const int ColorKey::EditTime::TEXT_PRESSED = _EDITTIME::TEXT_PRESSED_COLOR;
149 const int ColorKey::EditTime::TEXT_DISABLED = _EDITTIME::TEXT_DISABLED_COLOR;
150 const int ColorKey::EditTime::TITLE_TEXT_NORMAL = _EDITTIME::TITLE_TEXT_NORMAL_COLOR;
151 const int ColorKey::EditTime::TITLE_TEXT_DISABLED = _EDITTIME::TITLE_TEXT_DISABLED_COLOR;
152 const int ColorKey::EditTime::BUTTON_BG_HIGHLIGHTED = _EDITTIME::BUTTON_BG_HIGHLIGHTED_COLOR;
153 const int ColorKey::EditTime::CONTENT_BG_NORMAL = _EDITTIME::CONTENT_BG_NORMAL_COLOR;
154 const int ColorKey::EditTime::CONTENT_BG_PRESSED = _EDITTIME::CONTENT_BG_PRESSED_COLOR;
155 const int ColorKey::EditTime::CONTENT_BG_DISABLED = _EDITTIME::CONTENT_BG_DISABLED_COLOR;
156 const int ColorKey::EditTime::CONTENT_BG_HIGHLIGHTED = _EDITTIME::CONTENT_BG_HIGHLIGHTED_COLOR;
157 const int ColorKey::FastScroll::INDEX_BG_NORMAL = _FASTSCROLL::INDEX_BG_NORMAL_COLOR;
158 const int ColorKey::FastScroll::INDEX_BG_PRESSED = _FASTSCROLL::INDEX_BG_PRESSED_COLOR;
159 const int ColorKey::FastScroll::INDEX_LINE_PRESSED = _FASTSCROLL::INDEX_LINE_PRESSED_COLOR;
160 const int ColorKey::FastScroll::INDEX_TEXT_NORMAL = _FASTSCROLL::INDEX_TEXT_NORMAL_COLOR;
161 const int ColorKey::FastScroll::INDEX_TEXT_PRESSED = _FASTSCROLL::INDEX_TEXT_PRESSED_COLOR;
162 const int ColorKey::FastScroll::INDEX_DIVIDER_NORMAL = _FASTSCROLL::INDEX_DIVIDER_NORMAL_COLOR;
163 const int ColorKey::FastScroll::POPUP_BG_NORMAL = _FASTSCROLL::POPUP_BG_NORMAL_COLOR;
164 const int ColorKey::FastScroll::POPUP_TEXT_NORMAL = _FASTSCROLL::POPUP_TEXT_NORMAL_COLOR;
165 const int ColorKey::Footer::BG_NORMAL = _FOOTER::BG_NORMAL_COLOR;
166 const int ColorKey::Footer::TRANSLUCENT_BG_NORMAL = _FOOTER::TRANSLUCENT_BG_NORMAL_COLOR;
167 const int ColorKey::Footer::BUTTON_BG_NORMAL = _FOOTER::BUTTON_BG_NORMAL_COLOR;
168 const int ColorKey::Footer::BUTTON_BG_DISABLED = _FOOTER::BUTTON_BG_DISABLED_COLOR;
169 const int ColorKey::Footer::BUTTON_BG_PRESSED = _FOOTER::BUTTON_BG_PRESSED_COLOR;
170 const int ColorKey::Footer::BUTTON_BG_HIGHLIGHTED = _FOOTER::BUTTON_BG_HIGHLIGHTED_COLOR;
171 const int ColorKey::Footer::BUTTON_TRANSLUCENT_BG_NORMAL = _FOOTER::BUTTON_TRANSLUCENT_BG_NORMAL_COLOR;
172 const int ColorKey::Footer::BUTTON_TRANSLUCENT_BG_DISABLED = _FOOTER::BUTTON_TRANSLUCENT_BG_DISABLED_COLOR;
173 const int ColorKey::Footer::BUTTON_TRANSLUCENT_BG_PRESSED = _FOOTER::BUTTON_TRANSLUCENT_BG_PRESSED_COLOR;
174 const int ColorKey::Footer::BUTTON_TRANSLUCENT_BG_HIGHLIGHTED = _FOOTER::BUTTON_TRANSLUCENT_BG_HIGHLIGHTED_COLOR;
175 const int ColorKey::Footer::BUTTON_TEXT_NORMAL = _FOOTER::BUTTON_TEXT_NORMAL_COLOR;
176 const int ColorKey::Footer::BUTTON_TEXT_DISABLED = _FOOTER::BUTTON_TEXT_DISABLED_COLOR;
177 const int ColorKey::Footer::BUTTON_TEXT_PRESSED = _FOOTER::BUTTON_TEXT_PRESSED_COLOR;
178 const int ColorKey::Footer::BUTTON_TEXT_HIGHLIGHTED = _FOOTER::BUTTON_TEXT_HIGHLIGHTED_COLOR;
179 const int ColorKey::Footer::BUTTON_TRANSLUCENT_TEXT_NORMAL = _FOOTER::BUTTON_TRANSLUCENT_TEXT_NORMAL_COLOR;
180 const int ColorKey::Footer::BUTTON_TRANSLUCENT_TEXT_DISABLED = _FOOTER::BUTTON_TRANSLUCENT_TEXT_DISABLED_COLOR;
181 const int ColorKey::Footer::BUTTON_TRANSLUCENT_TEXT_PRESSED = _FOOTER::BUTTON_TRANSLUCENT_TEXT_PRESSED_COLOR;
182 const int ColorKey::Footer::BUTTON_TRANSLUCENT_TEXT_HIGHLIGHTED = _FOOTER::BUTTON_TRANSLUCENT_TEXT_HIGHLIGHTED_COLOR;
183 const int ColorKey::Footer::SEGMENTED_ITEM_BG_NORMAL = _FOOTER::SEGMENTED_ITEM_BG_NORMAL_COLOR;
184 const int ColorKey::Footer::SEGMENTED_ITEM_BG_DISABLED = _FOOTER::SEGMENTED_ITEM_BG_DISABLED_COLOR;
185 const int ColorKey::Footer::SEGMENTED_ITEM_BG_PRESSED = _FOOTER::SEGMENTED_ITEM_BG_PRESSED_COLOR;
186 const int ColorKey::Footer::SEGMENTED_ITEM_BG_HIGHLIGHTED = _FOOTER::SEGMENTED_ITEM_BG_HIGHLIGHTED_COLOR;
187 const int ColorKey::Footer::SEGMENTED_ITEM_BG_SELECTED = _FOOTER::SEGMENTED_ITEM_BG_SELECTED_COLOR;
188 const int ColorKey::Footer::SEGMENTED_ITEM_TRANSLUCENT_BG_NORMAL = _FOOTER::SEGMENTED_ITEM_TRANSLUCENT_BG_NORMAL_COLOR;
189 const int ColorKey::Footer::SEGMENTED_ITEM_TRANSLUCENT_BG_DISABLED = _FOOTER::SEGMENTED_ITEM_TRANSLUCENT_BG_DISABLED_COLOR;
190 const int ColorKey::Footer::SEGMENTED_ITEM_TRANSLUCENT_BG_PRESSED = _FOOTER::SEGMENTED_ITEM_TRANSLUCENT_BG_PRESSED_COLOR;
191 const int ColorKey::Footer::SEGMENTED_ITEM_TRANSLUCENT_BG_HIGHLIGHTED = _FOOTER::SEGMENTED_ITEM_TRANSLUCENT_BG_HIGHLIGHTED_COLOR;
192 const int ColorKey::Footer::SEGMENTED_ITEM_TRANSLUCENT_BG_SELECTED = _FOOTER::SEGMENTED_ITEM_TRANSLUCENT_BG_SELECTED_COLOR;
193 const int ColorKey::Footer::SEGMENTED_ITEM_TEXT_NORMAL = _FOOTER::SEGMENTED_ITEM_TEXT_NORMAL_COLOR;
194 const int ColorKey::Footer::SEGMENTED_ITEM_TEXT_DISABLED = _FOOTER::SEGMENTED_ITEM_TEXT_DISABLED_COLOR;
195 const int ColorKey::Footer::SEGMENTED_ITEM_TEXT_PRESSED = _FOOTER::SEGMENTED_ITEM_TEXT_PRESSED_COLOR;
196 const int ColorKey::Footer::SEGMENTED_ITEM_TEXT_HIGHLIGHTED = _FOOTER::SEGMENTED_ITEM_TEXT_HIGHLIGHTED_COLOR;
197 const int ColorKey::Footer::SEGMENTED_ITEM_TEXT_SELECTED = _FOOTER::SEGMENTED_ITEM_TEXT_SELECTED_COLOR;
198 const int ColorKey::Footer::SEGMENTED_ITEM_TRANSLUCENT_TEXT_NORMAL = _FOOTER::SEGMENTED_ITEM_TRANSLUCENT_TEXT_NORMAL_COLOR;
199 const int ColorKey::Footer::SEGMENTED_ITEM_TRANSLUCENT_TEXT_DISABLED = _FOOTER::SEGMENTED_ITEM_TRANSLUCENT_TEXT_DISABLED_COLOR;
200 const int ColorKey::Footer::SEGMENTED_ITEM_TRANSLUCENT_TEXT_PRESSED = _FOOTER::SEGMENTED_ITEM_TRANSLUCENT_TEXT_PRESSED_COLOR;
201 const int ColorKey::Footer::SEGMENTED_ITEM_TRANSLUCENT_TEXT_HIGHLIGHTED = _FOOTER::SEGMENTED_ITEM_TRANSLUCENT_TEXT_HIGHLIGHTED_COLOR;
202 const int ColorKey::Footer::SEGMENTED_ITEM_TRANSLUCENT_TEXT_SELECTED = _FOOTER::SEGMENTED_ITEM_TRANSLUCENT_TEXT_SELECTED_COLOR;
203 const int ColorKey::Footer::TAB_ITEM_BG_NORMAL = _FOOTER::TAB_ITEM_BG_NORMAL_COLOR;
204 const int ColorKey::Footer::TAB_ITEM_BG_DISABLED = _FOOTER::TAB_ITEM_BG_DISABLED_COLOR;
205 const int ColorKey::Footer::TAB_ITEM_BG_PRESSED = _FOOTER::TAB_ITEM_BG_PRESSED_COLOR;
206 const int ColorKey::Footer::TAB_ITEM_BG_HIGHLIGHTED = _FOOTER::TAB_ITEM_BG_HIGHLIGHTED_COLOR;
207 const int ColorKey::Footer::TAB_ITEM_BG_SELECTED = _FOOTER::TAB_ITEM_BG_SELECTED_COLOR;
208 const int ColorKey::Footer::TAB_ITEM_TRANSLUCENT_BG_NORMAL = _FOOTER::TAB_ITEM_TRANSLUCENT_BG_NORMAL_COLOR;
209 const int ColorKey::Footer::TAB_ITEM_TRANSLUCENT_BG_DISABLED = _FOOTER::TAB_ITEM_TRANSLUCENT_BG_DISABLED_COLOR;
210 const int ColorKey::Footer::TAB_ITEM_TRANSLUCENT_BG_PRESSED = _FOOTER::TAB_ITEM_TRANSLUCENT_BG_PRESSED_COLOR;
211 const int ColorKey::Footer::TAB_ITEM_TRANSLUCENT_BG_HIGHLIGHTED = _FOOTER::TAB_ITEM_TRANSLUCENT_BG_HIGHLIGHTED_COLOR;
212 const int ColorKey::Footer::TAB_ITEM_TRANSLUCENT_BG_SELECTED = _FOOTER::TAB_ITEM_TRANSLUCENT_BG_SELECTED_COLOR;
213 const int ColorKey::Footer::TAB_ITEM_TEXT_NORMAL = _FOOTER::TAB_ITEM_TEXT_NORMAL_COLOR;
214 const int ColorKey::Footer::TAB_ITEM_TEXT_DISABLED = _FOOTER::TAB_ITEM_TEXT_DISABLED_COLOR;
215 const int ColorKey::Footer::TAB_ITEM_TEXT_PRESSED = _FOOTER::TAB_ITEM_TEXT_PRESSED_COLOR;
216 const int ColorKey::Footer::TAB_ITEM_TEXT_HIGHLIGHTED = _FOOTER::TAB_ITEM_TEXT_HIGHLIGHTED_COLOR;
217 const int ColorKey::Footer::TAB_ITEM_TEXT_SELECTED = _FOOTER::TAB_ITEM_TEXT_SELECTED_COLOR;
218 const int ColorKey::Footer::TAB_ITEM_TRANSLUCENT_TEXT_NORMAL = _FOOTER::TAB_ITEM_TRANSLUCENT_TEXT_NORMAL_COLOR;
219 const int ColorKey::Footer::TAB_ITEM_TRANSLUCENT_TEXT_DISABLED = _FOOTER::TAB_ITEM_TRANSLUCENT_TEXT_DISABLED_COLOR;
220 const int ColorKey::Footer::TAB_ITEM_TRANSLUCENT_TEXT_PRESSED = _FOOTER::TAB_ITEM_TRANSLUCENT_TEXT_PRESSED_COLOR;
221 const int ColorKey::Footer::TAB_ITEM_TRANSLUCENT_TEXT_HIGHLIGHTED = _FOOTER::TAB_ITEM_TRANSLUCENT_TEXT_HIGHLIGHTED_COLOR;
222 const int ColorKey::Footer::TAB_ITEM_TRANSLUCENT_TEXT_SELECTED = _FOOTER::TAB_ITEM_TRANSLUCENT_TEXT_SELECTED_COLOR;
223 const int ColorKey::Footer::BUTTON_ITEM_BG_NORMAL = _FOOTER::BUTTON_ITEM_BG_NORMAL_COLOR;
224 const int ColorKey::Footer::BUTTON_ITEM_BG_DISABLED = _FOOTER::BUTTON_ITEM_BG_DISABLED_COLOR;
225 const int ColorKey::Footer::BUTTON_ITEM_BG_PRESSED = _FOOTER::BUTTON_ITEM_BG_PRESSED_COLOR;
226 const int ColorKey::Footer::BUTTON_ITEM_BG_HIGHLIGHTED = _FOOTER::BUTTON_ITEM_BG_HIGHLIGHTED_COLOR;
227 const int ColorKey::Footer::BUTTON_ITEM_TRANSLUCENT_BG_NORMAL = _FOOTER::BUTTON_ITEM_TRANSLUCENT_BG_NORMAL_COLOR;
228 const int ColorKey::Footer::BUTTON_ITEM_TRANSLUCENT_BG_DISABLED = _FOOTER::BUTTON_ITEM_TRANSLUCENT_BG_DISABLED_COLOR;
229 const int ColorKey::Footer::BUTTON_ITEM_TRANSLUCENT_BG_PRESSED = _FOOTER::BUTTON_ITEM_TRANSLUCENT_BG_PRESSED_COLOR;
230 const int ColorKey::Footer::BUTTON_ITEM_TRANSLUCENT_BG_HIGHLIGHTED = _FOOTER::BUTTON_ITEM_TRANSLUCENT_BG_HIGHLIGHTED_COLOR;
231 const int ColorKey::Footer::BUTTON_ITEM_TEXT_NORMAL = _FOOTER::BUTTON_ITEM_TEXT_NORMAL_COLOR;
232 const int ColorKey::Footer::BUTTON_ITEM_TEXT_DISABLED = _FOOTER::BUTTON_ITEM_TEXT_DISABLED_COLOR;
233 const int ColorKey::Footer::BUTTON_ITEM_TEXT_PRESSED = _FOOTER::BUTTON_ITEM_TEXT_PRESSED_COLOR;
234 const int ColorKey::Footer::BUTTON_ITEM_TEXT_HIGHLIGHTED = _FOOTER::BUTTON_ITEM_TEXT_HIGHLIGHTED_COLOR;
235 const int ColorKey::Footer::BUTTON_ITEM_TRANSLUCENT_TEXT_NORMAL = _FOOTER::BUTTON_ITEM_TRANSLUCENT_TEXT_NORMAL_COLOR;
236 const int ColorKey::Footer::BUTTON_ITEM_TRANSLUCENT_TEXT_DISABLED = _FOOTER::BUTTON_ITEM_TRANSLUCENT_TEXT_DISABLED_COLOR;
237 const int ColorKey::Footer::BUTTON_ITEM_TRANSLUCENT_TEXT_PRESSED = _FOOTER::BUTTON_ITEM_TRANSLUCENT_TEXT_PRESSED_COLOR;
238 const int ColorKey::Footer::BUTTON_ITEM_TRANSLUCENT_TEXT_HIGHLIGHTED = _FOOTER::BUTTON_ITEM_TRANSLUCENT_TEXT_HIGHLIGHTED_COLOR;
239 const int ColorKey::Footer::BACK_ICON_NORMAL = _FOOTER::BACK_ICON_NORMAL_COLOR;
240 const int ColorKey::Footer::BACK_ICON_DISABLED = _FOOTER::BACK_ICON_DISABLED_COLOR;
241 const int ColorKey::Footer::BACK_ICON_PRESSED = _FOOTER::BACK_ICON_PRESSED_COLOR;
242 const int ColorKey::Footer::BACK_ICON_HIGHLIGHTED = _FOOTER::BACK_ICON_HIGHLIGHTED_COLOR;
243 const int ColorKey::Footer::DIVIDER_LINE_LEFT_NORMAL = _FOOTER::DIVIDER_LINE_LEFT_NORMAL_COLOR;
244 const int ColorKey::Footer::DIVIDER_LINE_RIGHT_NORMAL = _FOOTER::DIVIDER_LINE_RIGHT_NORMAL_COLOR;
245 const int ColorKey::Footer::DIVIDER_LINE_LEFT_TRANSLUCENT_NORMAL = _FOOTER::DIVIDER_LINE_LEFT_TRANSLUCENT_NORMAL_COLOR;
246 const int ColorKey::Footer::DIVIDER_LINE_RIGHT_TRANSLUCENT_NORMAL = _FOOTER::DIVIDER_LINE_RIGHT_TRANSLUCENT_NORMAL_COLOR;
247 const int ColorKey::Form::BG_NORMAL = _FORM::BG_NORMAL_COLOR;
248 const int ColorKey::Gallery::EMPTY_TEXT_NORMAL = _GALLERY::EMPTY_TEXT_NORMAL_COLOR;
249 const int ColorKey::Header::BG_NORMAL = _HEADER::BG_NORMAL_COLOR;
250 const int ColorKey::Header::TRANSLUCENT_BG_NORMAL = _HEADER::TRANSLUCENT_BG_NORMAL_COLOR;
251 const int ColorKey::Header::TITLE_TEXT_NORMAL = _HEADER::TITLE_TEXT_NORMAL_COLOR;
252 const int ColorKey::Header::TRANSLUCENT_TITLE_TEXT_NORMAL = _HEADER::TRANSLUCENT_TITLE_TEXT_NORMAL_COLOR;
253 const int ColorKey::Header::DESCRIPTION_TEXT_NORMAL = _HEADER::DESCRIPTION_TEXT_NORMAL_COLOR;
254 const int ColorKey::Header::TRANSLUCENT_DESCRIPTION_TEXT_NORMAL = _HEADER::TRANSLUCENT_DESCRIPTION_TEXT_NORMAL_COLOR;
255 const int ColorKey::Header::BUTTON_BG_NORMAL = _HEADER::BUTTON_BG_NORMAL_COLOR;
256 const int ColorKey::Header::BUTTON_BG_DISABLED = _HEADER::BUTTON_BG_DISABLED_COLOR;
257 const int ColorKey::Header::BUTTON_BG_PRESSED = _HEADER::BUTTON_BG_PRESSED_COLOR;
258 const int ColorKey::Header::BUTTON_BG_HIGHLIGHTED = _HEADER::BUTTON_BG_HIGHLIGHTED_COLOR;
259 const int ColorKey::Header::BUTTON_TRANSLUCENT_BG_NORMAL = _HEADER::BUTTON_TRANSLUCENT_BG_NORMAL_COLOR;
260 const int ColorKey::Header::BUTTON_TRANSLUCENT_BG_DISABLED = _HEADER::BUTTON_TRANSLUCENT_BG_DISABLED_COLOR;
261 const int ColorKey::Header::BUTTON_TRANSLUCENT_BG_PRESSED = _HEADER::BUTTON_TRANSLUCENT_BG_PRESSED_COLOR;
262 const int ColorKey::Header::BUTTON_TRANSLUCENT_BG_HIGHLIGHTED = _HEADER::BUTTON_TRANSLUCENT_BG_HIGHLIGHTED_COLOR;
263 const int ColorKey::Header::BUTTON_TEXT_NORMAL = _HEADER::BUTTON_TEXT_NORMAL_COLOR;
264 const int ColorKey::Header::BUTTON_TEXT_DISABLED = _HEADER::BUTTON_TEXT_DISABLED_COLOR;
265 const int ColorKey::Header::BUTTON_TEXT_PRESSED = _HEADER::BUTTON_TEXT_PRESSED_COLOR;
266 const int ColorKey::Header::BUTTON_TEXT_HIGHLIGHTED = _HEADER::BUTTON_TEXT_HIGHLIGHTED_COLOR;
267 const int ColorKey::Header::BUTTON_TRANSLUCENT_TEXT_NORMAL = _HEADER::BUTTON_TRANSLUCENT_TEXT_NORMAL_COLOR;
268 const int ColorKey::Header::BUTTON_TRANSLUCENT_TEXT_DISABLED = _HEADER::BUTTON_TRANSLUCENT_TEXT_DISABLED_COLOR;
269 const int ColorKey::Header::BUTTON_TRANSLUCENT_TEXT_PRESSED = _HEADER::BUTTON_TRANSLUCENT_TEXT_PRESSED_COLOR;
270 const int ColorKey::Header::BUTTON_TRANSLUCENT_TEXT_HIGHLIGHTED = _HEADER::BUTTON_TRANSLUCENT_TEXT_HIGHLIGHTED_COLOR;
271 const int ColorKey::Header::SEGMENTED_ITEM_BG_NORMAL = _HEADER::SEGMENTED_ITEM_BG_NORMAL_COLOR;
272 const int ColorKey::Header::SEGMENTED_ITEM_BG_DISABLED = _HEADER::SEGMENTED_ITEM_BG_DISABLED_COLOR;
273 const int ColorKey::Header::SEGMENTED_ITEM_BG_PRESSED = _HEADER::SEGMENTED_ITEM_BG_PRESSED_COLOR;
274 const int ColorKey::Header::SEGMENTED_ITEM_BG_HIGHLIGHTED = _HEADER::SEGMENTED_ITEM_BG_HIGHLIGHTED_COLOR;
275 const int ColorKey::Header::SEGMENTED_ITEM_BG_SELECTED = _HEADER::SEGMENTED_ITEM_BG_SELECTED_COLOR;
276 const int ColorKey::Header::SEGMENTED_ITEM_TRANSLUCENT_BG_NORMAL = _HEADER::SEGMENTED_ITEM_TRANSLUCENT_BG_NORMAL_COLOR;
277 const int ColorKey::Header::SEGMENTED_ITEM_TRANSLUCENT_BG_DISABLED = _HEADER::SEGMENTED_ITEM_TRANSLUCENT_BG_DISABLED_COLOR;
278 const int ColorKey::Header::SEGMENTED_ITEM_TRANSLUCENT_BG_PRESSED = _HEADER::SEGMENTED_ITEM_TRANSLUCENT_BG_PRESSED_COLOR;
279 const int ColorKey::Header::SEGMENTED_ITEM_TRANSLUCENT_BG_HIGHLIGHTED = _HEADER::SEGMENTED_ITEM_TRANSLUCENT_BG_HIGHLIGHTED_COLOR;
280 const int ColorKey::Header::SEGMENTED_ITEM_TRANSLUCENT_BG_SELECTED = _HEADER::SEGMENTED_ITEM_TRANSLUCENT_BG_SELECTED_COLOR;
281 const int ColorKey::Header::SEGMENTED_ITEM_TEXT_NORMAL = _HEADER::SEGMENTED_ITEM_TEXT_NORMAL_COLOR;
282 const int ColorKey::Header::SEGMENTED_ITEM_TEXT_DISABLED = _HEADER::SEGMENTED_ITEM_TEXT_DISABLED_COLOR;
283 const int ColorKey::Header::SEGMENTED_ITEM_TEXT_PRESSED = _HEADER::SEGMENTED_ITEM_TEXT_PRESSED_COLOR;
284 const int ColorKey::Header::SEGMENTED_ITEM_TEXT_HIGHLIGHTED = _HEADER::SEGMENTED_ITEM_TEXT_HIGHLIGHTED_COLOR;
285 const int ColorKey::Header::SEGMENTED_ITEM_TEXT_SELECTED = _HEADER::SEGMENTED_ITEM_TEXT_SELECTED_COLOR;
286 const int ColorKey::Header::SEGMENTED_ITEM_TRANSLUCENT_TEXT_NORMAL = _HEADER::SEGMENTED_ITEM_TRANSLUCENT_TEXT_NORMAL_COLOR;
287 const int ColorKey::Header::SEGMENTED_ITEM_TRANSLUCENT_TEXT_DISABLED = _HEADER::SEGMENTED_ITEM_TRANSLUCENT_TEXT_DISABLED_COLOR;
288 const int ColorKey::Header::SEGMENTED_ITEM_TRANSLUCENT_TEXT_PRESSED = _HEADER::SEGMENTED_ITEM_TRANSLUCENT_TEXT_PRESSED_COLOR;
289 const int ColorKey::Header::SEGMENTED_ITEM_TRANSLUCENT_TEXT_HIGHLIGHTED = _HEADER::SEGMENTED_ITEM_TRANSLUCENT_TEXT_HIGHLIGHTED_COLOR;
290 const int ColorKey::Header::SEGMENTED_ITEM_TRANSLUCENT_TEXT_SELECTED = _HEADER::SEGMENTED_ITEM_TRANSLUCENT_TEXT_SELECTED_COLOR;
291 const int ColorKey::Header::TAB_ITEM_BG_NORMAL = _HEADER::TAB_ITEM_BG_NORMAL_COLOR;
292 const int ColorKey::Header::TAB_ITEM_BG_DISABLED = _HEADER::TAB_ITEM_BG_DISABLED_COLOR;
293 const int ColorKey::Header::TAB_ITEM_BG_PRESSED = _HEADER::TAB_ITEM_BG_PRESSED_COLOR;
294 const int ColorKey::Header::TAB_ITEM_BG_HIGHLIGHTED = _HEADER::TAB_ITEM_BG_HIGHLIGHTED_COLOR;
295 const int ColorKey::Header::TAB_ITEM_BG_SELECTED = _HEADER::TAB_ITEM_BG_SELECTED_COLOR;
296 const int ColorKey::Header::TAB_ITEM_TRANSLUCENT_BG_NORMAL = _HEADER::TAB_ITEM_TRANSLUCENT_BG_NORMAL_COLOR;
297 const int ColorKey::Header::TAB_ITEM_TRANSLUCENT_BG_DISABLED = _HEADER::TAB_ITEM_TRANSLUCENT_BG_DISABLED_COLOR;
298 const int ColorKey::Header::TAB_ITEM_TRANSLUCENT_BG_PRESSED = _HEADER::TAB_ITEM_TRANSLUCENT_BG_PRESSED_COLOR;
299 const int ColorKey::Header::TAB_ITEM_TRANSLUCENT_BG_HIGHLIGHTED = _HEADER::TAB_ITEM_TRANSLUCENT_BG_HIGHLIGHTED_COLOR;
300 const int ColorKey::Header::TAB_ITEM_TRANSLUCENT_BG_SELECTED = _HEADER::TAB_ITEM_TRANSLUCENT_BG_SELECTED_COLOR;
301 const int ColorKey::Header::TAB_ITEM_TEXT_NORMAL = _HEADER::TAB_ITEM_TEXT_NORMAL_COLOR;
302 const int ColorKey::Header::TAB_ITEM_TEXT_DISABLED = _HEADER::TAB_ITEM_TEXT_DISABLED_COLOR;
303 const int ColorKey::Header::TAB_ITEM_TEXT_PRESSED = _HEADER::TAB_ITEM_TEXT_PRESSED_COLOR;
304 const int ColorKey::Header::TAB_ITEM_TEXT_HIGHLIGHTED = _HEADER::TAB_ITEM_TEXT_HIGHLIGHTED_COLOR;
305 const int ColorKey::Header::TAB_ITEM_TEXT_SELECTED = _HEADER::TAB_ITEM_TEXT_SELECTED_COLOR;
306 const int ColorKey::Header::TAB_ITEM_TRANSLUCENT_TEXT_NORMAL = _HEADER::TAB_ITEM_TRANSLUCENT_TEXT_NORMAL_COLOR;
307 const int ColorKey::Header::TAB_ITEM_TRANSLUCENT_TEXT_DISABLED = _HEADER::TAB_ITEM_TRANSLUCENT_TEXT_DISABLED_COLOR;
308 const int ColorKey::Header::TAB_ITEM_TRANSLUCENT_TEXT_PRESSED = _HEADER::TAB_ITEM_TRANSLUCENT_TEXT_PRESSED_COLOR;
309 const int ColorKey::Header::TAB_ITEM_TRANSLUCENT_TEXT_HIGHLIGHTED = _HEADER::TAB_ITEM_TRANSLUCENT_TEXT_HIGHLIGHTED_COLOR;
310 const int ColorKey::Header::TAB_ITEM_TRANSLUCENT_TEXT_SELECTED = _HEADER::TAB_ITEM_TRANSLUCENT_TEXT_SELECTED_COLOR;
311 const int ColorKey::Header::BADGE_ICON_BG_NORMAL = _HEADER::BADGE_ICON_BG_NORMAL_COLOR;
312 const int ColorKey::Header::BADGE_ICON_TEXT_NORMAL = _HEADER::BADGE_ICON_TEXT_NORMAL_COLOR;
313 const int ColorKey::Header::DIVIDER_LINE_LEFT_NORMAL = _HEADER::DIVIDER_LINE_LEFT_NORMAL_COLOR;
314 const int ColorKey::Header::DIVIDER_LINE_RIGHT_NORMAL = _HEADER::DIVIDER_LINE_RIGHT_NORMAL_COLOR;
315 const int ColorKey::Header::DIVIDER_LINE_LEFT_TRANSLUCENT_NORMAL = _HEADER::DIVIDER_LINE_LEFT_TRANSLUCENT_NORMAL_COLOR;
316 const int ColorKey::Header::DIVIDER_LINE_RIGHT_TRANSLUCENT_NORMAL = _HEADER::DIVIDER_LINE_RIGHT_TRANSLUCENT_NORMAL_COLOR;
317 const int ColorKey::Header::BUTTON_ITEM_BG_NORMAL = _HEADER::BUTTON_ITEM_BG_NORMAL_COLOR;
318 const int ColorKey::Header::BUTTON_ITEM_BG_DISABLED = _HEADER::BUTTON_ITEM_BG_DISABLED_COLOR;
319 const int ColorKey::Header::BUTTON_ITEM_BG_PRESSED = _HEADER::BUTTON_ITEM_BG_PRESSED_COLOR;
320 const int ColorKey::Header::BUTTON_ITEM_BG_HIGHLIGHTED = _HEADER::BUTTON_ITEM_BG_HIGHLIGHTED_COLOR;
321 const int ColorKey::Header::BUTTON_ITEM_TRANSLUCENT_BG_NORMAL = _HEADER::BUTTON_ITEM_TRANSLUCENT_BG_NORMAL_COLOR;
322 const int ColorKey::Header::BUTTON_ITEM_TRANSLUCENT_BG_DISABLED = _HEADER::BUTTON_ITEM_TRANSLUCENT_BG_DISABLED_COLOR;
323 const int ColorKey::Header::BUTTON_ITEM_TRANSLUCENT_BG_PRESSED = _HEADER::BUTTON_ITEM_TRANSLUCENT_BG_PRESSED_COLOR;
324 const int ColorKey::Header::BUTTON_ITEM_TRANSLUCENT_BG_HIGHLIGHTED = _HEADER::BUTTON_ITEM_TRANSLUCENT_BG_HIGHLIGHTED_COLOR;
325 const int ColorKey::Header::BUTTON_ITEM_TEXT_NORMAL = _HEADER::BUTTON_ITEM_TEXT_NORMAL_COLOR;
326 const int ColorKey::Header::BUTTON_ITEM_TEXT_DISABLED = _HEADER::BUTTON_ITEM_TEXT_DISABLED_COLOR;
327 const int ColorKey::Header::BUTTON_ITEM_TEXT_PRESSED = _HEADER::BUTTON_ITEM_TEXT_PRESSED_COLOR;
328 const int ColorKey::Header::BUTTON_ITEM_TEXT_HIGHLIGHTED = _HEADER::BUTTON_ITEM_TEXT_HIGHLIGHTED_COLOR;
329 const int ColorKey::Header::BUTTON_ITEM_TRANSLUCENT_TEXT_NORMAL = _HEADER::BUTTON_ITEM_TRANSLUCENT_TEXT_NORMAL_COLOR;
330 const int ColorKey::Header::BUTTON_ITEM_TRANSLUCENT_TEXT_DISABLED = _HEADER::BUTTON_ITEM_TRANSLUCENT_TEXT_DISABLED_COLOR;
331 const int ColorKey::Header::BUTTON_ITEM_TRANSLUCENT_TEXT_PRESSED = _HEADER::BUTTON_ITEM_TRANSLUCENT_TEXT_PRESSED_COLOR;
332 const int ColorKey::Header::BUTTON_ITEM_TRANSLUCENT_TEXT_HIGHLIGHTED = _HEADER::BUTTON_ITEM_TRANSLUCENT_TEXT_HIGHLIGHTED_COLOR;
333 const int ColorKey::IconList::EMPTY_TEXT_NORMAL = _ICONLIST::EMPTY_TEXT_NORMAL_COLOR;
334 const int ColorKey::IconList::TEXT_NORMAL = _ICONLIST::TEXT_NORMAL_COLOR;
335 const int ColorKey::IconList::TEXT_PRESSED = _ICONLIST::TEXT_PRESSED_COLOR;
336 const int ColorKey::IconList::TEXT_HIGHLIGHTED = _ICONLIST::TEXT_HIGHLIGHTED_COLOR;
337 const int ColorKey::IconList::INNER_TEXT_NORMAL = _ICONLIST::INNER_TEXT_NORMAL_COLOR;
338 const int ColorKey::IconList::INNER_TEXT_PRESSED = _ICONLIST::INNER_TEXT_PRESSED_COLOR;
339 const int ColorKey::IconList::INNER_TEXT_HIGHLIGHTED = _ICONLIST::INNER_TEXT_HIGHLIGHTED_COLOR;
340 const int ColorKey::IconList::INNER_TEXT_BG_NORMAL = _ICONLIST::INNER_TEXT_BG_NORMAL_COLOR;
341 const int ColorKey::IconList::ITEM_BG_PRESSED = _ICONLIST::ITEM_BG_PRESSED_COLOR;
342 const int ColorKey::IconList::ITEM_BORDER_NORMAL = _ICONLIST::ITEM_BORDER_NORMAL_COLOR;
343 const int ColorKey::IconList::ITEM_BORDER_PRESSED = _ICONLIST::ITEM_BORDER_PRESSED_COLOR;
344 const int ColorKey::IconList::ITEM_BORDER_HIGHLIGHTED = _ICONLIST::ITEM_BORDER_HIGHLIGHTED_COLOR;
345 const int ColorKey::InputPad::TEXT_NORMAL = _INPUTPAD::TEXT_NORMAL_COLOR;
346 const int ColorKey::InputPad::TEXT_PRESSED = _INPUTPAD::TEXT_PRESSED_COLOR;
347 const int ColorKey::InputPad::TEXT_HIGHLIGHTED = _INPUTPAD::TEXT_NORMAL_COLOR;
348 const int ColorKey::InputPad::TEXT_DISABLED = _INPUTPAD::TEXT_NORMAL_COLOR;
349 const int ColorKey::InputPad::GUIDE_TEXT_NORMAL = _INPUTPAD::GUIDE_TEXT_NORMAL_COLOR;
350 const int ColorKey::InputPad::BUTTON_BG_NORMAL = _INPUTPAD::BUTTON_BG_NORMAL_COLOR;
351 const int ColorKey::InputPad::BUTTON_BG_PRESSED = _INPUTPAD::BUTTON_BG_PRESSED_COLOR;
352 const int ColorKey::InputPad::BUTTON_BG_HIGHLIGHTED = _INPUTPAD::BUTTON_BG_NORMAL_COLOR;
353 const int ColorKey::InputPad::BUTTON_BG_DISABLED = _INPUTPAD::BUTTON_BG_NORMAL_COLOR;
354 const int ColorKey::Label::TEXT_NORMAL = _LABEL::TEXT_NORMAL_COLOR;
355 const int ColorKey::MessageBox::BG_NORMAL = _MESSAGEBOX::BG_NORMAL_COLOR;
356 const int ColorKey::MessageBox::TITLE_TEXT_NORMAL = _MESSAGEBOX::TITLE_TEXT_NORMAL_COLOR;
357 const int ColorKey::MessageBox::TEXT_NORMAL = _MESSAGEBOX::TEXT_NORMAL_COLOR;
358 const int ColorKey::Panel::GROUPED_STYLE_BG_NORMAL = _PANEL::GROUPED_STYLE_BG_NORMAL_COLOR;
359 const int ColorKey::Popup::BG_NORMAL = _POPUP::BG_NORMAL_COLOR;
360 const int ColorKey::Popup::TITLE_TEXT_NORMAL = _POPUP::TITLE_TEXT_NORMAL_COLOR;
361 const int ColorKey::Progress::BAR_BG_NORMAL = _PROGRESS::BAR_BG_NORMAL_COLOR;
362 const int ColorKey::Progress::BAR_NORMAL = _PROGRESS::BAR_NORMAL_COLOR;
363 const int ColorKey::Scroll::THUMB_BG_NORMAL = _SCROLL::THUMB_BG_NORMAL_COLOR;
364 const int ColorKey::Scroll::JUMP_TO_TOP_NORMAL = _SCROLL::JUMP_TO_TOP_NORMAL_COLOR;
365 const int ColorKey::Scroll::JUMP_TO_TOP_PRESSED = _SCROLL::JUMP_TO_TOP_PRESSED_COLOR;
366 const int ColorKey::Scroll::BUTTON_BG_NORMAL = _SCROLL::BUTTON_BG_NORMAL_COLOR;
367 const int ColorKey::Scroll::BUTTON_BG_PRESSED = _SCROLL::BUTTON_BG_PRESSED_COLOR;
368 const int ColorKey::SearchBar::BUTTON_BG_NORMAL = _SEARCHBAR::BUTTON_BG_NORMAL_COLOR;
369 const int ColorKey::SearchBar::BUTTON_BG_PRESSED = _SEARCHBAR::BUTTON_BG_PRESSED_COLOR;
370 const int ColorKey::SearchBar::BUTTON_BG_DISABLED = _SEARCHBAR::BUTTON_BG_DISABLED_COLOR;
371 const int ColorKey::SearchBar::BUTTON_BG_HIGHLIGHTED = _SEARCHBAR::BUTTON_BG_HIGHLIGHTED_COLOR;
372 const int ColorKey::SearchBar::BUTTON_TEXT_NORMAL = _SEARCHBAR::BUTTON_TEXT_NORMAL_COLOR;
373 const int ColorKey::SearchBar::BUTTON_TEXT_PRESSED = _SEARCHBAR::BUTTON_TEXT_PRESSED_COLOR;
374 const int ColorKey::SearchBar::BUTTON_TEXT_DISABLED = _SEARCHBAR::BUTTON_TEXT_DISABLED_COLOR;
375 const int ColorKey::SearchBar::BUTTON_TEXT_HIGHLIGHTED = _SEARCHBAR::BUTTON_TEXT_HIGHLIGHTED_COLOR;
376 const int ColorKey::SearchBar::EDIT_BG_NORMAL = _SEARCHBAR::EDIT_BG_NORMAL_COLOR;
377 const int ColorKey::SearchBar::EDIT_BG_DISABLED = _SEARCHBAR::EDIT_BG_DISABLED_COLOR;
378 const int ColorKey::SearchBar::EDIT_TEXT_NORMAL = _SEARCHBAR::EDIT_TEXT_NORMAL_COLOR;
379 const int ColorKey::SearchBar::EDIT_TEXT_DISABLED = _SEARCHBAR::EDIT_TEXT_DISABLED_COLOR;
380 const int ColorKey::SearchBar::EDIT_TEXT_HIGHLIGHTED = _SEARCHBAR::EDIT_TEXT_HIGHLIGHTED_COLOR;
381 const int ColorKey::SearchBar::ICON_BG_NORMAL = _SEARCHBAR::ICON_BG_NORMAL_COLOR;
382 const int ColorKey::SearchBar::ICON_BG_DISABLED = _SEARCHBAR::ICON_BG_DISABLED_COLOR;
383 const int ColorKey::SearchBar::CONTENT_AREA_BG_NORMAL = _SEARCHBAR::CONTENT_AREA_BG_NORMAL_COLOR;
384 const int ColorKey::Slider::BG_OTHERS_NORMAL = _SLIDER::BG_OTHERS_NORMAL_COLOR;
385 const int ColorKey::Slider::BG_DEFAULT_NORMAL = _SLIDER::BG_DEFAULT_NORMAL_COLOR;
386 const int ColorKey::Slider::BAR_BG_NORMAL = _SLIDER::BAR_BG_NORMAL_COLOR;
387 const int ColorKey::Slider::BAR_NORMAL = _SLIDER::BAR_NORMAL_COLOR;
388 const int ColorKey::Slider::HANDLE_BG_NORMAL = _SLIDER::HANDLE_BG_NORMAL_COLOR;
389 const int ColorKey::Slider::HANDLE_BG_PRESSED = _SLIDER::HANDLE_BG_PRESSED_COLOR;
390 const int ColorKey::Slider::HANDLE_BG_DISABLED = _SLIDER::HANDLE_BG_DISABLED_COLOR;
391 const int ColorKey::Slider::HANDLE_BG_HIGHLIGHTED = _SLIDER::HANDLE_BG_HIGHLIGHTED_COLOR;
392 const int ColorKey::Slider::HANDLE_NUMBER_TEXT_NORMAL = _SLIDER::HANDLE_NUMBER_TEXT_NORMAL_COLOR;
393 const int ColorKey::Slider::HANDLE_NUMBER_TEXT_DISABLED = _SLIDER::HANDLE_NUMBER_TEXT_DISABLED_COLOR;
394 const int ColorKey::Slider::TITLE_TEXT_NORMAL = _SLIDER::TITLE_TEXT_NORMAL_COLOR;
395 const int ColorKey::Slider::OVERLAY_BG_NORMAL = _SLIDER::OVERLAY_BG_NORMAL_COLOR;
396 const int ColorKey::Slider::OVERLAY_TEXT_NORMAL = _SLIDER::OVERLAY_TEXT_NORMAL_COLOR;
397 const int ColorKey::SplitPanel::DIVIDER_BG_NORMAL = _SPLITPANEL::DIVIDER_BG_NORMAL_COLOR;
398 const int ColorKey::SplitPanel::DIVIDER_BG_PRESSED = _SPLITPANEL::DIVIDER_BG_PRESSED_COLOR;
399 const int ColorKey::TabBar::BG_NORMAL = _TABBAR::BG_NORMAL_COLOR;
400 const int ColorKey::TabBar::ITEM_BG_NORMAL = _TABBAR::ITEM_BG_NORMAL_COLOR;
401 const int ColorKey::TabBar::ITEM_BG_PRESSED = _TABBAR::ITEM_BG_PRESSED_COLOR;
402 const int ColorKey::TabBar::ITEM_BG_SELECTED = _TABBAR::ITEM_BG_SELECTED_COLOR;
403 const int ColorKey::TabBar::ITEM_TEXT_NORMAL = _TABBAR::ITEM_TEXT_NORMAL_COLOR;
404 const int ColorKey::TabBar::ITEM_TEXT_PRESSED = _TABBAR::ITEM_TEXT_PRESSED_COLOR;
405 const int ColorKey::TabBar::ITEM_TEXT_SELECTED = _TABBAR::ITEM_TEXT_SELECTED_COLOR;
406 const int ColorKey::TabBar::ARROW_BG_NORMAL = _TABBAR::ARROW_BG_NORMAL_COLOR;
407 const int ColorKey::Tab::ITEM_BG_NORMAL = _TAB::ITEM_BG_NORMAL_COLOR;
408 const int ColorKey::Tab::ITEM_BG_PRESSED = _TAB::ITEM_BG_PRESSED_COLOR;
409 const int ColorKey::Tab::ITEM_BG_SELECTED = _TAB::ITEM_BG_SELECTED_COLOR;
410 const int ColorKey::Tab::ITEM_BG_HIGHLIGHTED = _TAB::ITEM_BG_HIGHLIGHTED_COLOR;
411 const int ColorKey::Tab::ITEM_BG_DISABLED = _TAB::ITEM_BG_DISABLED_COLOR;
412 const int ColorKey::Tab::ITEM_TEXT_NORMAL = _TAB::ITEM_TEXT_NORMAL_COLOR;
413 const int ColorKey::Tab::ITEM_TEXT_PRESSED = _TAB::ITEM_TEXT_PRESSED_COLOR;
414 const int ColorKey::Tab::ITEM_TEXT_SELECTED = _TAB::ITEM_TEXT_SELECTED_COLOR;
415 const int ColorKey::Tab::ITEM_TEXT_HIGHLIGHTED = _TAB::ITEM_TEXT_HIGHLIGHTED_COLOR;
416 const int ColorKey::Tab::ITEM_TEXT_DISABLED = _TAB::ITEM_TEXT_DISABLED_COLOR;
417 const int ColorKey::TableView::BG_NORMAL = _TABLEVIEW::BG_NORMAL_COLOR;
418 const int ColorKey::TableView::ITEM_DIVIDER_TOP_BG_NORMAL = _TABLEVIEW::ITEM_DIVIDER_TOP_BG_NORMAL_COLOR;
419 const int ColorKey::TableView::ITEM_DIVIDER_BOTTOM_BG_NORMAL = _TABLEVIEW::ITEM_DIVIDER_BOTTOM_BG_NORMAL_COLOR;
420 const int ColorKey::TableView::ITEM_BG_NORMAL = _TABLEVIEW::ITEM_BG_NORMAL_COLOR;
421 const int ColorKey::TableView::ITEM_BG_PRESSED = _TABLEVIEW::ITEM_BG_PRESSED_COLOR;
422 const int ColorKey::TableView::ITEM_BG_HIGHLIGHTED = _TABLEVIEW::ITEM_BG_HIGHLIGHTED_COLOR;
423 const int ColorKey::TableView::ITEM_BG_DISABLED = _TABLEVIEW::ITEM_BG_DISABLED_COLOR;
424 const int ColorKey::TableView::ITEM_TEXT_NORMAL = _TABLEVIEW::ITEM_TEXT_NORMAL_COLOR;
425 const int ColorKey::TableView::ITEM_TEXT_PRESSED = _TABLEVIEW::ITEM_TEXT_PRESSED_COLOR;
426 const int ColorKey::TableView::ITEM_TEXT_HIGHLIGHTED = _TABLEVIEW::ITEM_TEXT_HIGHLIGHTED_COLOR;
427 const int ColorKey::TableView::ITEM_TEXT_DISABLED = _TABLEVIEW::ITEM_TEXT_DISABLED_COLOR;
428 const int ColorKey::TableView::ITEM_DESCRIPTION_TEXT_NORMAL = _TABLEVIEW::ITEM_DESCRIPTION_TEXT_NORMAL_COLOR;
429 const int ColorKey::TableView::ITEM_ANNEX_DETAIL_NORMAL = _TABLEVIEW::ITEM_ANNEX_DETAIL_NORMAL_COLOR;
430 const int ColorKey::TableView::ITEM_ANNEX_DETAIL_PRESSED = _TABLEVIEW::ITEM_ANNEX_DETAIL_PRESSED_COLOR;
431 const int ColorKey::TableView::ITEM_ANNEX_DETAIL_HIGHLIGHTED = _TABLEVIEW::ITEM_ANNEX_DETAIL_HIGHLIGHTED_COLOR;
432 const int ColorKey::TableView::ITEM_ANNEX_DETAIL_BG_NORMAL = _TABLEVIEW::ITEM_ANNEX_DETAIL_BG_NORMAL_COLOR;
433 const int ColorKey::TableView::ITEM_ANNEX_DETAIL_BG_PRESSED = _TABLEVIEW::ITEM_ANNEX_DETAIL_BG_PRESSED_COLOR;
434 const int ColorKey::TableView::ITEM_ANNEX_DETAIL_BG_HIGHLIGHTED = _TABLEVIEW::ITEM_ANNEX_DETAIL_BG_HIGHLIGHTED_COLOR;
435 const int ColorKey::TableView::GROUP_ITEM_BG_NORMAL = _TABLEVIEW::GROUPITEM_BG_NORMAL_COLOR;
436 const int ColorKey::TableView::GROUP_ITEM_TEXT_NORMAL = _TABLEVIEW::GROUPITEM_TEXT_NORMAL_COLOR;
437 const int ColorKey::TableView::GROUP_ITEM_TEXT_PRESSED = _TABLEVIEW::GROUPITEM_TEXT_PRESSED_COLOR;
438 const int ColorKey::TableView::GROUP_ITEM_TEXT_HIGHLIGHTED = _TABLEVIEW::GROUPITEM_TEXT_HIGHLIGHTED_COLOR;
439 const int ColorKey::TableView::GROUP_ITEM_INDEX_BAR_NORMAL = _TABLEVIEW::GROUPITEM_INDEX_BAR_NORMAL_COLOR;
440 const int ColorKey::TableView::GROUP_ITEM_INDEX_BAR_PRESSED = _TABLEVIEW::GROUPITEM_INDEX_BAR_PRESSED_COLOR;
441 const int ColorKey::TableView::GROUP_ITEM_INDEX_BAR_HIGHLIGHTED = _TABLEVIEW::GROUPITEM_INDEX_BAR_HIGHLIGHTED_COLOR;
442 const int ColorKey::TableView::GROUP_ITEM_BAR_NORMAL = _TABLEVIEW::GROUPITEM_BAR_NORMAL_COLOR;
443 const int ColorKey::TableView::GROUP_ITEM_BAR_PRESSED = _TABLEVIEW::GROUPITEM_BAR_PRESSED_COLOR;
444 const int ColorKey::TableView::GROUP_ITEM_BAR_HIGHLIGHTED = _TABLEVIEW::GROUPITEM_BAR_HIGHLIGHTED_COLOR;
445 const int ColorKey::TableView::SECTION_ITEM_BG_NORMAL = _TABLEVIEW::SECTIONITEM_BG_NORMAL_COLOR;
446 const int ColorKey::TableView::CONTEXT_ITEM_BG_NORMAL = _TABLEVIEW::CONTEXTITEM_BG_NORMAL_COLOR;
447 const int ColorKey::TableView::EMPTY_TEXT_NORMAL = _TABLEVIEW::EMPTY_CONTENTS_TEXT_NORMAL_COLOR;
448 const int ColorKey::TokenEdit::BG_NORMAL = _TOKENEDIT::BG_NORMAL_COLOR;
449 const int ColorKey::TokenEdit::BG_SELECTED = _TOKENEDIT::BG_SELECTED_COLOR;
450 const int ColorKey::TokenEdit::TEXT_NORMAL = _TOKENEDIT::TEXT_NORMAL_COLOR;
451 const int ColorKey::TokenEdit::TEXT_SELECTED = _TOKENEDIT::TEXT_SELECTED_COLOR;
452
453 UiConfiguration::UiConfiguration(void)
454 {
455 }
456
457 UiConfiguration::~UiConfiguration(void)
458 {
459
460 }
461
462 String
463 UiConfiguration::GetDefaultFont(void)
464 {
465         _ControlManager* pControlManager = _ControlManager::GetInstance();
466         return pControlManager->GetDefaultFont();
467 }
468
469 result
470 UiConfiguration::SetDefaultFont(const String& fontName)
471 {
472         _ControlManager* pControlManager = _ControlManager::GetInstance();
473         result r = pControlManager->SetDefaultFont(fontName);
474         SysTryReturn(NID_UI, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
475         return E_SUCCESS;
476 }
477
478 String
479 UiConfiguration::GetDefaultFontFile(void)
480 {
481         _ControlManager* pControlManager = _ControlManager::GetInstance();
482         return pControlManager->GetDefaultFontFile();
483 }
484
485 result
486 UiConfiguration::SetDefaultFontFromFile(const Tizen::Base::String& fileName)
487 {
488         _ControlManager* pControlManager = _ControlManager::GetInstance();
489         result r = pControlManager->SetDefaultFontFromFile(fileName);
490         SysTryReturn(NID_UI, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
491         return E_SUCCESS;
492 }
493
494 float
495 UiConfiguration::GetFontSize(const Tizen::Base::String& sizeString)
496 {
497         float size =0.0f;
498         if (sizeString.Equals(L"giant", false))
499         {
500                 GET_SHAPE_CONFIG(ACCESSIBILITY::GIANT_FONT_SIZE, _CONTROL_ORIENTATION_PORTRAIT, size);
501         }
502         else if (sizeString.Equals(L"huge", false))
503         {
504                 GET_SHAPE_CONFIG(ACCESSIBILITY::HUGE_FONT_SIZE, _CONTROL_ORIENTATION_PORTRAIT, size);
505         }
506         else if (sizeString.Equals(L"large", false))
507         {
508                 GET_SHAPE_CONFIG(ACCESSIBILITY::LARGE_FONT_SIZE, _CONTROL_ORIENTATION_PORTRAIT, size);
509         }
510         else if (sizeString.Equals(L"medium", false))
511         {
512                 GET_SHAPE_CONFIG(ACCESSIBILITY::NORMAL_FONT_SIZE, _CONTROL_ORIENTATION_PORTRAIT, size);
513         }
514         else if (sizeString.Equals(L"small", false))
515         {
516                 GET_SHAPE_CONFIG(ACCESSIBILITY::SMALL_FONT_SIZE, _CONTROL_ORIENTATION_PORTRAIT, size);
517         }
518         else
519         {
520                 size = -1.0f;
521         }
522         return size;
523 }
524
525 Color
526 UiConfiguration::GetColor(int colorKey)
527 {
528         Color color;
529         result r = _ResourceManager::GetInstance()->GetColor(colorKey,color);
530         SetLastResult(r);
531         return color;
532 }
533
534 }}      // Tizen::Ui