diff options
author | Simon Howard | 2012-03-01 20:26:56 +0000 |
---|---|---|
committer | Simon Howard | 2012-03-01 20:26:56 +0000 |
commit | 9ffd1cc4d4bbd2b2799cbd0bf927fc4f30aed63e (patch) | |
tree | 06e5d3599db4c7bec3bcc032a241424d0bccc7e3 /textscreen/txt_gui.h | |
parent | 920ffea9b631e712ff0826911db01a76edbe7521 (diff) | |
download | chocolate-doom-9ffd1cc4d4bbd2b2799cbd0bf927fc4f30aed63e.tar.gz chocolate-doom-9ffd1cc4d4bbd2b2799cbd0bf927fc4f30aed63e.tar.bz2 chocolate-doom-9ffd1cc4d4bbd2b2799cbd0bf927fc4f30aed63e.zip |
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
Diffstat (limited to 'textscreen/txt_gui.h')
-rw-r--r-- | textscreen/txt_gui.h | 6 |
1 files changed, 3 insertions, 3 deletions
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); |