From ae660b7198deccb4b7348d743fda65e221c4df61 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 24 Sep 2006 13:05:44 +0000 Subject: Use proper arrow characters on spin controls and change their color. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 657 --- textscreen/txt_spinctrl.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'textscreen') diff --git a/textscreen/txt_spinctrl.c b/textscreen/txt_spinctrl.c index 074adb07..2b00ee59 100644 --- a/textscreen/txt_spinctrl.c +++ b/textscreen/txt_spinctrl.c @@ -81,11 +81,13 @@ static void TXT_SpinControlDrawer(TXT_UNCAST_ARG(spincontrol), int selected) unsigned int i; unsigned int padding; - TXT_FGColor(TXT_COLOR_BRIGHT_WHITE); + TXT_FGColor(TXT_COLOR_BRIGHT_CYAN); TXT_BGColor(TXT_COLOR_BLUE, 0); - TXT_DrawString("< "); + TXT_DrawString("\x1b "); + TXT_FGColor(TXT_COLOR_BRIGHT_WHITE); + // Choose background color if (selected && spincontrol->editing) @@ -129,8 +131,9 @@ static void TXT_SpinControlDrawer(TXT_UNCAST_ARG(spincontrol), int selected) ++i; } + TXT_FGColor(TXT_COLOR_BRIGHT_CYAN); TXT_BGColor(TXT_COLOR_BLUE, 0); - TXT_DrawString(" >"); + TXT_DrawString(" \x1a"); } static void TXT_SpinControlDestructor(TXT_UNCAST_ARG(spincontrol)) -- cgit v1.2.3