/* * 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. */ #ifndef __SETAS_VIEW_H__ #define __SETAS_VIEW_H__ #include "ivug-common.h" typedef enum { NOTI_SUCCESS, NOTI_FAIL, } TEXT_POPUP_TYPE; typedef enum { IVUG_CTRLBAR_SET_SCREEN_HOME, IVUG_CTRLBAR_SET_SCREEN_LOCK, IVUG_CTRLBAR_SET_SCREEN_BOTH, IVUG_CTRLBAR_SET_SCREEN_UNDEFINED, // Show select popup when click ok button. IVUG_CTRLBAR_SET_SCREEN_MAX } ivug_set_screen_type; typedef struct { Evas_Object *parent; Evas_Object *ly_effect; // Layout for transition effect Evas_Object *layout; /* |------------------| | naviframe | |------------------| | toolbar | |------------------| | | | | | | | | |------------------| | controlbar | |------------------| */ Evas_Object *photocam; Evas_Object *toolbar; Evas_Object *content; // Empty layout Evas_Object *select_box; struct { int x, y, h, w; } select_rect; Evas_Object *popup; Evas_Object *done_button; char *file_path; Eina_Bool b_hide_bar_flag; Ecore_Timer *timer_locate_rect; // click event Evas_Coord_Point down_pos; unsigned int timestamp; Ecore_Timer *click_timer; ivug_set_screen_type set_type; Evas_Object *genlist_popup; Eina_List *popup_list; } Ivug_SetAsView; Ivug_SetAsView * ivug_setas_view_screen_ug_create(Evas_Object *parent, const char* filepath); void ivug_setas_view_destroy(Ivug_SetAsView *data); Evas_Object * ivug_setas_view_object_get(Ivug_SetAsView *pSetAsView); #endif //__SETAS_VIEW_H__