2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.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
9 // http://floralicense.org/license/
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.
18 * @file FUi_ResourceTabBarConfig.cpp
19 * @brief This is the implementation file for the color properties of TabBar.
22 #include "FUi_ResourceConfigMacro.h"
24 START_UI_CONFIG(TABBAR);
26 ADD_COLOR_CONFIG(BG_NORMAL, $W0813);
27 ADD_COLOR_CONFIG(ITEM_BG_NORMAL, $W0813);
28 ADD_COLOR_CONFIG(ITEM_BG_PRESSED, $W101);
29 ADD_COLOR_CONFIG(ITEM_BG_HIGHLIGHTED, $W101);
30 ADD_COLOR_CONFIG(ITEM_TEXT_NORMAL, $F031L3);
31 ADD_COLOR_CONFIG(ITEM_TEXT_PRESSED, $F031L3P);
32 ADD_COLOR_CONFIG(ITEM_TEXT_HIGHLIGHTED, $F031L3P);
33 ADD_COLOR_CONFIG(ARROW_NORMAL, $F031L3);
35 ADD_IMAGE_CONFIG(ARROW_BG_LEFT, #00_category_left_gradation.png);
36 ADD_IMAGE_CONFIG(ARROW_BG_RIGHT, #00_category_right_gradation.png);
37 ADD_IMAGE_CONFIG(BG_NORMAL, #00_category_panel_bg.9.png)
38 ADD_IMAGE_CONFIG(ARROW_LEFT, #00_arrow_left.png);
39 ADD_IMAGE_CONFIG(ARROW_RIGHT, #00_arrow_right.png);
40 ADD_IMAGE_CONFIG(ITEM_PRESSED, #00_category_button_focus.9.png);
41 ADD_IMAGE_CONFIG(ITEM_SELECTED, #00_category_button.9.png);
43 START_UI_CONFIG_MODE(480x800);
44 END_UI_CONFIG_MODE(480x800);
46 START_UI_CONFIG_MODE(720x1280);
47 ADD_SHAPE_CONFIG(FONT_SIZE, 40);
48 ADD_SHAPE_CONFIG(FONT_MARGIN, 10);
49 ADD_SHAPE_CONFIG(TOP_MARGIN, 9);
50 ADD_SHAPE_CONFIG(SIDE_MARGIN, 56);
51 ADD_SHAPE_CONFIG(ITEM_MARGIN, 12);
52 ADD_SHAPE_CONFIG(ITEM_MIN_WIDTH, 140);
53 ADD_SHAPE_CONFIG(ITEM_MAX_WIDTH, 444);
54 ADD_SHAPE_CONFIG(ITEM_HEIGHT, 72);
55 ADD_SHAPE_CONFIG(HEIGHT, 90);
56 ADD_SHAPE_CONFIG(MIN_WIDTH, 0);
57 ADD_SHAPE_CONFIG(MAX_WIDTH, 0xFFFF);
58 ADD_SHAPE_CONFIG(ITEM_COUNT_MAX, 100);
59 ADD_SHAPE_CONFIG(ARROW_MARGIN, 6);
60 END_UI_CONFIG_MODE(720x1280);
63 END_UI_CONFIG(TABBAR);