add rotation window feature
[framework/uifw/cbhm.git] / src / clipdrawer.h
1 #ifndef _clipdrawer_h_
2 #define _clipdrawer_h_
3
4 #define CLIPDRAWER_POS_X 0
5 #define CLIPDRAWER_POS_Y 440
6 #define CLIPDRAWER_WIDTH 480
7 #define CLIPDRAWER_HEIGHT 360
8 #define CLIPDRAWER_HEIGHT_LANDSCAPE 288
9 #define SCREEN_WIDTH 480
10 #define SCREEN_HEIGHT 800
11
12 enum {
13         GI_TEXT = 0,
14         GI_IMAGE,
15
16         GI_MAX_ITEMS,
17 };
18
19 /* view maintains */
20 int clipdrawer_init(void *data);
21 int clipdrawer_create_view(void *data);
22 void clipdrawer_activate_view(void *data);
23 //void clipdrawer_hide_view(void *data);
24 void clipdrawer_lower_view(void *data);
25
26 void set_rotation_to_clipdrawer(void *data, int angle);
27
28 const char* clipdrawer_get_plain_string_from_escaped(char *escstr);
29
30 char *clipdrawer_get_item_data(void *data, int pos);
31 int clipdrawer_add_item(char *idata, int type);
32
33 void clipdrawer_paste_textonly_set(void *data, Eina_Bool textonly);
34 Eina_Bool clipdrawer_paste_textonly_get(void *data);
35
36 #endif // _clipdrawer_h_