shithub: spit

ref: 29c56196203e963280812f5272e5d80cef142df1
dir: /a.h/

View raw version
#include <u.h>
#include <libc.h>
#include <draw.h>
#include <mouse.h>
#include <keyboard.h>
#include <thread.h>
#include <memdraw.h>
#include <bio.h>
#include <pt.h>

typedef struct Lines Lines;

enum 
{
	Maxslides = 64,
	Maxlines  = 16 
};

struct Lines
{
	char *lines[Maxlines];
	uint nlines;
};

enum
{
	Cbg,
	Cfg,
	Cqbg,
	Cqbord,
	Ccbg,
	Ccbord,
	Ncols,
};

Sfont*	loadsfont(char*, float);
void*	emalloc(ulong);
Image*	ealloccol(ulong);