2015-08-05 05:54:00 -04:00
|
|
|
/*
|
|
|
|
|
* draw.h
|
2016-03-23 02:27:53 +01:00
|
|
|
*
|
2016-04-23 01:43:11 +02:00
|
|
|
* Code to print to the screen by mid-kid @CakesFW
|
2015-08-05 05:54:00 -04:00
|
|
|
*/
|
|
|
|
|
|
2016-03-11 15:08:05 +01:00
|
|
|
#pragma once
|
2016-03-06 03:41:07 +01:00
|
|
|
|
2015-08-05 05:54:00 -04:00
|
|
|
#include "types.h"
|
|
|
|
|
|
2016-05-02 02:02:31 +02:00
|
|
|
#define SCREEN_TOP_WIDTH 400
|
|
|
|
|
#define SCREEN_TOP_HEIGHT 240
|
|
|
|
|
|
|
|
|
|
#define SPACING_Y 10
|
|
|
|
|
#define SPACING_X 8
|
|
|
|
|
|
2016-04-05 05:27:28 +02:00
|
|
|
#define COLOR_TITLE 0xFF9900
|
|
|
|
|
#define COLOR_WHITE 0xFFFFFF
|
|
|
|
|
#define COLOR_RED 0x0000FF
|
|
|
|
|
#define COLOR_BLACK 0x000000
|
2016-03-23 02:27:53 +01:00
|
|
|
|
2016-05-10 01:27:58 +02:00
|
|
|
u32 loadSplash(void);
|
2016-03-29 17:43:53 +02:00
|
|
|
void drawCharacter(char character, int posX, int posY, u32 color);
|
|
|
|
|
int drawString(const char *string, int posX, int posY, u32 color);
|