d5c80240f4
git-svn-id: svn://kolibrios.org@4377 a494cfbc-eb01-0410-851d-a64ba20cac60
18 lines
449 B
C
18 lines
449 B
C
#ifndef __PIXDRIVER_H__
|
|
#define __PIXDRIVER_H__
|
|
|
|
struct pix_driver
|
|
{
|
|
char *name;
|
|
|
|
int (*create_bitmap)(bitmap_t * bitmap);
|
|
int (*destroy_bitmap)(bitmap_t * bitmap);
|
|
int (*lock_bitmap)(bitmap_t * bitmap);
|
|
int (*blit)(bitmap_t * bitmap, int scale, int vsync,
|
|
int dst_x, int dst_y, int w, int h, int src_x, int src_y);
|
|
int (*resize_bitmap)(bitmap_t * bitmap);
|
|
void (*fini)(void);
|
|
};
|
|
|
|
#endif
|