Moved screen buffer code to seperate file.

This commit is contained in:
HylkeV 2016-12-07 20:34:08 +01:00
parent d10d44af6b
commit 3f53f337c7
5 changed files with 223 additions and 152 deletions

11
C/Server/screenbuffer.h Normal file
View file

@ -0,0 +1,11 @@
#ifndef _SCREENBUFFER_H
#define _SCREENBUFFER_H
#include <stdint.h>
int8_t init_frame_buffer(void);
void deinit_frame_buffer(void);
void write_pixel_to_screen(uint16_t x, uint16_t y, uint16_t r, uint16_t g, uint16_t b, uint8_t a);
#endif