summaryrefslogtreecommitdiff
path: root/main/src/view/ivug-slider-item.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/view/ivug-slider-item.h')
-rwxr-xr-xmain/src/view/ivug-slider-item.h137
1 files changed, 0 insertions, 137 deletions
diff --git a/main/src/view/ivug-slider-item.h b/main/src/view/ivug-slider-item.h
deleted file mode 100755
index 6bbc54d..0000000
--- a/main/src/view/ivug-slider-item.h
+++ /dev/null
@@ -1,137 +0,0 @@
-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
- *
- * 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.
- */
-
-
-#pragma once
-
-#include "ivug-data.h"
-
-typedef enum SLIDE_STATE {
- SLIDE_STATE_NONE = 0x00,
- SLIDE_STATE_READY,
- SLIDE_STATE_LOADING, // Load main image or downloading
- SLIDE_STATE_LOADED, // Image is shown
- SLIDE_STATE_ERROR,
-} slide_state_t;
-
-typedef struct _Slide_Item Slide_Item;
-
-typedef void (*OnSliderStateChanged)(slide_state_t state, Slide_Item *si, void *client_data);
-
-struct _Slide_Item {
- int x, y, w, h; // Object geometry
-//Data
- slide_state_t state; // Currently not used, just for debugging.
- Media_Item *mitem;
-
-//flag
- Eina_Bool photocam_show;
- Eina_Bool thumbnail_show;
-
-// UI
- Evas_Object* layout;
- const Evas_Object* icon; //video icon
- Evas_Object* thumbnail; // thumbnail
- Evas_Object* photocam; //photocam data.
- Evas_Object* progress; //progress bar
-
- unsigned int thumb_w, thumb_h; // thumbnail width height.
-
- unsigned int zoom_level;
-
-// Callback
- OnSliderStateChanged cb;
- void *client_data;
-
-};
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-// GUI related
-Slide_Item*
-ivug_slider_item_add(Evas_Object *slider);
-
-void
-ivug_slider_item_del(Slide_Item *si);
-
-void
-ivug_slider_item_hide(Slide_Item *si);
-
-void
-ivug_slider_item_show(Slide_Item *si);
-
-void
-ivug_slider_item_move(Slide_Item *si, int x, int y);
-
-void
-ivug_slider_item_resize(Slide_Item *si, int w, int h);
-
-void
-ivug_slider_item_clip_set(Slide_Item *si, Evas_Object *clipper);
-
-void
-ivug_slider_item_clip_unset(Slide_Item *si);
-
-// Data
-bool
-ivug_slider_item_set_callback(Slide_Item* si, OnSliderStateChanged cb, void *data);
-
-bool
-ivug_slider_item_data_set(Slide_Item *si, Media_Item *item);
-
-bool
-ivug_slider_item_data_loading(Slide_Item *si);
-
-void
-ivug_slider_item_change_mitem_pointer(Slide_Item *si, Media_Item *item); // confused API!!!
-
-void
-ivug_slider_item_data_unset(Slide_Item *si);
-
-slide_state_t
-ivug_slider_item_get_state(Slide_Item *si);
-
-const Media_Item *
-ivug_slider_item_data_get(Slide_Item *si);
-
-// Control
-bool
-ivug_slider_item_region_size_get(Slide_Item *si, int *x, int *y, int *w, int *h);
-
-void
-ivug_slider_item_hold_set(Slide_Item *si, Eina_Bool hold);
-
-void
-ivug_slider_item_zoom_reset(Slide_Item *si, Eina_Bool bAnim, int center_x, int center_y);
-
-void
-ivug_slider_item_zoom_set(Slide_Item *si, double zoom, int center_x, int center_y);
-
-double
-ivug_slider_item_zoom_get(Slide_Item* si);
-
-bool
-ivug_slider_item_icon_click_check(Slide_Item *si, int x, int y);
-
-
-#ifdef __cplusplus
-}
-#endif
-
-
-