|
OpenSceneGraph
3.0.1
|

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 |
| osgWidget::Input::Input | ( | const std::string & | = "", |
| const std::string & | = "", |
||
| unsigned | int = 20 |
||
| ) |
| void osgWidget::Input::_calculateCursorOffsets | ( | ) | [protected] |
| virtual void osgWidget::Input::_calculateSize | ( | const XYCoord & | ) | [protected, virtual] |
Reimplemented from osgWidget::Label.
| unsigned int osgWidget::Input::calculateBestYOffset | ( | const std::string & | = "qgl" | ) |
| void osgWidget::Input::clear | ( | ) |
| virtual bool osgWidget::Input::focus | ( | const WindowManager * | ) | [virtual] |
Reimplemented from osgWidget::EventInterface.
| osg::Drawable* osgWidget::Input::getCursor | ( | ) | [inline] |
| 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] |
Reimplemented from osgWidget::EventInterface.
| virtual bool osgWidget::Input::keyUp | ( | int | , |
| int | , | ||
| const WindowManager * | |||
| ) | [virtual] |
Reimplemented from osgWidget::EventInterface.
| virtual bool osgWidget::Input::mouseDrag | ( | double | , |
| double | , | ||
| const WindowManager * | |||
| ) | [virtual] |
Reimplemented from osgWidget::EventInterface.
| virtual bool osgWidget::Input::mousePush | ( | double | x, |
| double | y, | ||
| const WindowManager * | |||
| ) | [virtual] |
Reimplemented from osgWidget::EventInterface.
| virtual bool osgWidget::Input::mouseRelease | ( | double | , |
| double | , | ||
| const WindowManager * | |||
| ) | [virtual] |
Reimplemented from osgWidget::EventInterface.
| virtual void osgWidget::Input::parented | ( | Window * | ) | [virtual] |
Reimplemented from osgWidget::Label.
| virtual void osgWidget::Input::positioned | ( | ) | [virtual] |
Reimplemented from osgWidget::Label.
| void osgWidget::Input::setCursor | ( | Widget * | ) |
| void osgWidget::Input::setXOffset | ( | point_type | xo | ) | [inline] |
| void osgWidget::Input::setXYOffset | ( | point_type | xo, |
| point_type | yo | ||
| ) | [inline] |
| void osgWidget::Input::setYOffset | ( | point_type | yo | ) | [inline] |
| virtual bool osgWidget::Input::unfocus | ( | const WindowManager * | ) | [virtual] |
Reimplemented from osgWidget::EventInterface.
osg::ref_ptr<Widget> osgWidget::Input::_cursor [protected] |
unsigned int osgWidget::Input::_cursorIndex [protected] |
unsigned int osgWidget::Input::_index [protected] |
Reimplemented from osgWidget::Widget.
bool osgWidget::Input::_insertMode [protected] |
unsigned int osgWidget::Input::_maxSize [protected] |
point_type osgWidget::Input::_mouseClickX [protected] |
std::vector<point_type> osgWidget::Input::_offsets [protected] |
osg::ref_ptr<Widget> osgWidget::Input::_selection [protected] |
unsigned int osgWidget::Input::_selectionEndIndex [protected] |
unsigned int osgWidget::Input::_selectionIndex [protected] |
unsigned int osgWidget::Input::_selectionStartIndex [protected] |
unsigned int osgWidget::Input::_size [protected] |
std::vector<point_type> osgWidget::Input::_widths [protected] |
std::vector<unsigned int> osgWidget::Input::_wordsOffsets [protected] |
point_type osgWidget::Input::_xoff [protected] |
point_type osgWidget::Input::_yoff [protected] |
| Generated at Thu Sep 27 2012 17:03:35 for the OpenSceneGraph by doxygen 1.7.6.1. |