ref: 0ad54d136ef33d61172658e97b538f7cd6a91c26
dir: /guispec.c/
#include <u.h> #include <libc.h> #include <draw.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}, };