applying new UX(ver. 0.2)
[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 465
6 #define CLIPDRAWER_WIDTH 480
7 //#define CLIPDRAWER_HEIGHT 335
8 #define CLIPDRAWER_HEIGHT 360
9 #define SCREEN_HEIGHT 800
10
11 enum {
12         GI_TEXT = 0,
13         GI_IMAGE,
14
15         GI_MAX_ITEM,
16 };
17
18 /* view maintains */
19 int clipdrawer_init(void *data);
20 int clipdrawer_create_view(void *data);
21 void clipdrawer_activate_view(void *data);
22 //void clipdrawer_hide_view(void *data);
23 void clipdrawer_lower_view(void *data);
24
25 const char* clipdrawer_get_plain_string_from_escaped(char *escstr);
26 int clipdrawer_update_contents(void *data);
27
28 int clipdrawer_add_item(char *imagepath, int type);
29
30 #endif // _clipdrawer_h_