summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libw32c.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-03 21:30:28 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-03 21:30:28 +0000
commit8d59ecb644b434baad4575f55bd66d93b4f3a4c1 (patch)
tree59fe16599b03406a95de1bf9c0ee01079fef5830 /crawl-ref/source/libw32c.h
parent38e77f4ea4395ed90f12e880224e5bd378113602 (diff)
downloadcrawl-ref-8d59ecb644b434baad4575f55bd66d93b4f3a4c1.tar.gz
crawl-ref-8d59ecb644b434baad4575f55bd66d93b4f3a4c1.zip
Merged fix for IBM graphics glitches on Unix from 0.3 (2990-2991).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2992 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libw32c.h')
-rw-r--r--crawl-ref/source/libw32c.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/libw32c.h b/crawl-ref/source/libw32c.h
index 09ccbb906b..46146a920b 100644
--- a/crawl-ref/source/libw32c.h
+++ b/crawl-ref/source/libw32c.h
@@ -54,4 +54,10 @@ void enable_smart_cursor(bool cursor);
bool is_smart_cursor_enabled();
void set_mouse_enabled(bool enabled);
+inline void put_colour_ch(int colour, unsigned ch)
+{
+ textattr(colour);
+ putwch(ch);
+}
+
#endif