List of all members.
Public Member Functions |
| | Input (const std::string &="", const std::string &="", unsigned int=20) |
| virtual void | parented (Window *) |
| virtual void | positioned () |
| virtual bool | focus (const WindowManager *) |
| virtual bool | unfocus (const WindowManager *) |
| virtual bool | keyUp (int, int, const WindowManager *) |
| virtual bool | keyDown (int, int, const WindowManager *) |
| virtual bool | mouseDrag (double, double, const WindowManager *) |
| virtual bool | mousePush (double x, double y, const WindowManager *) |
| virtual bool | mouseRelease (double, double, const WindowManager *) |
| void | setCursor (Widget *) |
| unsigned int | calculateBestYOffset (const std::string &="qgl") |
| void | clear () |
| void | setXOffset (point_type xo) |
| void | setYOffset (point_type yo) |
| void | setXYOffset (point_type xo, point_type yo) |
| osg::Drawable * | getCursor () |
| const osg::Drawable * | getCursor () const |
| point_type | getXOffset () const |
| point_type | getYOffset () const |
| XYCoord | getXYOffset () const |
Protected Member Functions |
| virtual void | _calculateSize (const XYCoord &) |
| void | _calculateCursorOffsets () |
Protected Attributes |
| point_type | _xoff |
| point_type | _yoff |
| unsigned int | _index |
| unsigned int | _size |
| unsigned int | _cursorIndex |
| unsigned int | _maxSize |
| std::vector< point_type > | _offsets |
| std::vector< unsigned int > | _wordsOffsets |
| std::vector< point_type > | _widths |
| osg::ref_ptr< Widget > | _cursor |
| bool | _insertMode |
| osg::ref_ptr< Widget > | _selection |
| unsigned int | _selectionStartIndex |
| unsigned int | _selectionEndIndex |
| unsigned int | _selectionIndex |
| point_type | _mouseClickX |
Constructor & Destructor Documentation
| osgWidget::Input::Input |
( |
const std::string & |
= "", |
|
|
const std::string & |
= "", |
|
|
unsigned |
int = 20 |
|
) |
| |
Member Function Documentation
| void osgWidget::Input::_calculateCursorOffsets |
( |
| ) |
[protected] |
| virtual void osgWidget::Input::_calculateSize |
( |
const XYCoord & |
| ) |
[protected, virtual] |
| unsigned int osgWidget::Input::calculateBestYOffset |
( |
const std::string & |
= "qgl" | ) |
|
| void osgWidget::Input::clear |
( |
| ) |
|
| virtual bool osgWidget::Input::focus |
( |
const WindowManager * |
| ) |
[virtual] |
| const osg::Drawable* osgWidget::Input::getCursor |
( |
| ) |
const [inline] |
| point_type osgWidget::Input::getXOffset |
( |
| ) |
const [inline] |
| XYCoord osgWidget::Input::getXYOffset |
( |
| ) |
const [inline] |
| point_type osgWidget::Input::getYOffset |
( |
| ) |
const [inline] |
| virtual bool osgWidget::Input::keyDown |
( |
int |
, |
|
|
int |
, |
|
|
const WindowManager * |
|
|
) |
| [virtual] |
| virtual bool osgWidget::Input::keyUp |
( |
int |
, |
|
|
int |
, |
|
|
const WindowManager * |
|
|
) |
| [virtual] |
| virtual bool osgWidget::Input::mouseDrag |
( |
double |
, |
|
|
double |
, |
|
|
const WindowManager * |
|
|
) |
| [virtual] |
| virtual bool osgWidget::Input::mousePush |
( |
double |
x, |
|
|
double |
y, |
|
|
const WindowManager * |
|
|
) |
| [virtual] |
| virtual bool osgWidget::Input::mouseRelease |
( |
double |
, |
|
|
double |
, |
|
|
const WindowManager * |
|
|
) |
| [virtual] |
| virtual void osgWidget::Input::parented |
( |
Window * |
| ) |
[virtual] |
| virtual void osgWidget::Input::positioned |
( |
| ) |
[virtual] |
| void osgWidget::Input::setCursor |
( |
Widget * |
| ) |
|
| void osgWidget::Input::setXOffset |
( |
point_type |
xo | ) |
[inline] |
| void osgWidget::Input::setYOffset |
( |
point_type |
yo | ) |
[inline] |
| virtual bool osgWidget::Input::unfocus |
( |
const WindowManager * |
| ) |
[virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: