diff options
author | Simon Howard | 2006-05-25 21:07:14 +0000 |
---|---|---|
committer | Simon Howard | 2006-05-25 21:07:14 +0000 |
commit | 2808929cf61f5c2043e3c5cca356d7d26ceeeb28 (patch) | |
tree | 87eb3c0a041b3d20b781dd824b4d527f8d4b58dd /textscreen | |
parent | 7b54c078de505929eb1f5cb2dc9a91b3f48c5dc2 (diff) | |
download | chocolate-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')
-rw-r--r-- | textscreen/examples/calculator.c | 1 |
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("")); |