commit 2808929cf61f5c2043e3c5cca356d7d26ceeeb28
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Thu May 25 21:07:14 2006 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Thu May 25 21:07:14 2006 +0000
Allow the fg/bg colors to be set on labels.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 528
---
textscreen/examples/calculator.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/textscreen/examples/calculator.c b/textscreen/examples/calculator.c
index d51d4f9c..7c23252d 100644
--- a/textscreen/examples/calculator.c
+++ b/textscreen/examples/calculator.c
@@ -118,6 +118,7 @@ void BuildGUI()
TXT_AddWidget(window, TXT_NewSeparator(NULL));
input_box = TXT_NewLabel("asdf");
+ TXT_SetBGColor(input_box, TXT_COLOR_BLACK);
TXT_AddWidget(window, input_box);
TXT_AddWidget(window, TXT_NewSeparator(NULL));
TXT_AddWidget(window, TXT_NewLabel(""));