#include <widgets.h>
Public Member Functions | |
void | Keyboard (View &, unsigned char key, int x, int y, bool pressed) |
void | Mouse (View &, MouseButton button, int x, int y, bool pressed, int mouse_state) |
void | MouseMotion (View &, int x, int y, int mouse_state) |
void | Render () |
void | ResizeChildren () |
Instruct all children to resize. | |
Slider (std::string title, _Var &tv) | |
Public Attributes | |
bool | lock_bounds |
bool | logscale |
GLfloat | raster [2] |
int | text_width |
pangolin::Slider::Slider | ( | std::string | title, |
_Var & | tv | ||
) |
Definition at line 302 of file widgets.cpp.
void pangolin::Slider::Keyboard | ( | View & | , |
unsigned char | key, | ||
int | x, | ||
int | y, | ||
bool | pressed | ||
) | [virtual] |
Reimplemented from pangolin::Handler.
Definition at line 315 of file widgets.cpp.
void pangolin::Slider::Mouse | ( | View & | view, |
MouseButton | button, | ||
int | x, | ||
int | y, | ||
bool | pressed, | ||
int | mouse_state | ||
) | [virtual] |
Reimplemented from pangolin::Handler.
Definition at line 348 of file widgets.cpp.
void pangolin::Slider::MouseMotion | ( | View & | , |
int | x, | ||
int | y, | ||
int | mouse_state | ||
) | [virtual] |
Reimplemented from pangolin::Handler.
Definition at line 389 of file widgets.cpp.
void pangolin::Slider::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 421 of file widgets.cpp.
void pangolin::Slider::ResizeChildren | ( | ) | [virtual] |
Instruct all children to resize.
Reimplemented from pangolin::View.
Definition at line 415 of file widgets.cpp.
GLfloat pangolin::Slider::raster[2] |