From c818fb021632cbb68229ba265f01b060e6b6d0f4 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Fri, 3 Feb 2012 20:21:17 +0000 Subject: Split off UTF-8 code into separate file and add extra functions. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2489 --- textscreen/txt_gui.h | 1 + 1 file changed, 1 insertion(+) (limited to 'textscreen/txt_gui.h') diff --git a/textscreen/txt_gui.h b/textscreen/txt_gui.h index 06fc7a36..3aa6e629 100644 --- a/textscreen/txt_gui.h +++ b/textscreen/txt_gui.h @@ -34,6 +34,7 @@ void TXT_DrawDesktopBackground(const char *title); void TXT_DrawWindowFrame(const char *title, int x, int y, int w, int h); void TXT_DrawSeparator(int x, int y, int w); void TXT_DrawString(const char *s); +void TXT_DrawUTF8String(const char *s); void TXT_DrawHorizScrollbar(int x, int y, int w, int cursor, int range); void TXT_DrawVertScrollbar(int x, int y, int h, int cursor, int range); -- cgit v1.2.3 From 9ffd1cc4d4bbd2b2799cbd0bf927fc4f30aed63e Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 1 Mar 2012 20:26:56 +0000 Subject: Rework the way that window background colors are set, and change the background color of inactive windows to black, to give better contrast when viewing many layered windows. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2507 --- textscreen/txt_gui.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'textscreen/txt_gui.h') diff --git a/textscreen/txt_gui.h b/textscreen/txt_gui.h index 3aa6e629..e4504af8 100644 --- a/textscreen/txt_gui.h +++ b/textscreen/txt_gui.h @@ -27,8 +27,9 @@ #ifndef TXT_GUI_H #define TXT_GUI_H -#define TXT_WINDOW_BACKGROUND TXT_COLOR_BLUE -#define TXT_HOVER_BACKGROUND TXT_COLOR_CYAN +#define TXT_INACTIVE_WINDOW_BACKGROUND TXT_COLOR_BLACK +#define TXT_ACTIVE_WINDOW_BACKGROUND TXT_COLOR_BLUE +#define TXT_HOVER_BACKGROUND TXT_COLOR_CYAN void TXT_DrawDesktopBackground(const char *title); void TXT_DrawWindowFrame(const char *title, int x, int y, int w, int h); @@ -39,7 +40,6 @@ void TXT_DrawUTF8String(const char *s); void TXT_DrawHorizScrollbar(int x, int y, int w, int cursor, int range); void TXT_DrawVertScrollbar(int x, int y, int h, int cursor, int range); - void TXT_InitClipArea(void); void TXT_PushClipArea(int x1, int x2, int y1, int y2); void TXT_PopClipArea(void); -- cgit v1.2.3