#include <manager_gui.h>
Public Member Functions | |
void | setStatus (bool active) |
SwitchButtonDrawingArea (int side_length=50, std::string title=std::string("NOT_SET")) | |
virtual | ~SwitchButtonDrawingArea () |
Protected Member Functions | |
virtual bool | on_draw (const Cairo::RefPtr< Cairo::Context > &cr) |
Protected Attributes | |
bool | active_ |
std::string | active_text_ |
std::string | not_active_text_ |
int | side_length_ |
std::string | title_text_ |
Definition at line 1123 of file manager_gui.h.
SwitchButtonDrawingArea::SwitchButtonDrawingArea | ( | int | side_length = 50 , |
|
std::string | title = std::string("NOT_SET") | |||
) | [inline] |
Definition at line 1126 of file manager_gui.h.
virtual SwitchButtonDrawingArea::~SwitchButtonDrawingArea | ( | ) | [inline, virtual] |
Definition at line 1137 of file manager_gui.h.
virtual bool SwitchButtonDrawingArea::on_draw | ( | const Cairo::RefPtr< Cairo::Context > & | cr | ) | [inline, protected, virtual] |
Definition at line 1150 of file manager_gui.h.
void SwitchButtonDrawingArea::setStatus | ( | bool | active | ) | [inline] |
Definition at line 1140 of file manager_gui.h.
bool SwitchButtonDrawingArea::active_ [protected] |
Definition at line 1258 of file manager_gui.h.
std::string SwitchButtonDrawingArea::active_text_ [protected] |
Definition at line 1260 of file manager_gui.h.
std::string SwitchButtonDrawingArea::not_active_text_ [protected] |
Definition at line 1261 of file manager_gui.h.
int SwitchButtonDrawingArea::side_length_ [protected] |
Definition at line 1262 of file manager_gui.h.
std::string SwitchButtonDrawingArea::title_text_ [protected] |
Definition at line 1259 of file manager_gui.h.