shithub: guifs

ref: ab90a480eb5233abc4d7122739c24656dd42cc94
dir: /guispec.c/

View raw version
#include <u.h>
#include <libc.h>
#include <draw.h>
#include <thread.h>
#include <mouse.h>

#include "guifs.h"

int containerprops[] = {Porientation};
int textboxprops[] = {Ptext, Ptextcolour};

GuiSpec guispecs[Gmax] = {
	[Gcontainer] = { "container",	drawcontainer,	layoutcontainer,	0,	nelem(containerprops),	containerprops},
	[Gtextbox] = { "textbox",	drawtextbox,	layouttextbox,		1,	nelem(textboxprops),	textboxprops},
};