4 /* to be provided by the hardware implementation */
5 extern unsigned char *framebuffer
;
6 extern void fb_refresh();
8 unsigned int guilib_framebuffer_width(void);
9 unsigned int guilib_framebuffer_height(void);
10 unsigned int guilib_framebuffer_size(void);
12 /* implemented by guilib */
13 void guilib_init(void);
15 /* generic pixel value accessors
16 * the get method is only needed by the simulators */
17 void guilib_set_pixel(int x
, int y
, int v
);
18 int guilib_get_pixel(int x
, int y
);
19 void guilib_invert(int start
, int lines
);
20 void guilib_clear(void);
22 /* functions for graphics context management */
23 void guilib_fb_lock(void);
24 void guilib_fb_unlock(void);
32 void guilib_blit_image(const struct guilib_image
*img
, int x
, int y
);