action_menu: draw menu area using table object
[profile/tv/apps/native/air_mediahub.git] / include / define.h
1 /*
2  * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef __AIR_MEDIAHUB_DEFINE_H__
18 #define __AIR_MEDIAHUB_DEFINE_H__
19
20 /* views */
21 #include "view/base.h"
22 #include "view/viewer.h"
23 #include "view/mplayer.h"
24 #include "view/action_menu.h"
25
26 /* layouts */
27 #include "layout/movie.h"
28 #include "layout/gallery.h"
29 #include "layout/music.h"
30
31 /* defines */
32 #define STYLE_INVISIBLE "invisible"
33
34 #define FONT_REGULAR "TizenSans"
35 #define FONT_LIGHT "TizenSans:style=Light"
36 #define FONT_BOLD "TizenSans:style=Bold"
37
38 #define COLOR_BASE_BG 247 247 247 255
39 #define COLOR_TEXT_TITLE 51 51 51 255
40 #define COLOR_TEXT_MENU 104 104 104 255
41 #define COLOR_TEXT_INDEX 77 77 77 255
42 #define COLOR_TEXT_NORMAL 87 87 87 255
43 #define COLOR_TEXT_INFO 153 153 153 255
44 #define COLOR_TEXT_FOCUS 255 255 255 255
45 #define COLOR_TEXT_FOCUS_0 255 255 255 0
46 #define COLOR_TEXT_SELECTED 64 136 211 255
47 #define COLOR_TEXT_DISABLED 87 87 87 128
48 #define COLOR_TEXT_BG 113 128 147 255
49 #define COLOR_ITEM_BG 255 255 255 255
50 #define COLOR_ITEM_DEFAULT 119 169 202 255
51 #define COLOR_ITEM_FOCUS 0 119 246 255
52 #define COLOR_ITEM_FOCUS_0 0 119 246 0
53 #define COLOR_ITEM_SELECTED 64 136 211 255
54 #define COLOR_ITEM_BAR 190 190 190 255
55 #define COLOR_ITEM_BORDER 194 194 194 255
56 #define COLOR_ITEM_DIVIDER 224 224 224 255
57 #define COLOR_LIST_BG 244 244 244 255
58
59 /* part */
60 #define PART_ELM_TEXT_TITLE "elm.text.title"
61 #define PART_ELM_TEXT_TITLE2 "elm.text.title2"
62 #define PART_ELM_TEXT_ARTIST "elm.text.artist"
63 #define PART_ELM_TEXT_ALBUM "elm.text.album"
64 #define PART_ELM_TEXT_PLAYTIME "elm.text.playtime"
65 #define PART_ELM_SWALLOW_THUMBNAIL "elm.swallow.thumbnail"
66 #define PART_ELM_SWALLOW_VIDEO "elm.swallow.video"
67 #define PART_ELM_SWALLOW_FAVORITE "elm.swallow.favorite"
68 #define PART_ELM_SWALLOW_TEXTBG "elm.swallow.textbg"
69
70 /* signal */
71 #define SIG_BTN_CLICKED "btn,clicked"
72 #define SIG_BTN_SELECTED "btn,selected"
73 #define SIG_BTN_UNSELECTED "btn,unselected"
74 #define SIG_ITEM_FOCUSED "item,focused"
75 #define SIG_ITEM_SELECTED "item,selected"
76 #define SIG_ITEM_UNSELECTED "item,unselected"
77 #define SIG_ELM_DISABLED "elm,state,disabled"
78 #define SIG_ELM_FOCUS "elm,action,focus"
79 #define SIG_ELM_UNFOCUS "elm,action,unfocus"
80 #define SIG_ELM_UNFOCUSED "elm,state,unfocused"
81 #define SIG_SOURCE_EDC "edc"
82 #define SIG_SOURCE_ELM "elm"
83 #define SIG_SOURCE_SRC "src"
84
85 /* transition */
86 #define TRANSITION_FOCUS DECELERATE 0.20
87 #define TRANSITION_CLICK DECELERATE 0
88 #define TRANSITION_SHOW_BAR LINEAR 0.20
89 #define TRANSITION_SHOW_ICON LINEAR 0.35
90
91 #endif /* __AIR_MEDIAHUB_DEFINE_H__ */