#include <mp_options.hpp>
Public Member Functions | |
combo_display (CVideo &video, const config &cfg) | |
~combo_display () | |
void | layout (int &xpos, int &ypos, int w, int border_size, gui::scrollpane *pane) |
void | set_value (const config::attribute_value &val) |
config::attribute_value | get_value () const |
void | hide_children (bool hide) |
Public Member Functions inherited from mp::options::option_display | |
virtual | ~option_display () |
virtual void | process_event () |
Private Attributes | |
gui::label * | label_ |
gui::combo * | combo_ |
std::vector< std::string > | values_ |
Definition at line 97 of file mp_options.hpp.
Definition at line 520 of file mp_options.cpp.
References config::child_range(), combo_, mp_ui_alerts::items, gui::widget::set_help_string(), gui::combo::set_items(), set_value(), and values_.
mp::options::combo_display::~combo_display | ( | ) |
Definition at line 536 of file mp_options.cpp.
|
virtual |
Implements mp::options::option_display.
Definition at line 560 of file mp_options.cpp.
References combo_, gui::combo::selected(), and values_.
|
virtual |
Implements mp::options::option_display.
Definition at line 567 of file mp_options.cpp.
References combo_, gui::widget::hide(), and label_.
|
virtual |
Implements mp::options::option_display.
Definition at line 542 of file mp_options.cpp.
References gui::scrollpane::add_widget(), combo_, gui::widget::height(), label_, and gui::widget::width().
|
virtual |
Implements mp::options::option_display.
Definition at line 549 of file mp_options.cpp.
References combo_, i, gui::combo::set_selected(), and values_.
Referenced by combo_display().
|
private |
Definition at line 110 of file mp_options.hpp.
Referenced by combo_display(), get_value(), hide_children(), layout(), set_value(), and ~combo_display().
|
private |
Definition at line 109 of file mp_options.hpp.
Referenced by hide_children(), layout(), and ~combo_display().
|
private |
Definition at line 112 of file mp_options.hpp.
Referenced by combo_display(), get_value(), and set_value().