#include <widgets.h>
Public Member Functions | |
Checkbox (std::string title, _Var &tv) | |
void | Mouse (View &, MouseButton button, int x, int y, bool pressed, int mouse_state) |
void | Render () |
void | ResizeChildren () |
Instruct all children to resize. | |
Public Attributes | |
GLfloat | raster [2] |
int | text_width |
Viewport | vcb |
pangolin::Checkbox::Checkbox | ( | std::string | title, |
_Var & | tv | ||
) |
Definition at line 256 of file widgets.cpp.
void pangolin::Checkbox::Mouse | ( | View & | , |
MouseButton | button, | ||
int | x, | ||
int | y, | ||
bool | pressed, | ||
int | mouse_state | ||
) | [virtual] |
Reimplemented from pangolin::Handler.
Definition at line 268 of file widgets.cpp.
void pangolin::Checkbox::Render | ( | void | ) | [virtual] |
Perform any automatic rendering for this View. Default implementation simply instructs children to render themselves.
Reimplemented from pangolin::View.
Definition at line 286 of file widgets.cpp.
void pangolin::Checkbox::ResizeChildren | ( | ) | [virtual] |
Instruct all children to resize.
Reimplemented from pangolin::View.
Definition at line 277 of file widgets.cpp.
GLfloat pangolin::Checkbox::raster[2] |