2016-06-07 13:53:24 +02:00
|
|
|
/*
|
|
|
|
* draw.h
|
|
|
|
*
|
|
|
|
* Code to print to the screen by mid-kid @CakesFW
|
|
|
|
*/
|
|
|
|
|
2016-03-19 17:30:56 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
2016-06-07 13:53:24 +02:00
|
|
|
#define SCREEN_TOP_WIDTH 400
|
|
|
|
#define SCREEN_TOP_HEIGHT 240
|
|
|
|
|
|
|
|
#define SPACING_Y 10
|
|
|
|
#define SPACING_X 8
|
2016-03-19 17:30:56 +01:00
|
|
|
|
2016-03-20 17:16:40 +01:00
|
|
|
void clearScreens(void);
|
2016-03-19 17:30:56 +01:00
|
|
|
void drawCharacter(char character, int pos_x, int pos_y, u32 color);
|
|
|
|
int drawString(const char *string, int pos_x, int pos_y, u32 color);
|