mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-15 19:33:59 +03:00
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
|