base: add favorite icon
[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
25 /* layouts */
26 #include "layout/movie.h"
27 #include "layout/gallery.h"
28 #include "layout/music.h"
29
30 /* defines */
31 #define STYLE_INVISIBLE "invisible"
32
33 #define FONT_REGULAR "TizenSans"
34 #define FONT_LIGHT "TizenSans:style=Light"
35 #define FONT_BOLD "TizenSans:style=Bold"
36
37 #define COLOR_BASE_BG 247 247 247 255
38 #define COLOR_TEXT_TITLE 51 51 51 255
39 #define COLOR_TEXT_MENU 104 104 104 255
40 #define COLOR_TEXT_INDEX 77 77 77 255
41 #define COLOR_TEXT_NORMAL 87 87 87 255
42 #define COLOR_TEXT_INFO 153 153 153 255
43 #define COLOR_TEXT_FOCUS 255 255 255 255
44 #define COLOR_TEXT_FOCUS_0 255 255 255 0
45 #define COLOR_TEXT_SELECTED 64 136 211 255
46 #define COLOR_TEXT_DISABLED 87 87 87 128
47 #define COLOR_TEXT_BG 113 128 147 255
48 #define COLOR_ITEM_BG 255 255 255 255
49 #define COLOR_ITEM_DEFAULT 119 169 202 255
50 #define COLOR_ITEM_FOCUS 0 119 246 255
51 #define COLOR_ITEM_FOCUS_0 0 119 246 0
52 #define COLOR_ITEM_SELECTED 64 136 211 255
53 #define COLOR_ITEM_BAR 190 190 190 255
54 #define COLOR_ITEM_BORDER 194 194 194 255
55 #define COLOR_LIST_BG 244 244 244 255
56
57 /* part */
58 #define PART_ELM_TEXT_TITLE "elm.text.title"
59 #define PART_ELM_TEXT_ARTIST "elm.text.artist"
60 #define PART_ELM_TEXT_ALBUM "elm.text.album"
61 #define PART_ELM_TEXT_PLAYTIME "elm.text.playtime"
62 #define PART_ELM_SWALLOW_THUMBNAIL "elm.swallow.thumbnail"
63 #define PART_ELM_SWALLOW_VIDEO "elm.swallow.video"
64 #define PART_ELM_SWALLOW_FAVORITE "elm.swallow.favorite"
65
66 /* signal */
67 #define SIG_BTN_CLICKED "btn,clicked"
68 #define SIG_BTN_SELECTED "btn,selected"
69 #define SIG_BTN_UNSELECTED "btn,unselected"
70 #define SIG_ITEM_SELECTED "item,selected"
71 #define SIG_ITEM_UNSELECTED "item,unselected"
72 #define SIG_ELM_UNFOCUSED "elm,state,unfocused"
73 #define SIG_SOURCE_EDC "edc"
74 #define SIG_SOURCE_ELM "elm"
75 #define SIG_SOURCE_SRC "src"
76
77 /* transition */
78 #define TRANSITION_FOCUS DECELERATE 0.20
79 #define TRANSITION_CLICK DECELERATE 0.20
80 #define TRANSITION_SHOW_BAR LINEAR 0.20
81 #define TRANSITION_SHOW_ICON LINEAR 0.35
82
83 #endif /* __AIR_MEDIAHUB_DEFINE_H__ */