Tizen 2.1 base
[framework/osp/uifw.git] / src / ui / resource / FUi_ResourceLabelConfig.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_ResourceLabelConfig.cpp
19  * @brief               This is the implementation file for the properties of Label.
20  */
21
22 #include "FUi_ResourceConfigMacro.h"
23
24 START_UI_CONFIG(LABEL);
25 {
26         ADD_COLOR_CONFIG(TEXT_NORMAL, $F011L1);
27
28         START_UI_CONFIG_MODE(480x800);
29                 ADD_DIMENSION_CONFIG(MIN_SIZE, 0, 0);
30         END_UI_CONFIG_MODE(480x800);
31
32         START_UI_CONFIG_MODE(720x1280);
33                 ADD_SHAPE_CONFIG(TEXT_FONT_SIZE, 32);
34                 ADD_SHAPE_CONFIG(TOP_MARGIN, 0);
35                 ADD_SHAPE_CONFIG(LEFT_MARGIN, 16);
36                 ADD_DIMENSION_CONFIG(MIN_SIZE, 0, 0);
37         END_UI_CONFIG_MODE(720x1280);
38
39         START_UI_CONFIG_MODE(1280x720);
40                 ADD_SHAPE_CONFIG(TEXT_FONT_SIZE, 32);
41                 ADD_SHAPE_CONFIG(TOP_MARGIN, 0);
42                 ADD_SHAPE_CONFIG(LEFT_MARGIN, 16);
43                 ADD_DIMENSION_CONFIG(MIN_SIZE, 0, 0);
44         END_UI_CONFIG_MODE(1280x720);
45 }
46 END_UI_CONFIG(LABEL);