shithub: slug

ref: f5e46949cee9ce3053d87b38f3b9e36dc2d9af1b
dir: /a.h/

View raw version
#include <u.h>
#include <libc.h>
#include <thread.h>
#include <draw.h>
#include <mouse.h>
#include <keyboard.h>
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>

typedef struct Color Color;

struct Color
{
	ulong color;
	Image *i;
};

void	drawcanvas(void);
void	initstate(void);
void	registerfuncs(lua_State*);

Image*	getcolor(int);

extern Image* canvas;