#include <mp_options.hpp>
Public Member Functions | |
checkbox_display (CVideo &video, const config &cfg) | |
~checkbox_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 |
virtual void | hide_children (bool hide) |
Public Member Functions inherited from mp::options::option_display | |
virtual | ~option_display () |
virtual void | process_event () |
Private Attributes | |
gui::button * | checkbox_ |
Definition at line 83 of file mp_options.hpp.
Definition at line 464 of file mp_options.cpp.
References checkbox_, gui::button::set_check(), and gui::widget::set_help_string().
mp::options::checkbox_display::~checkbox_display | ( | ) |
Definition at line 471 of file mp_options.cpp.
References checkbox_.
|
virtual |
Implements mp::options::option_display.
Definition at line 487 of file mp_options.cpp.
References checkbox_, and gui::button::checked().
|
virtual |
Implements mp::options::option_display.
Definition at line 494 of file mp_options.cpp.
References checkbox_, and gui::widget::hide().
|
virtual |
Implements mp::options::option_display.
Definition at line 476 of file mp_options.cpp.
References gui::scrollpane::add_widget(), checkbox_, and gui::widget::height().
|
virtual |
Implements mp::options::option_display.
Definition at line 482 of file mp_options.cpp.
References checkbox_, gui::button::set_check(), and config::attribute_value::to_bool().
|
private |
Definition at line 94 of file mp_options.hpp.
Referenced by checkbox_display(), get_value(), hide_children(), layout(), set_value(), and ~checkbox_display().