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.
19 * @file FUi_ResourceSearchBarConfig.cpp
20 * @brief This is a configuration file for color, image and shape values of SearchBar.
23 #include "FUi_ResourceSearchBarConfig.h"
25 START_UI_CONFIG(SEARCHBAR);
27 ADD_COLOR_CONFIG(BUTTON_BG_NORMAL, $W011);
28 ADD_COLOR_CONFIG(BUTTON_BG_PRESSED, $B042);
29 ADD_COLOR_CONFIG(BUTTON_BG_DISABLED, $W011);
30 ADD_COLOR_CONFIG(BUTTON_BG_HIGHLIGHTED, $B041);
31 ADD_COLOR_CONFIG(BUTTON_TEXT_NORMAL, $B052L4);
32 ADD_COLOR_CONFIG(BUTTON_TEXT_PRESSED, $F032L2P);
33 ADD_COLOR_CONFIG(BUTTON_TEXT_DISABLED, $B052L4D);
34 ADD_COLOR_CONFIG(BUTTON_TEXT_HIGHLIGHTED, $F032L2P);
36 ADD_COLOR_CONFIG(EDIT_BG_NORMAL, $W031);
37 ADD_COLOR_CONFIG(EDIT_BG_DISABLED, $W031D);
38 ADD_COLOR_CONFIG(GUIDE_TEXT_NORMAL, $W032);
39 ADD_COLOR_CONFIG(GUIDE_TEXT_DISABLED, $W032D);
40 ADD_COLOR_CONFIG(GUIDE_TEXT_HIGHLIGHTED, $W032);
41 ADD_COLOR_CONFIG(EDIT_TEXT_NORMAL, $W032P);
42 ADD_COLOR_CONFIG(EDIT_TEXT_DISABLED, $W032D);
43 ADD_COLOR_CONFIG(EDIT_TEXT_HIGHLIGHTED, $W032P);
44 ADD_COLOR_CONFIG(ICON_BG_NORMAL, $F041i);
45 ADD_COLOR_CONFIG(ICON_BG_DISABLED, $F041iD);
46 ADD_COLOR_CONFIG(CONTENT_AREA_BG_NORMAL, $B013);
48 ADD_IMAGE_CONFIG(BG_NORMAL, #00_search_edit_field_bg.#.png);
49 ADD_IMAGE_CONFIG(BG_DISABLED, #00_search_edit_field_bg.#.png);
50 ADD_IMAGE_CONFIG(BG_HIGHLIGHTED, #00_search_edit_field_bg.#.png);
51 ADD_IMAGE_CONFIG(BG_PRESSED, #00_search_edit_field_bg.#.png);
52 ADD_IMAGE_CONFIG(BG_EFFECT, #00_search_edit_field_bg_ef.#.png);
54 ADD_IMAGE_CONFIG(ICON_NORMAL, #00_search_icon.png);
55 ADD_IMAGE_CONFIG(ICON_DISABLED, #00_search_icon.png);
56 ADD_IMAGE_CONFIG(ICON_EFFECT_NORMAL, #00_search_icon_ef.png);
59 START_UI_CONFIG_MODE(720x1280);
61 ADD_SHAPE_CONFIG(HORIZONTAL_MARGIN, 16);
62 ADD_SHAPE_CONFIG(VERTICAL_MARGIN, 10);
63 ADD_SHAPE_CONFIG(TEXT_HORIZONTAL_MARGIN, 18);
64 ADD_SHAPE_CONFIG(ICON_HORIZONTAL_MARGIN, 18);
65 ADD_SHAPE_CONFIG(ICON_WIDTH, 45);
66 ADD_SHAPE_CONFIG(ICON_HEIGHT, 45);
67 ADD_SHAPE_CONFIG(MIN_HEIGHT, 86);
68 ADD_SHAPE_CONFIG(SEARCH_FIELD_MIN_WIDTH, 218);
69 ADD_SHAPE_CONFIG(BUTTON_WIDTH, 136);
70 ADD_SHAPE_CONFIG(BUTTON_MIN_WIDTH, 74);
71 ADD_SHAPE_CONFIG(BUTTON_HEIGHT, 66);
72 ADD_SHAPE_CONFIG(BUTTON_LEFT_MARGIN, 10);
73 ADD_SHAPE_CONFIG(BUTTON_RIGHT_MARGIN, 16);
74 ADD_SHAPE_CONFIG(EDIT_TEXT_SIZE, 32);
75 ADD_SHAPE_CONFIG(BUTTON_TEXT_SIZE, 30);
77 END_UI_CONFIG_MODE(720x1280);
79 END_UI_CONFIG(SEARCHBAR);