summaryrefslogtreecommitdiff
path: root/guispec.c
blob: a2f22c186baa4eb834dd68ffd8e7ad94951d4a8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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},
};