aboutsummaryrefslogtreecommitdiff
path: root/src/graphics/draw.h
blob: 4bc98162c2e4a559383b6960fe224862f08dbf53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef GRAPHICS_DRAW_H
#define GRAPHICS_DRAW_H

enum {
	SWIDTH = 640,
	SHEIGHT = 480,
	BPP = 16
};

extern unsigned long vram_base;
extern void clear_screen();
extern void draw_pix(unsigned long, unsigned long, unsigned short);

void draw_box(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short);

#endif