summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2015-09-03 15:33:08 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2015-09-03 17:13:10 +0900
commit980652cd0c3096ce73c0dbfe312ad30cedd669cb (patch)
tree15964794598f586da31aa51a71956449d50d0513 /include
parent2593f71d1089f11c8c4c437f177654a762d54cd9 (diff)
downloadair_mediahub-980652cd0c3096ce73c0dbfe312ad30cedd669cb.tar.gz
air_mediahub-980652cd0c3096ce73c0dbfe312ad30cedd669cb.tar.bz2
air_mediahub-980652cd0c3096ce73c0dbfe312ad30cedd669cb.zip
add zoom view
Change-Id: I9ac6f1e9c89064bd8b25bb083be21c1f17a12c6e Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/define.h2
-rw-r--r--include/view.h3
-rw-r--r--include/view/zoom.h50
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