summaryrefslogtreecommitdiff
path: root/textscreen/txt_gui.h
diff options
context:
space:
mode:
authorSimon Howard2011-04-04 20:07:07 +0000
committerSimon Howard2011-04-04 20:07:07 +0000
commit9f3f6683d929d118b18e21b06a0b729586569e1a (patch)
tree1a30dd5d65b9b371eb7beb66273ba134f2a38319 /textscreen/txt_gui.h
parentf596cfcd76c8c03c41c0691561c9b3c9c4419393 (diff)
downloadchocolate-doom-9f3f6683d929d118b18e21b06a0b729586569e1a.tar.gz
chocolate-doom-9f3f6683d929d118b18e21b06a0b729586569e1a.tar.bz2
chocolate-doom-9f3f6683d929d118b18e21b06a0b729586569e1a.zip
Change the background color when hovering over widgets.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2320
Diffstat (limited to 'textscreen/txt_gui.h')
-rw-r--r--textscreen/txt_gui.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/textscreen/txt_gui.h b/textscreen/txt_gui.h
index ad7ae428..06fc7a36 100644
--- a/textscreen/txt_gui.h
+++ b/textscreen/txt_gui.h
@@ -27,6 +27,9 @@
#ifndef TXT_GUI_H
#define TXT_GUI_H
+#define TXT_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);
void TXT_DrawSeparator(int x, int y, int w);
@@ -35,6 +38,7 @@ void TXT_DrawString(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);