#include <menu.h>
enum MenuObject::Direction [protected] |
MenuObject::MenuObject | ( | ) |
MenuObject::~MenuObject | ( | ) | [virtual] |
void MenuObject::set_tile_height | ( | ) |
void MenuObject::init | ( | const coord_def & | min_coord, | |
const coord_def & | max_coord, | |||
const std::string & | name | |||
) |
Reimplemented in MenuDescriptor.
const coord_def& MenuObject::get_min_coord | ( | ) | const [inline] |
const coord_def& MenuObject::get_max_coord | ( | ) | const [inline] |
const std::string& MenuObject::get_name | ( | ) | const [inline] |
void MenuObject::allow_focus | ( | bool | toggle | ) | [virtual] |
Reimplemented in MenuDescriptor, and BoxMenuHighlighter.
bool MenuObject::can_be_focused | ( | ) | [virtual] |
Reimplemented in MenuDescriptor, and BoxMenuHighlighter.
virtual InputReturnValue MenuObject::process_input | ( | int | key | ) | [pure virtual] |
Implemented in MenuFreeform, MenuScroller, MenuDescriptor, and BoxMenuHighlighter.
virtual void MenuObject::render | ( | ) | [pure virtual] |
Implemented in MenuFreeform, MenuScroller, MenuDescriptor, MenuTooltip, BoxMenuHighlighter, and BlackWhiteHighlighter.
virtual void MenuObject::set_active_item | ( | int | ID | ) | [pure virtual] |
Implemented in MenuFreeform, MenuScroller, MenuDescriptor, and BoxMenuHighlighter.
virtual void MenuObject::set_active_item | ( | MenuItem * | item | ) | [pure virtual] |
Implemented in MenuFreeform, MenuScroller, MenuDescriptor, and BoxMenuHighlighter.
virtual void MenuObject::activate_first_item | ( | ) | [pure virtual] |
Implemented in MenuFreeform, MenuScroller, MenuDescriptor, and BoxMenuHighlighter.
virtual void MenuObject::activate_last_item | ( | ) | [pure virtual] |
Implemented in MenuFreeform, MenuScroller, MenuDescriptor, and BoxMenuHighlighter.
void MenuObject::set_visible | ( | bool | flag | ) | [virtual] |
bool MenuObject::is_visible | ( | ) | const [virtual] |
std::vector< MenuItem * > MenuObject::get_selected_items | ( | ) | [virtual] |
Reimplemented in MenuDescriptor, and BoxMenuHighlighter.
virtual bool MenuObject::select_item | ( | int | index | ) | [pure virtual] |
Implemented in MenuFreeform, MenuScroller, MenuDescriptor, and BoxMenuHighlighter.
virtual bool MenuObject::select_item | ( | MenuItem * | item | ) | [pure virtual] |
Implemented in MenuFreeform, MenuScroller, MenuDescriptor, and BoxMenuHighlighter.
MenuItem * MenuObject::find_item_by_hotkey | ( | int | key | ) | [virtual] |
MenuItem * MenuObject::select_item_by_hotkey | ( | int | key | ) | [virtual] |
void MenuObject::clear_selections | ( | ) | [virtual] |
Reimplemented in MenuDescriptor, and BoxMenuHighlighter.
virtual MenuItem* MenuObject::get_active_item | ( | ) | [pure virtual] |
Implemented in MenuFreeform, MenuScroller, MenuDescriptor, and BoxMenuHighlighter.
virtual bool MenuObject::attach_item | ( | MenuItem * | item | ) | [pure virtual] |
Implemented in MenuFreeform, MenuScroller, MenuDescriptor, and BoxMenuHighlighter.
virtual void MenuObject::_place_items | ( | ) | [protected, pure virtual] |
Implemented in MenuFreeform, MenuScroller, MenuDescriptor, MenuTooltip, BoxMenuHighlighter, and BlackWhiteHighlighter.
bool MenuObject::_is_mouse_in_bounds | ( | const coord_def & | pos | ) | [protected, virtual] |
virtual MenuItem* MenuObject::_find_item_by_direction | ( | const MenuItem * | start, | |
MenuObject::Direction | dir | |||
) | [protected, pure virtual] |
Implemented in MenuFreeform, MenuScroller, MenuDescriptor, and BoxMenuHighlighter.
bool MenuObject::m_dirty [protected] |
bool MenuObject::m_allow_focus [protected] |
bool MenuObject::m_visible [protected] |
coord_def MenuObject::m_min_coord [protected] |
coord_def MenuObject::m_max_coord [protected] |
std::string MenuObject::m_object_name [protected] |
std::vector<MenuItem*> MenuObject::m_entries [protected] |