All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
pangolin::Button Struct Reference

#include <widgets.h>

Inheritance diagram for pangolin::Button:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 64 of file widgets.h.


Constructor & Destructor Documentation

pangolin::Button::Button ( std::string  title,
_Var tv 
)

Definition at line 214 of file widgets.cpp.


Member Function Documentation

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.

Instruct all children to resize.

Reimplemented from pangolin::View.

Definition at line 249 of file widgets.cpp.


Member Data Documentation

Definition at line 75 of file widgets.h.

Definition at line 73 of file widgets.h.

Definition at line 72 of file widgets.h.

Definition at line 74 of file widgets.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


pangolin_wrapper
Author(s): Todor Stoyanov
autogenerated on Wed Feb 13 2013 14:03:25