summaryrefslogtreecommitdiff
path: root/textscreen/examples
diff options
context:
space:
mode:
authorSimon Howard2006-05-25 21:07:14 +0000
committerSimon Howard2006-05-25 21:07:14 +0000
commit2808929cf61f5c2043e3c5cca356d7d26ceeeb28 (patch)
tree87eb3c0a041b3d20b781dd824b4d527f8d4b58dd /textscreen/examples
parent7b54c078de505929eb1f5cb2dc9a91b3f48c5dc2 (diff)
downloadchocolate-doom-2808929cf61f5c2043e3c5cca356d7d26ceeeb28.tar.gz
chocolate-doom-2808929cf61f5c2043e3c5cca356d7d26ceeeb28.tar.bz2
chocolate-doom-2808929cf61f5c2043e3c5cca356d7d26ceeeb28.zip
Allow the fg/bg colors to be set on labels.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 528
Diffstat (limited to 'textscreen/examples')
-rw-r--r--textscreen/examples/calculator.c1
1 files changed, 1 insertions, 0 deletions
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(""));