shithub: slug

ref: df5ab4df0f996f4d1894c9cbe0f3edc10aca848a
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>

void	resize(lua_State*, int, int);

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

Image*	color(int, int, int);
Image*	grayscale(int);

extern int drawing;
extern Image* canvas;
extern int width;
extern int height;