summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/menu.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2012-04-22 19:20:16 +0200
committerRaphael Langella <raphael.langella@gmail.com>2012-04-22 19:21:46 +0200
commit92ee5181cb54c6bf65165850baaf4ff99d023025 (patch)
tree9ca329ee2a5749335085b36826fb379da6b0a545 /crawl-ref/source/menu.h
parentb33b8708eee6cc36b43e114f79becb09238487bf (diff)
downloadcrawl-ref-92ee5181cb54c6bf65165850baaf4ff99d023025.tar.gz
crawl-ref-92ee5181cb54c6bf65165850baaf4ff99d023025.zip
Unprotect PrecisionMenu::clear_selections.
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r--crawl-ref/source/menu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h
index 4c11551c06..845c3bf85e 100644
--- a/crawl-ref/source/menu.h
+++ b/crawl-ref/source/menu.h
@@ -1082,6 +1082,7 @@ public:
virtual MenuObject* get_object_by_name(const std::string& search);
virtual MenuItem* get_active_item();
virtual void set_active_object(MenuObject* object);
+ virtual void clear_selections();
protected:
// These correspond to the Arrow keys when used for browsing the menus
enum Direction
@@ -1091,7 +1092,6 @@ protected:
LEFT,
RIGHT,
};
- void _clear_selections();
MenuObject* _find_object_by_direction(const MenuObject* start, Direction dir);
std::vector<MenuObject*> m_attached_objects;