diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-11-27 07:30:18 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-11-27 07:30:18 +0000 |
commit | 784109076e959d4ef6432035199c712b38f08dc1 (patch) | |
tree | ee5451578f48595ee04fd9414b40ec0f10366121 /crawl-ref/source/menu.h | |
parent | d131ce057a429833e086b60cebeda46e062d07a1 (diff) | |
download | crawl-ref-784109076e959d4ef6432035199c712b38f08dc1.tar.gz crawl-ref-784109076e959d4ef6432035199c712b38f08dc1.zip |
Fixed hiding of draw_item() in derived classes of Menu.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@496 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r-- | crawl-ref/source/menu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h index d002912383..1b01fa1273 100644 --- a/crawl-ref/source/menu.h +++ b/crawl-ref/source/menu.h @@ -292,7 +292,7 @@ protected: void do_menu(); virtual void draw_select_count(int count, bool force = false); virtual void draw_item( int index ) const; - virtual void draw_item(int index, const MenuEntry *me) const; + virtual void draw_index_item(int index, const MenuEntry *me) const; virtual void draw_stock_item(int index, const MenuEntry *me) const; virtual void draw_title(); @@ -409,7 +409,7 @@ class formatted_scroller : public Menu public: formatted_scroller(int flags, const std::string& s); protected: - virtual void draw_item(int index, const MenuEntry* me) const; + virtual void draw_index_item(int index, const MenuEntry* me) const; }; int menu_colour(const std::string &itemtext); |