summaryrefslogtreecommitdiff
path: root/guispec.c
diff options
context:
space:
mode:
Diffstat (limited to 'guispec.c')
-rw-r--r--guispec.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/guispec.c b/guispec.c
index 2539182..8272594 100644
--- a/guispec.c
+++ b/guispec.c
@@ -4,8 +4,10 @@
#include "guifs.h"
-int containerprops[] = {Pbackground, Porientation};
+int containerprops[] = {Porientation};
+int textboxprops[] = {Ptext, Ptextcolour};
GuiSpec guispecs[Gmax] = {
- [Gcontainer] = { "container", drawcontainer, layoutcontainer, nelem(containerprops), containerprops}
+ [Gcontainer] = { "container", drawcontainer, layoutcontainer, 0, nelem(containerprops), containerprops},
+ [Gtextbox] = { "textbox", drawtextbox, layouttextbox, 1, nelem(textboxprops), textboxprops},
}; \ No newline at end of file