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