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_ResourceDateTimePickerConfig.cpp
20 * @brief This is a configuration file for color, image and shape values of DateTimePicker.
23 #include "FUi_ResourceConfigMacro.h"
25 START_UI_CONFIG(DATETIMEPICKER);
27 ADD_COLOR_CONFIG(BG_NORMAL, $B011);
29 ADD_COLOR_CONFIG(AMPM_BG_NORMAL, $W011);
30 ADD_COLOR_CONFIG(AMPM_BG_PRESSED, $B041);
31 ADD_COLOR_CONFIG(AMPM_BG_HIGHLIGHTED, $B041);
32 ADD_COLOR_CONFIG(AMPM_BG_DISABLED, $W011);
34 ADD_COLOR_CONFIG(TEXT_NORMAL, $F011L1);
35 ADD_COLOR_CONFIG(TEXT_PRESSED, $F011L2);
36 ADD_COLOR_CONFIG(TEXT_HIGHLIGHTED, $F011L2);
37 ADD_COLOR_CONFIG(TEXT_DISABLED, $F011L1);
39 ADD_COLOR_CONFIG(AMPM_TEXT_NORMAL, $F031L1);
40 ADD_COLOR_CONFIG(AMPM_TEXT_PRESSED, $F031L1P);
41 ADD_COLOR_CONFIG(AMPM_TEXT_HIGHLIGHTED, $F031L1P);
42 ADD_COLOR_CONFIG(AMPM_TEXT_DISABLED, $F031L1D);
44 ADD_COLOR_CONFIG(DIVIDER_LEFT_HALF, $B0231L1);
45 ADD_COLOR_CONFIG(DIVIDER_RIGHT_HALF, $B0231L2);
47 ADD_IMAGE_CONFIG(AMPM_BG_NORMAL, #00_button_01.9.png);
48 ADD_IMAGE_CONFIG(AMPM_BG_EFFECT, #00_button_01_ef.9.png);
49 ADD_IMAGE_CONFIG(AMPM_BG_PRESSED_EFFECT, #00_button_01_ef_press.9.png);
50 ADD_IMAGE_CONFIG(AMPM_BG_DISABLED_EFFECT, #00_button_01_ef_dim.9.png);
52 ADD_IMAGE_CONFIG(COLON_BG_NORMAL, #00_date_picker_dot.png);
54 START_UI_CONFIG_MODE(720x1280);
56 ADD_SHAPE_CONFIG(FOOTER_HEIGHT, 94);
57 ADD_SHAPE_CONFIG(INPUTPAD_HEIGHT, 484);
58 ADD_SHAPE_CONFIG(OUTPUT_AREA_HEIGHT, 112);
59 ADD_SHAPE_CONFIG(DISPLAY_BOX_HEIGHT, 56);
61 ADD_SHAPE_CONFIG(TOP_MARGIN, 32);
62 ADD_SHAPE_CONFIG(LEFT_MARGIN, 16);
64 ADD_SHAPE_CONFIG(DATE_ELEMENT_WIDTH, 130);
65 ADD_SHAPE_CONFIG(TIME_ELEMENT_WIDTH, 48);
67 ADD_SHAPE_CONFIG(AMPM_WIDTH, 106);
68 ADD_SHAPE_CONFIG(COLON_WIDTH, 12);
70 ADD_SHAPE_CONFIG(DATE_TIME_MARGIN, 10);
71 ADD_SHAPE_CONFIG(TIME_AMPM_MARGIN, 28);
72 ADD_SHAPE_CONFIG(COLON_MARGIN, 3);
74 ADD_FIXED_VALUE_CONFIG(DIVIDER_WIDTH, 2);
75 ADD_SHAPE_CONFIG(DIVIDER_HEIGHT, 42);
77 ADD_SHAPE_CONFIG(TIME_OUTPUT_MARGIN, 20);
79 ADD_SHAPE_CONFIG(FONT_SIZE, 36);
81 END_UI_CONFIG_MODE(720x1280);
83 START_UI_CONFIG_MODE(1280x720);
85 ADD_SHAPE_CONFIG(FOOTER_HEIGHT, 84);
86 ADD_SHAPE_CONFIG(INPUTPAD_HEIGHT, 316);
88 ADD_SHAPE_CONFIG(DATE_ELEMENT_WIDTH, 242);
90 ADD_SHAPE_CONFIG(DATE_TIME_MARGIN, 66);
91 ADD_SHAPE_CONFIG(TIME_AMPM_MARGIN, 84);
93 END_UI_CONFIG_MODE(1280x720);
95 END_UI_CONFIG(DATETIMEPICKER);