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_ResourceEditTimeConfig.cpp
20 * @brief This is the implementation file for the color and shape config of EditTime class.
23 #include "FUi_ResourceConfigMacro.h"
25 START_UI_CONFIG(EDITTIME);
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_TEXT_NORMAL, $F031L1);
31 ADD_COLOR_CONFIG(BUTTON_TEXT_PRESSED, $F031L1P);
32 ADD_COLOR_CONFIG(BUTTON_TEXT_DISABLED, $F031L1D);
33 ADD_COLOR_CONFIG(TEXT_NORMAL, $F011L1);
34 ADD_COLOR_CONFIG(TEXT_PRESSED, $F011L2);
35 ADD_COLOR_CONFIG(TEXT_DISABLED, $F011L1);
36 ADD_COLOR_CONFIG(TITLE_TEXT_NORMAL, $B052L5);
37 ADD_COLOR_CONFIG(TITLE_TEXT_DISABLED, $B052L5);
39 ADD_IMAGE_CONFIG(COLON_BG_NORMAL, #00_date_picker_dot.png);
40 ADD_IMAGE_CONFIG(BUTTON_BG_NORMAL, #00_button_01.#.png);
41 ADD_IMAGE_CONFIG(BUTTON_BG_PRESSED, #00_button_01.#.png);
42 ADD_IMAGE_CONFIG(BUTTON_BG_DISABLED, #00_button_01.#.png);
43 ADD_IMAGE_CONFIG(BUTTON_BG_EFFECT_NORMAL, #00_button_01_ef.#.png);
44 ADD_IMAGE_CONFIG(BUTTON_BG_EFFECT_DISABLED, #00_button_01_ef_dim.#.png);
45 ADD_IMAGE_CONFIG(BUTTON_BG_EFFECT_PRESSED, #00_button_01_ef_press.#.png);
47 START_UI_CONFIG_MODE(720x1280);
49 ADD_SHAPE_CONFIG(WIDTH, 720);
50 ADD_SHAPE_CONFIG(HEIGHT, 112);
51 ADD_SHAPE_CONFIG(TIME_WIDTH, 114);
52 ADD_SHAPE_CONFIG(HOUR_MINUTE_WIDTH, 48);
53 ADD_SHAPE_CONFIG(TITLE_TIME_MARGIN, 5);
54 ADD_SHAPE_CONFIG(TIME_BAR_MARGIN, 10);
55 ADD_SHAPE_CONFIG(TIME_HEIGHT, 46);
56 ADD_SHAPE_CONFIG(TIME_AMPM_MARGIN, 24);
57 ADD_SHAPE_CONFIG(AMPM_WIDTH, 106);
58 ADD_SHAPE_CONFIG(AMPM_HEIGHT, 56);
59 ADD_SHAPE_CONFIG(TITLE_HEIGHT, 36);
60 ADD_SHAPE_CONFIG(TIME_FONT_SIZE, 36);
61 ADD_SHAPE_CONFIG(TEXT_FONT_SIZE, 32);
62 ADD_SHAPE_CONFIG(AMPM_FONT_SIZE, 36);
63 ADD_SHAPE_CONFIG(COLON_WIDTH, 12);
64 ADD_SHAPE_CONFIG(COLON_MARGIN, 3);
65 ADD_SHAPE_CONFIG(TIME_TEXT_LEFT_MARGIN, 20);
66 ADD_DIMENSION_CONFIG(MIN_SIZE, 0, 0);
68 END_UI_CONFIG_MODE(720x1280);
70 START_UI_CONFIG_MODE(1280x720);
72 ADD_DIMENSION_CONFIG(MIN_SIZE, 0, 0);
73 ADD_SHAPE_CONFIG(WIDTH, _SCREEN_HEIGHT_);
74 ADD_SHAPE_CONFIG(TIME_WIDTH, 242);
75 ADD_SHAPE_CONFIG(TIME_AMPM_MARGIN, 84);
77 END_UI_CONFIG_MODE(1280x720);
79 END_UI_CONFIG(EDITTIME);