ref: 2808929cf61f5c2043e3c5cca356d7d26ceeeb28
parent: 7b54c078de505929eb1f5cb2dc9a91b3f48c5dc2
author: Simon Howard <[email protected]>
date: Thu May 25 17:07:14 EDT 2006
Allow the fg/bg colors to be set on labels. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 528
--- a/textscreen/examples/calculator.c
+++ b/textscreen/examples/calculator.c
@@ -118,6 +118,7 @@
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(""));