Subversion Repositories Kolibri OS

Rev

Rev 8101 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
8101 superturbo 1
 
2
typedef struct
3
{
4
int  w;
5
int  h;
6
char *bmp;
7
char *alpha;
8
} GB_BMP;
9
#pragma pack(pop)
10
11
 
12
int  gb_pixel_get(GB_BMP *b, int x, int y, unsigned *c);
13
void gb_line(GB_BMP *b, int x1, int y1, int x2, int y2, unsigned c);
14
void gb_rect(GB_BMP *b, int x, int y, int w, int h, unsigned c);
15
void gb_bar(GB_BMP *b, int x, int y, int w, int h, unsigned c);
16
void gb_circle(GB_BMP *b, int x, int y, int r, unsigned c);
17
void gb_image_set(GB_BMP *b_dest, int x_d, int y_d, GB_BMP *b_src, int x_s, int y_s, int w, int h);
18
void gb_image_set_t(GB_BMP *b_dest, int x_d, int y_d, GB_BMP *b_src, int x_s, int y_s, int w, int h, unsigned c);
19