2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 #ifndef _CLIPDRAWER_H_
19 #define _CLIPDRAWER_H_
22 #include <Elementary.h>
24 typedef enum _AnimStatus AnimStatus;
31 struct _ClipdrawerData {
32 Evas_Object *main_win;
33 Ecore_X_Window x_main_win;
35 Evas_Object *main_layout;
36 Elm_Gengrid_Item_Class gic;
44 Ecore_Event_Handler *keydown_handler;
47 Ecore_Timer *anim_timer;
48 AnimStatus anim_status;
50 Eina_Bool paste_text_only:1;
55 void set_rotation_to_clipdrawer(ClipdrawerData *ad);
56 void clipdrawer_activate_view(AppData* ad);
57 void clipdrawer_lower_view(AppData* ad);
58 ClipdrawerData *init_clipdrawer(AppData *ad);
59 void depose_clipdrawer(ClipdrawerData *cd);
60 #endif // _CLIPDRAWER_H_