From 784109076e959d4ef6432035199c712b38f08dc1 Mon Sep 17 00:00:00 2001 From: haranp Date: Mon, 27 Nov 2006 07:30:18 +0000 Subject: 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 --- crawl-ref/source/menu.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/menu.cc') diff --git a/crawl-ref/source/menu.cc b/crawl-ref/source/menu.cc index 204ffc5b3a..7125555e7a 100644 --- a/crawl-ref/source/menu.cc +++ b/crawl-ref/source/menu.cc @@ -506,10 +506,10 @@ void Menu::draw_item( int index ) const return; gotoxy( 1, y_offset + index - first_entry ); - draw_item(index, items[index]); + draw_index_item(index, items[index]); } -void Menu::draw_item(int index, const MenuEntry *me) const +void Menu::draw_index_item(int index, const MenuEntry *me) const { if (f_drawitem) (*f_drawitem)(index, me); @@ -1221,7 +1221,7 @@ formatted_scroller::formatted_scroller(int _flags, const std::string& s) : } } -void formatted_scroller::draw_item(int index, const MenuEntry *me) const +void formatted_scroller::draw_index_item(int index, const MenuEntry *me) const { formatted_string::parse_string(me->text).display(); } -- cgit v1.2.3-54-g00ecf