summaryrefslogtreecommitdiff
path: root/guispec.c
blob: 65e824c36246d45bcfb7ee6750dce3b2943e2a2d (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, Pscroll};

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