2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
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
9 // http://www.apache.org/licenses/LICENSE-2.0/
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_ResourceEditDateConfig.h
20 * @brief This is the implementation file for the color and shape config of EditDate class.
23 #include "FUi_ResourceEditDateConfig.h"
25 START_UI_CONFIG(EDITDATE);
27 ADD_COLOR_CONFIG(TEXT_NORMAL, $F011L1);
28 ADD_COLOR_CONFIG(TEXT_PRESSED, $F011L1P);
29 ADD_COLOR_CONFIG(TEXT_DISABLED, $F011L1D);
30 ADD_COLOR_CONFIG(TITLE_TEXT_NORMAL, $B052L5);
31 ADD_COLOR_CONFIG(TITLE_TEXT_DISABLED, $B052L5);
32 //ADD_COLOR_CONFIG(DIVIDER_LEFT_HALF, $B0224);
33 //ADD_COLOR_CONFIG(DIVIDER_RIGHT_HALF, $B0222);
34 ADD_COLOR_CONFIG(CONTENT_BG_NORMAL, $W011);
35 ADD_COLOR_CONFIG(CONTENT_BG_PRESSED, $B042);
36 ADD_COLOR_CONFIG(CONTENT_BG_DISABLED, $W011);
37 ADD_COLOR_CONFIG(CONTENT_BG_HIGHLIGHTED, $W161);
39 ADD_IMAGE_CONFIG(CONTENT_BG_NORMAL, #00_picker_button.#.png);
40 ADD_IMAGE_CONFIG(CONTENT_BG_PRESSED, #00_picker_button.#.png);
41 ADD_IMAGE_CONFIG(CONTENT_BG_DISABLED, #00_picker_button.#.png);
42 ADD_IMAGE_CONFIG(CONTENT_BG_HIGHLIGHTED, #00_picker_button_focus.#.png);
43 ADD_IMAGE_CONFIG(CONTENT_BG_EFFECT_NORMAL, #00_picker_button_ef.#.png);
44 ADD_IMAGE_CONFIG(CONTENT_BG_EFFECT_DISABLED, #00_picker_button_dim_ef.#.png);
45 ADD_IMAGE_CONFIG(CONTENT_BG_EFFECT_PRESSED, #00_picker_button_press_ef.#.png);
47 START_UI_CONFIG_MODE(720x1280);
49 ADD_SHAPE_CONFIG(WIDTH, 345);
50 ADD_SHAPE_CONFIG(HEIGHT, 112);
51 ADD_SHAPE_CONFIG(DATE_HEIGHT, 48);
52 ADD_SHAPE_CONFIG(TITLE_HEIGHT, 36);
53 ADD_SHAPE_CONFIG(DATE_FONT_SIZE, 34);
54 ADD_SHAPE_CONFIG(TEXT_FONT_SIZE, 32);
55 ADD_SHAPE_CONFIG(DATE_TEXT_LEFT_MARGIN, 17);
56 ADD_SHAPE_CONFIG(MONTH_YEAR_ELEMENT_WIDTH, 104);
57 ADD_SHAPE_CONFIG(MONTH_YEAR_ELEMENT_MIN_WIDTH, 104);
58 ADD_SHAPE_CONFIG(ITEM_DIVIDER_HEIGHT, 42);
59 ADD_SHAPE_CONFIG(TITLE_DATE_MARGIN, 6);
60 ADD_SHAPE_CONFIG(DATE_BAR_MARGIN, 10);
61 ADD_SHAPE_CONFIG(TITLE_TEXT_LEFT_MARGIN, 20);
62 ADD_SHAPE_CONFIG(ELEMENT_MARGIN, 17);
63 ADD_SHAPE_CONFIG(DAY_ELEMENT_WIDTH, 69);
64 ADD_SHAPE_CONFIG(DAY_ELEMENT_MIN_WIDTH, 69);
66 ADD_DIMENSION_CONFIG(MIN_SIZE, 345, 112);
68 END_UI_CONFIG_MODE(720x1280);
70 START_UI_CONFIG_MODE(1280x720);
72 ADD_DIMENSION_CONFIG(MIN_SIZE, 345, 112);
73 ADD_SHAPE_CONFIG(WIDTH, 675);
74 ADD_SHAPE_CONFIG(MONTH_YEAR_ELEMENT_WIDTH, 229);
75 ADD_SHAPE_CONFIG(DAY_ELEMENT_WIDTH, 149);
77 END_UI_CONFIG_MODE(1280x720);
80 END_UI_CONFIG(EDITDATE);