diff options
author | Minkyu Kang <mk7.kang@samsung.com> | 2015-09-03 17:31:57 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.vlan103.tizen.org> | 2015-09-03 17:31:57 -0700 |
commit | 263a9b5c16c79ef1bf79af81dfe3873329070e04 (patch) | |
tree | 27db870b678917b0f22b9e1c10bfd801cbce277f /include | |
parent | da22fcd4674edb527322f44bab279c4991489495 (diff) | |
parent | 980652cd0c3096ce73c0dbfe312ad30cedd669cb (diff) | |
download | air_mediahub-263a9b5c16c79ef1bf79af81dfe3873329070e04.tar.gz air_mediahub-263a9b5c16c79ef1bf79af81dfe3873329070e04.tar.bz2 air_mediahub-263a9b5c16c79ef1bf79af81dfe3873329070e04.zip |
Merge "add zoom view" into tizen
Diffstat (limited to 'include')
-rw-r--r-- | include/define.h | 2 | ||||
-rw-r--r-- | include/view.h | 3 | ||||
-rw-r--r-- | include/view/zoom.h | 50 |
3 files changed, 55 insertions, 0 deletions
diff --git a/include/define.h b/include/define.h index 1e702ad..a169928 100644 --- a/include/define.h +++ b/include/define.h @@ -22,6 +22,7 @@ #include "view/viewer.h" #include "view/mplayer.h" #include "view/action_menu.h" +#include "view/zoom.h" /* layouts */ #include "layout/movie.h" @@ -90,6 +91,7 @@ #define SIG_HIDE_VIEW "hide,view" #define SIG_DISMISSED "dismissed" #define SIG_TIMEOUT "timeout" +#define SIG_SCROLL "scroll" /* transition */ #define TRANSITION_FOCUS DECELERATE 0.20 diff --git a/include/view.h b/include/view.h index 755c6e8..19dca1e 100644 --- a/include/view.h +++ b/include/view.h @@ -29,6 +29,9 @@ view_class *view_mplayer_get_vclass(void); /* action menu */ view_class *view_action_menu_get_vclass(void); +/* zoom */ +view_class *view_zoom_get_vclass(void); + /* view data */ struct view_update_data { Eina_List *list; diff --git a/include/view/zoom.h b/include/view/zoom.h new file mode 100644 index 0000000..f5d7257 --- /dev/null +++ b/include/view/zoom.h @@ -0,0 +1,50 @@ +/* + * 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_ZOOM_H__ +#define __AIR_MEDIAHUB_VIEW_ZOOM_H__ + +/* view */ +#define VIEW_ZOOM "VIEW_ZOOM" + +/* group */ +#define GRP_ZOOM_VIEW "group.zoom_view" + +/* part */ +#define PART_ZOOM_CONTENT "part.zoom_content" +#define PART_ZOOM_NAVI "part.zoom_navi" + +/* source */ +#define SRC_BTN_UP "up" +#define SRC_BTN_DOWN "down" +#define SRC_BTN_LEFT "left" +#define SRC_BTN_RIGHT "right" + +/* signal */ +#define SIG_SET_FOCUS "set,focus" +#define SIG_SET_UNFOCUS "set,unfocus" + +/* image */ +#define IMAGE_ZOOM_UP_NORMAL "ic_zoom_indicator_up_nor.png" +#define IMAGE_ZOOM_UP_FOC "ic_zoom_indicator_up_foc.png" +#define IMAGE_ZOOM_DOWN_NORMAL "ic_zoom_indicator_down_nor.png" +#define IMAGE_ZOOM_DOWN_FOC "ic_zoom_indicator_down_foc.png" +#define IMAGE_ZOOM_LEFT_NORMAL "ic_zoom_indicator_left_nor.png" +#define IMAGE_ZOOM_LEFT_FOC "ic_zoom_indicator_left_foc.png" +#define IMAGE_ZOOM_RIGHT_NORMAL "ic_zoom_indicator_right_nor.png" +#define IMAGE_ZOOM_RIGHT_FOC "ic_zoom_indicator_right_foc.png" + +#endif |