3 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.0 (the License);
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an AS IS BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
20 #ifndef _CLIPDRAWER_H_
21 #define _CLIPDRAWER_H_
24 #include <Elementary.h>
26 typedef enum _AnimStatus AnimStatus;
33 struct _ClipdrawerData {
34 Evas_Object *main_win;
35 Ecore_X_Window x_main_win;
37 Evas_Object *main_layout;
38 Elm_Gengrid_Item_Class gic;
50 int grid_image_item_w;
51 int grid_image_item_h;
53 Ecore_Event_Handler *keydown_handler;
56 Ecore_Timer *anim_timer;
57 AnimStatus anim_status;
59 Eina_Bool paste_text_only:1;
64 Eina_Bool delete_mode;
66 void set_rotation_to_clipdrawer(ClipdrawerData *ad);
67 void clipdrawer_activate_view(AppData* ad);
68 void clipdrawer_lower_view(AppData* ad);
69 ClipdrawerData *init_clipdrawer(AppData *ad);
70 void depose_clipdrawer(ClipdrawerData *cd);
71 void _delete_mode_set(AppData *ad, Eina_Bool del_mode);
73 #endif // _CLIPDRAWER_H_