-
Notifications
You must be signed in to change notification settings - Fork 11
/
egi_pic.h
39 lines (31 loc) · 1.16 KB
/
egi_pic.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*------------------------- egi_pic.h-------------------------------
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
egi pic tyep ebox functions
Midas Zhou
------------------------------------------------------------------*/
#ifndef __EGI_PIC_H__
#define __EGI_PIC_H__
#include "egi.h"
#include "egi_symbol.h"
#include "egi_image.h"
EGI_DATA_PIC *egi_picdata_new( int offx, int offy,
EGI_IMGBUF **imgbuf,
int imgpx, int imgpy,
int bkcolor,
EGI_SYMPAGE *font
);
EGI_EBOX * egi_picbox_new( char *tag, /* or NULL to ignore */
EGI_DATA_PIC *egi_data,
bool movable,
int x0, int y0,
int frame,
int prmcolor /* applys only if prmcolor>=0 and egi_data->icon != NULL */
);
int egi_picbox_renewimg(EGI_EBOX *ebox, EGI_IMGBUF **peimg);
int egi_picbox_activate(EGI_EBOX *ebox);
int egi_picbox_refresh(EGI_EBOX *ebox);
int egi_picbox_sleep(EGI_EBOX *ebox);
void egi_free_data_pic(EGI_DATA_PIC *data_pic);
#endif