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

#include <widgets.h>

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

List of all members.

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.
 TextInput (std::string title, _Var &tv)

Public Attributes

bool do_edit
std::string edit
GLfloat raster [2]
int sel [2]
int text_width

Detailed Description

Definition at line 107 of file widgets.h.


Constructor & Destructor Documentation

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

Definition at line 453 of file widgets.cpp.


Member Function Documentation

void pangolin::TextInput::Keyboard ( View ,
unsigned char  key,
int  x,
int  y,
bool  pressed 
) [virtual]

Reimplemented from pangolin::Handler.

Definition at line 467 of file widgets.cpp.

void pangolin::TextInput::Mouse ( View view,
MouseButton  button,
int  x,
int  y,
bool  pressed,
int  mouse_state 
) [virtual]

Reimplemented from pangolin::Handler.

Definition at line 548 of file widgets.cpp.

void pangolin::TextInput::MouseMotion ( View ,
int  x,
int  y,
int  mouse_state 
) [virtual]

Reimplemented from pangolin::Handler.

Definition at line 596 of file widgets.cpp.

void pangolin::TextInput::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 632 of file widgets.cpp.

Instruct all children to resize.

Reimplemented from pangolin::View.

Definition at line 626 of file widgets.cpp.


Member Data Documentation

Definition at line 121 of file widgets.h.

Definition at line 115 of file widgets.h.

Definition at line 120 of file widgets.h.

Definition at line 122 of file widgets.h.

Definition at line 119 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