mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-15 19:33:59 +03:00
3287cff0b2
git-svn-id: svn://kolibrios.org@5371 a494cfbc-eb01-0410-851d-a64ba20cac60
19 lines
709 B
C
19 lines
709 B
C
#ifndef __PIXDRIVER_H__
|
|
#define __PIXDRIVER_H__
|
|
|
|
struct pix_driver
|
|
{
|
|
uint32_t driver_caps;
|
|
bitmap_t *(*create_bitmap)(uint32_t width, uint32_t height);
|
|
int (*destroy_bitmap)(bitmap_t *bitmap);
|
|
void *(*lock_bitmap)(bitmap_t *bitmap, uint32_t *pitch);
|
|
int (*resize_bitmap)(bitmap_t *bitmap, uint32_t width, uint32_t height);
|
|
int (*blit_bitmap)(bitmap_t * bitmap, int dst_x, int dst_y,
|
|
uint32_t w, uint32_t h, int src_x, int src_y);
|
|
int (*create_client)(int x, int y, uint32_t width, uint32_t height);
|
|
int (*resize_client)(int x, int y, uint32_t width, uint32_t height);
|
|
void (*fini)(void);
|
|
};
|
|
|
|
#endif
|