MCPcopy Create free account
hub / github.com/crawl/crawl / set_initial_focus

Method set_initial_focus

crawl-ref/source/outer-menu.h:83–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 MenuButton* get_button_by_id(int id);
82 const vector<MenuButton*>& get_buttons() { return m_buttons; };
83 void set_initial_focus(MenuButton *btn) {
84 ASSERT(!have_allocated);
85 m_initial_focus = btn;
86 };
87
88 void scroll_button_into_view(MenuButton *btn);
89

Callers 4

_add_group_itemMethod · 0.80
_construct_weapon_menuFunction · 0.80
pick_hintsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected