From 2808929cf61f5c2043e3c5cca356d7d26ceeeb28 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 25 May 2006 21:07:14 +0000 Subject: 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(+) (limited to 'textscreen') 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("")); -- cgit v1.2.3