change app name limit to multi line & display badge
[apps/native/menu-screen.git] / include / conf.h
1 /*
2  * MENU-SCREEN
3  *
4  * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
5  *
6  * Contact: Jin Yoon <jinny.yoon@samsung.com>
7  *          Junkyu Han <junkyu.han@samsung.com>
8
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  *
21  */
22
23 #ifndef _MENU_SCREEN_CONF_H_
24 #define _MENU_SCREEN_CONF_H_
25
26 #define MAX_PAGE_NO 10
27
28 #define BASE_HEIGHT 1280.0f
29 #define BASE_WIDTH 720.0f
30
31 #define INDICATOR_PORT_HEIGHT 70
32 #define INDICATOR_HEIGHT_PROP (INDICATOR_PORT_HEIGHT/BASE_HEIGHT)
33
34 #define PAGE_PORTRAIT_HEIGHT 1030.0f
35 #define INDEX_HEIGHT 70
36
37 #define ITEM_WIDTH 180.0 // 180.0
38 #define LITE_ITEM_WIDTH 90.0
39 #define ITEM_WIDTH_PROP (ITEM_WIDTH/BASE_WIDTH)
40 #define ITEM_HEIGHT 220.0 // 198.0
41 #define LITE_ITEM_HEIGHT 99.0
42 #define ITEM_HEIGHT_PROP (ITEM_HEIGHT/BASE_HEIGHT)
43
44 #endif // _MENU_SCREEN_CONF_H_
45
46 // End of a file