some progress
This commit is contained in:
23
canvas.h
Normal file
23
canvas.h
Normal file
@ -0,0 +1,23 @@
|
||||
#ifndef _CANVAS_H_
|
||||
#define _CANVAS_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
#define CANVAS_WIDTH 10
|
||||
#define CANVAS_HEIGHT 6
|
||||
|
||||
typedef struct {
|
||||
uint8_t width;
|
||||
uint8_t height;
|
||||
uint8_t size;
|
||||
uint8_t *canvas;
|
||||
} canvas_t;
|
||||
|
||||
void canvasInit();
|
||||
canvas_t *canvasGet();
|
||||
void canvasShow();
|
||||
|
||||
|
||||
|
||||
#endif // _CANVAS_H_
|
Reference in New Issue
Block a user