summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2010-11-22 23:52:21 +0100
committerRaphael Langella <raphael.langella@gmail.com>2010-11-22 23:52:21 +0100
commitf8933e099c3d6e56a94fee17c566e77de025f62b (patch)
tree94d2b6fb403b5aebca2dbf26fff8a634e44cdca3 /crawl-ref/source/invent.h
parent0651fb252e61d7bc3e8805d3d758285240c0c213 (diff)
downloadcrawl-ref-f8933e099c3d6e56a94fee17c566e77de025f62b.tar.gz
crawl-ref-f8933e099c3d6e56a94fee17c566e77de025f62b.zip
Replace the menu_cursor option by automagic
Happy birthday David :)
Diffstat (limited to 'crawl-ref/source/invent.h')
-rw-r--r--crawl-ref/source/invent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/invent.h b/crawl-ref/source/invent.h
index 1c992bdf5b..142f516b70 100644
--- a/crawl-ref/source/invent.h
+++ b/crawl-ref/source/invent.h
@@ -73,6 +73,7 @@ class InvEntry : public MenuEntry
private:
static bool show_prices;
static bool show_glyph;
+ static bool show_cursor;
static void set_show_prices(bool doshow);
mutable std::string basename;
@@ -86,6 +87,7 @@ public:
InvEntry(const item_def &i);
std::string get_text(const bool need_cursor = false) const;
void set_show_glyph(bool doshow);
+ static void set_show_cursor(bool doshow);
const std::string &get_basename() const;
const std::string &get_qualname() const;