shithub: slug

ref: 6e8d03dbe4e3f84c5aff74e8f72c8bd69e06009e
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;