Deleted the x, utilX, ecore-x dependency for wayland.
[profile/tv/apps/native/videoplayer.git] / include / define.h
1 /*
2  * Copyright (c) 2014 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 /* Key definitions */
18 #define KEY_VOLUMEUP "F9"
19 #define KEY_VOLUMEDOWN "F10"
20 #define KEY_MUTE "Mute"
21
22 /* View definitions */
23 #define VIEW_ID_PLAYER "VIEW_PLAYER"
24
25 /* Part name definitions */
26 #define PART_CONTENTAREA "content.area"
27 #define PART_TITLETEXT "title.text"
28 #define PART_RESOLUTIONTEXT "resolution.text"
29 #define PART_SOURCETEXT "source.text"
30 #define PART_DATETEXT "date.text"
31 #define PART_SWALLOWAREA "swallow.area"
32 #define PART_ELM_SWALLOWICON "elm.swallow.icon"
33 #define PART_SLIDER "slider.area"
34 #define PART_CURTIME_TEXT "elapsed.time"
35 #define PART_COUNTTEXT "count.text"
36 #define PART_CURRENTTEXT "current.text"
37 #define PART_TOTALTIME_TEXT "total.time"
38 #define PART_VOLUME_VALUE "volume.value"
39 #define PART_VOLUME_BAR "swallow.volume.bar"
40
41 /* Group name definitions */
42 #define GRP_VIDEO_PLAYER "video_player"
43 #define GRP_VOLUME "volume"
44
45 /* Signal definitions */
46 #define SIG_SELECTED "selected"
47 #define SIG_CLICKED "clicked"
48 #define SIG_CHANGED "changed"
49 #define SIG_FOCUSED "focused"
50 #define SIG_UNFOCUSED "unfocused"
51 #define SIG_VOLUME_MUTE "volume,mute"
52 #define SIG_VOLUME_UNMUTE "volume,unmute"
53 #define SIG_SHOW_VIEW "show,view"
54 #define SIG_HIDE_VIEW "hide,view"
55 #define SIG_SET_PAUSE "set,pause,icon"
56 #define SIG_SET_PLAY "set,play,icon"
57 #define SIG_SLIDER_FOCUS "slider,focus,in"
58 #define SIG_SLIDER_UNFOCUS "slider,focus,out"
59 #define SIG_BTN_ANI_START "mouse,anim,start"
60 #define SIG_BTN_ANI_FIN "btn,anim,finish"
61
62 /* Style definitions */
63 #define STYLE_INVISIBLE "invisible"
64 #define STYLE_CTXPOPUP_VIEWER "viewer_popup"
65 #define STYLE_BTN_SHORTTEXT "shorttext"
66 #define STYLE_TOOLTIP "videobtn_tooltip"
67 #define STYLE_CTXPOPUP_VIEWER "viewer_popup"
68 #define STYLE_SLIDER "progress_slider"
69 #define STYLE_VOLUME_BAR "volume_bar"
70
71 /* images */
72 #define IMAGE_VIDEO_BTN_REW_NORMAL "btn_video_rew_nor.png"
73 #define IMAGE_VIDEO_BTN_REW_FOCUS "btn_video_rew_foc.png"
74 #define IMAGE_VIDEO_BTN_FF_NORMAL "btn_video_ff_nor.png"
75 #define IMAGE_VIDEO_BTN_FF_FOCUS "btn_video_ff_foc.png"
76 #define IMAGE_VIDEO_BTN_PREV_NORMAL "btn_video_prev_nor.png"
77 #define IMAGE_VIDEO_BTN_PREV_FOCUS "btn_video_prev_foc.png"
78 #define IMAGE_VIDEO_BTN_NEXT_NORMAL "btn_video_next_nor.png"
79 #define IMAGE_VIDEO_BTN_NEXT_FOCUS "btn_video_next_foc.png"
80 #define IMAGE_VIDEO_BTN_PAUSE_NORMAL "btn_video_pause_nor.png"
81 #define IMAGE_VIDEO_BTN_PAUSE_FOCUS "btn_video_pause_foc.png"
82 #define IMAGE_VIDEO_BTN_PLAY_NORMAL "btn_video_play_nor.png"
83 #define IMAGE_VIDEO_BTN_PLAY_FOCUS "btn_video_play_foc.png"
84 #define IMAGE_VIDEO_BTN_SETTING_NORMAL "btn_video_setting_nor.png"
85 #define IMAGE_VIDEO_BTN_SETTING_FOCUS "btn_video_setting_foc.png"
86 #define IMAGE_VIDEO_BTN_SETTING_HIGHLIGHT "btn_video_setting_high.png"
87 #define IMAGE_VIDEO_BTN_REPEATOFF_NORMAL "btn_video_offrepeat_nor.png"
88 #define IMAGE_VIDEO_BTN_REPEATOFF_FOCUS "btn_video_offrepeat_foc.png"
89 #define IMAGE_VIDEO_BTN_REPEATALL_NORMAL "btn_video_repeatall_nor.png"
90 #define IMAGE_VIDEO_BTN_REPEATALL_FOCUS "btn_video_repeatall_foc.png"
91 #define IMAGE_VIDEO_BTN_REPEATONE_NORMAL "btn_video_repeatone_nor.png"
92 #define IMAGE_VIDEO_BTN_REPEATONE_FOCUS "btn_video_repeatone_foc.png"
93
94 #define IMAGE_TOOLTIP_ARROW "tooltip_arrow.png"
95
96 #define IMAGE_ICON_CHECK_HIGH "ico_check_high.png"
97 #define IMAGE_ICON_CHECK_FOC "ico_check_foc.png"
98
99 #define IMAGE_SLIDER_NOB_NORMAL "progressbar_thumb_nor.png"
100 #define IMAGE_SLIDER_NOB_FOCUS "progressbar_thumb_foc.png"
101 #define IMAGE_VIDEO_PROGRESS_BG "videoplay_progress_foc_bg.png"
102
103 /* sizes */
104 #define PADDING_BOX 50
105
106 #define POSITION_SETTING_POPUP_X 1285
107 #define POSITION_SETTING_POPUP_Y 732
108
109 #define POSITION_SCREEN_POPUP_X 1285
110 #define POSITION_SCREEN_POPUP_Y 732
111
112 #define POSITION_SOUND_POPUP_X 1285
113 #define POSITION_SOUND_POPUP_Y 650
114
115 /* others */
116 #define TIMEOUT_TOOLTIP 2.0
117 #define TIMEOUT_VIDEOPLAYER 5.0