#include <widgets.h>

Public Member Functions | |
| Button (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 | |
| bool | down |
| GLfloat | raster [2] |
| int | text_width |
| Viewport | vinside |
| pangolin::Button::Button | ( | std::string | title, |
| _Var & | tv | ||
| ) |
Definition at line 214 of file widgets.cpp.
| void pangolin::Button::Mouse | ( | View & | , |
| MouseButton | button, | ||
| int | x, | ||
| int | y, | ||
| bool | pressed, | ||
| int | mouse_state | ||
| ) | [virtual] |
Reimplemented from pangolin::Handler.
Definition at line 226 of file widgets.cpp.
| void pangolin::Button::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 239 of file widgets.cpp.
| void pangolin::Button::ResizeChildren | ( | ) | [virtual] |
Instruct all children to resize.
Reimplemented from pangolin::View.
Definition at line 249 of file widgets.cpp.
| GLfloat pangolin::Button::raster[2] |