Apply new indicator UI.
[platform/framework/native/uifw.git] / src / ui / resource / FUi_ResourceFormConfig.cpp
1 //
2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4 //
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
8 //
9 //     http://floralicense.org/license/
10 //
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.
16 //
17 /**
18  * @file                FUi_ResourceFormConfig.cpp
19  * @brief               This is the implementation file for the color properties of Form.
20  */
21
22 #include "FUi_ResourceConfigMacro.h"
23
24 START_UI_CONFIG(FORM);
25 {
26         ADD_COLOR_CONFIG(BG_NORMAL, $B011);
27         ADD_COLOR_CONFIG(INDICATOR_BG_NORMAL, $B011);
28
29         START_UI_CONFIG_MODE(480x800);
30                 ADD_SHAPE_CONFIG(INDICATOR_WIDTH, 480);
31                 ADD_SHAPE_CONFIG(INDICATOR_HEIGHT, 40);
32         END_UI_CONFIG_MODE(480x800);
33
34         START_UI_CONFIG_MODE(800x480);
35                 ADD_SHAPE_CONFIG(INDICATOR_WIDTH, _SCREEN_HEIGHT_);
36                 ADD_SHAPE_CONFIG(INDICATOR_HEIGHT, 40);
37         END_UI_CONFIG_MODE(800x480);
38
39         START_UI_CONFIG_MODE(720x1280);
40                 ADD_SHAPE_CONFIG(INDICATOR_WIDTH, 720);
41                 ADD_SHAPE_CONFIG(INDICATOR_HEIGHT, 60);
42         END_UI_CONFIG_MODE(720x1280);
43
44         START_UI_CONFIG_MODE(1280x720);
45                 ADD_SHAPE_CONFIG(INDICATOR_WIDTH, _SCREEN_HEIGHT_);
46                 ADD_SHAPE_CONFIG(INDICATOR_HEIGHT, 60);
47         END_UI_CONFIG_MODE(1280x720);
48
49         START_UI_CONFIG_MODE(1280x720);
50                 ADD_SHAPE_CONFIG(INDICATOR_MINIMIZE_WIDTH, _SCREEN_HEIGHT_);
51                 ADD_SHAPE_CONFIG(INDICATOR_MINIMIZE_HEIGHT, 21);
52         END_UI_CONFIG_MODE(1280x720);
53
54         START_UI_CONFIG_MODE(800x480);
55                 ADD_SHAPE_CONFIG(INDICATOR_MINIMIZE_WIDTH, _SCREEN_HEIGHT_);
56                 ADD_SHAPE_CONFIG(INDICATOR_MINIMIZE_HEIGHT, 14);
57         END_UI_CONFIG_MODE(800x480);
58
59 }
60 END_UI_CONFIG(FORM);