2 * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 #ifndef __AIR_MEDIAHUB_DEFINE_H__
18 #define __AIR_MEDIAHUB_DEFINE_H__
21 #include "view/base.h"
22 #include "view/viewer.h"
23 #include "view/mplayer.h"
24 #include "view/action_menu.h"
27 #include "layout/movie.h"
28 #include "layout/gallery.h"
29 #include "layout/music.h"
32 #define STYLE_INVISIBLE "invisible"
34 #define FONT_REGULAR "TizenSans"
35 #define FONT_LIGHT "TizenSans:style=Light"
36 #define FONT_BOLD "TizenSans:style=Bold"
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_LIST_BG 244 244 244 255
59 #define PART_ELM_TEXT_TITLE "elm.text.title"
60 #define PART_ELM_TEXT_TITLE2 "elm.text.title2"
61 #define PART_ELM_TEXT_ARTIST "elm.text.artist"
62 #define PART_ELM_TEXT_ALBUM "elm.text.album"
63 #define PART_ELM_TEXT_PLAYTIME "elm.text.playtime"
64 #define PART_ELM_SWALLOW_THUMBNAIL "elm.swallow.thumbnail"
65 #define PART_ELM_SWALLOW_VIDEO "elm.swallow.video"
66 #define PART_ELM_SWALLOW_FAVORITE "elm.swallow.favorite"
67 #define PART_ELM_SWALLOW_TEXTBG "elm.swallow.textbg"
70 #define SIG_BTN_CLICKED "btn,clicked"
71 #define SIG_BTN_SELECTED "btn,selected"
72 #define SIG_BTN_UNSELECTED "btn,unselected"
73 #define SIG_ITEM_FOCUSED "item,focused"
74 #define SIG_ITEM_SELECTED "item,selected"
75 #define SIG_ITEM_UNSELECTED "item,unselected"
76 #define SIG_ELM_UNFOCUSED "elm,state,unfocused"
77 #define SIG_SOURCE_EDC "edc"
78 #define SIG_SOURCE_ELM "elm"
79 #define SIG_SOURCE_SRC "src"
82 #define TRANSITION_FOCUS DECELERATE 0.20
83 #define TRANSITION_CLICK DECELERATE 0
84 #define TRANSITION_SHOW_BAR LINEAR 0.20
85 #define TRANSITION_SHOW_ICON LINEAR 0.35
87 #endif /* __AIR_MEDIAHUB_DEFINE_H__ */