diff options
author | Minkyu Kang <mk7.kang@samsung.com> | 2015-07-14 22:15:53 +0900 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2015-07-14 22:15:53 +0900 |
commit | ccc471584c065597dbb7e1efb297faa35235a932 (patch) | |
tree | 5313d56f26c5ede36d5b1fbc292d1b4b951cd6ae /include | |
parent | 8b565e4ce5f0370425274142cd861c345beb10a3 (diff) | |
download | air_mediahub-ccc471584c065597dbb7e1efb297faa35235a932.tar.gz air_mediahub-ccc471584c065597dbb7e1efb297faa35235a932.tar.bz2 air_mediahub-ccc471584c065597dbb7e1efb297faa35235a932.zip |
music player: add music player view
Change-Id: I4ab9399d12ae01d2abe72b966700753c941413e6
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/define.h | 2 | ||||
-rw-r--r-- | include/view.h | 3 | ||||
-rw-r--r-- | include/view/mplayer.h | 61 |
3 files changed, 66 insertions, 0 deletions
diff --git a/include/define.h b/include/define.h index dd55262..73a2d81 100644 --- a/include/define.h +++ b/include/define.h @@ -20,6 +20,7 @@ /* views */ #include "view/base.h" #include "view/viewer.h" +#include "view/mplayer.h" /* layouts */ #include "layout/movie.h" @@ -45,6 +46,7 @@ #define COLOR_ITEM_FOCUS 0 119 246 255 #define COLOR_ITEM_FOCUS_0 0 119 246 0 #define COLOR_ITEM_SELECTED 64 136 211 255 +#define COLOR_ITEM_BAR 190 190 190 255 /* part */ #define PART_ELM_TEXT_TITLE "elm.text.title" diff --git a/include/view.h b/include/view.h index 18a07bf..3fec5db 100644 --- a/include/view.h +++ b/include/view.h @@ -23,6 +23,9 @@ view_class *view_base_get_vclass(void); /* viewer */ view_class *view_viewer_get_vclass(void); +/* music player */ +view_class *view_mplayer_get_vclass(void); + /* view data */ struct view_update_data { Eina_List *list; diff --git a/include/view/mplayer.h b/include/view/mplayer.h new file mode 100644 index 0000000..660e780 --- /dev/null +++ b/include/view/mplayer.h @@ -0,0 +1,61 @@ +/* + * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef __AIR_MEDIAHUB_VIEW_MPLAYER_H__ +#define __AIR_MEDIAHUB_VIEW_MPLAYER_H__ + +/* view */ +#define VIEW_MPLAYER "VIEW_MPLAYER" + +/* group */ +#define GRP_MPLAYER_VIEW "group.mplayer_view" + +/* style */ +#define STYLE_MPLAYER_PROGRESS "music_progress" + +/* part */ +#define PART_MPLAYER_BG "part.mplayer_bg" +#define PART_MPLAYER_THUMB "part.mplayer_thumb" +#define PART_MPLAYER_TITLE "part.mplayer_title" +#define PART_MPLAYER_INFO "part.mplayer_info" +#define PART_MPLAYER_PROGRESS "part.mplayer_progress" +#define PART_MPLAYER_TOTAL "part.mplayer_total" +#define PART_MPLAYER_SLIDER "part.mplayer_slider" + +/* source */ +#define SRC_BTN_MUSIC_SHUFFLE "shuffle" +#define SRC_BTN_MUSIC_REPEAT "repeat" +#define SRC_BTN_MUSIC_PREV "prev" +#define SRC_BTN_MUSIC_PLAY "play" +#define SRC_BTN_MUSIC_NEXT "next" + +/* images */ +#define IMAGE_MUSIC_PREV_FOCUS "btn_music_contr_previous_foc.png" +#define IMAGE_MUSIC_PREV_NORMAL "btn_music_contr_previous_nor.png" +#define IMAGE_MUSIC_PLAY_FOCUS "btn_music_contr_play_foc.png" +#define IMAGE_MUSIC_PLAY_NORMAL "btn_music_contr_play_nor.png" +#define IMAGE_MUSIC_PAUSE_FOCUS "btn_music_contr_pause_foc.png" +#define IMAGE_MUSIC_PAUSE_NORMAL "btn_music_contr_pause_nor.png" +#define IMAGE_MUSIC_NEXT_FOCUS "btn_music_contr_next_foc.png" +#define IMAGE_MUSIC_NEXT_NORMAL "btn_music_contr_next_nor.png" +#define IMAGE_MUSIC_SHUFFLE_FOCUS "btn_music_contr_shuffle_nor_foc.png" +#define IMAGE_MUSIC_SHUFFLE_NORMAL "btn_music_contr_shuffle_nor.png" +#define IMAGE_MUSIC_SHUFFLE_DIS_FOCUS "btn_music_contr_shuffle_dis_foc.png" +#define IMAGE_MUSIC_SHUFFLE_DIS_NORMAL "btn_music_contr_shuffle_dis.png" +#define IMAGE_MUSIC_REPEAT_FOCUS "btn_music_contr_repeat_foc.png" +#define IMAGE_MUSIC_REPEAT_NORMAL "btn_music_contr_repeat_nor.png" + +#endif |