summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilefont.h
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-11 15:25:50 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-11 16:18:08 +0100
commite31ea7d79da677a7cb752d863cdb8f2942984b4f (patch)
tree38d50ebde47b4cdbaa4f9235b8f500121bf37982 /crawl-ref/source/tilefont.h
parent40b5e8b46a50b9f3f23099983f3799534ff7e211 (diff)
downloadcrawl-ref-e31ea7d79da677a7cb752d863cdb8f2942984b4f.tar.gz
crawl-ref-e31ea7d79da677a7cb752d863cdb8f2942984b4f.zip
Experimentally draw tool tip below the mouse pointer rather than above.
It's a bit less distracting this way and doesn't cover up the inventory header line (description).
Diffstat (limited to 'crawl-ref/source/tilefont.h')
-rw-r--r--crawl-ref/source/tilefont.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/tilefont.h b/crawl-ref/source/tilefont.h
index 8ca50c9d18..8ec1356903 100644
--- a/crawl-ref/source/tilefont.h
+++ b/crawl-ref/source/tilefont.h
@@ -42,7 +42,8 @@ public:
const coord_def &min_pos, const coord_def &max_pos,
unsigned char font_colour, bool drop_shadow = false,
unsigned char box_alpha = 0,
- unsigned char box_colour = 0, unsigned int outline = 0);
+ unsigned char box_colour = 0, unsigned int outline = 0,
+ bool tooltip = false);
// FontBuffer helper functions
void store(FontBuffer &buf, float &x, float &y,