11 lines
408 B
C
11 lines
408 B
C
#ifndef __INCLUDE_FRAMEBUFFER_H__
|
|
#define __INCLUDE_FRAMEBUFFER_H__
|
|
|
|
#include <stdint.h>
|
|
|
|
void fb_draw_pixel(uint16_t *image, uint16_t x, uint16_t y, uint16_t color);
|
|
void fb_draw_line(uint16_t *image, int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color);
|
|
void fb_load_image(uint16_t *dst, uint16_t *src, uint32_t length);
|
|
void fb_set_image(uint16_t *dst, uint16_t value, uint32_t length);
|
|
|
|
#endif |