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.
18 #ifndef _FUI_RESOURCE_BUTTON_CONFIG_H_
19 #define _FUI_RESOURCE_BUTTON_CONFIG_H_
21 #include "FUi_ResourceConfigMacro.h"
23 DECLARE_UI_CONFIG(BUTTON);
25 DECLARE_COLOR_CONFIG(BG_NORMAL, 1);
26 DECLARE_COLOR_CONFIG(BG_DISABLED, 2);
27 DECLARE_COLOR_CONFIG(BG_PRESSED, 3);
28 DECLARE_COLOR_CONFIG(BG_HIGHLIGHTED, 4);
29 DECLARE_COLOR_CONFIG(TEXT_NORMAL, 5);
30 DECLARE_COLOR_CONFIG(TEXT_DISABLED, 6);
31 DECLARE_COLOR_CONFIG(TEXT_PRESSED, 7);
32 DECLARE_COLOR_CONFIG(TEXT_HIGHLIGHTED, 8);
34 DECLARE_IMAGE_CONFIG(BG_NORMAL, 1);
35 DECLARE_IMAGE_CONFIG(BG_DISABLED, 2);
36 DECLARE_IMAGE_CONFIG(BG_PRESSED, 3);
37 DECLARE_IMAGE_CONFIG(BG_HIGHLIGHTED, 4);
38 DECLARE_IMAGE_CONFIG(BG_EFFECT_NORMAL, 5);
39 DECLARE_IMAGE_CONFIG(BG_EFFECT_DISABLED, 6);
40 DECLARE_IMAGE_CONFIG(BG_EFFECT_PRESSED, 7);
41 DECLARE_IMAGE_CONFIG(BG_EFFECT_HIGHLIGHTED, 8);
43 DECLARE_DIMENSION_CONFIG(MIN_SIZE, 1);
45 DECLARE_SHAPE_CONFIG(DEFAULT_FONT_SIZE, 1);
46 DECLARE_SHAPE_CONFIG(MULTILINE_FONT_SIZE, 2);
47 DECLARE_SHAPE_CONFIG(LEFT_MARGIN, 3);
48 DECLARE_SHAPE_CONFIG(TOP_MARGIN, 4);
49 DECLARE_SHAPE_CONFIG(RIGHT_MARGIN, 5);
50 DECLARE_SHAPE_CONFIG(BOTTOM_MARGIN, 6);
52 DECLARE_FIXED_VALUE_CONFIG(TEXT_MAX_LENGTH, 1);
53 DECLARE_END_UI_CONFIG(BUTTON)
55 #endif //_FUI_RESOURCE_BUTTON_CONFIG_H_