![]() |
VR-Forces Developer's Guide
|
A non-visible interactive widget.

Public Member Functions | |
| virtual | ~DtPickableWidget ()=0 |
| DtPickableWidget ()=delete | |
| DtPickableWidget (const DtPickableWidget &other)=delete | |
| DtPickableWidget & | operator= (const DtPickableWidget &other)=delete |
| virtual void | setUserData (unsigned long long data) |
| virtual unsigned long long | userData () const |
| unsigned int | id () const |
Static Public Member Functions | |
| static unsigned int | idFromColor (unsigned int) |
Public Attributes | |
| boost::signalslib::signal < void(int x, int y)> | signal_mouseEnter |
| boost::signalslib::signal< void()> | signal_mouseLeave |
| boost::signalslib::signal < void(int x, int y)> | signal_mouseMove |
| boost::signalslib::signal < void(int x, int y, int button)> | signal_mousePress |
| boost::signalslib::signal < void(int x, int y, int button)> | signal_mouseRelease |
| boost::signalslib::signal < void(int x, int y, int button)> | signal_mouseDoubleClick |
| boost::signalslib::signal < void(int x, int y, int wheel)> | signal_mouseWheel |
Protected Member Functions | |
| DtPickableWidget (DtDe &de, DtWidgetPicker &picker) | |
Protected Attributes | |
| DtDe & | myDe |
| DtWidgetPicker & | myPicker |
| unsigned int | myId |
| unsigned long long | myUserData |
Private Attributes | |
| friend | DtPickableWidgetCreator |
|
pure virtual |
DTOR.
|
delete |
Default Constructor not implemented.
|
delete |
Copy Constructor not implemented - Copy not allowed.
|
protected |
Protected CTOR (Instantiated by DtWidgetPicker)
|
delete |
Assignment Operator not implemented - Assignment not allowed.
Get the id from a color.
Set the element id of the widget.
Get the element id of the widget.
Get the id for this pickable widget. Assigned on construction of the pickable widget by the widget picker.
|
private |
Emitted whenever a mouse enters over a widget for the first time.
| boost::signalslib::signal<void ()> makVrv::DtPickableWidget::signal_mouseLeave |
Emitted whenever a mouse leaves over a widget, called before it enters another widget.
Emitted whenever a mouse moves over a widget, including when it enters.
| boost::signalslib::signal<void (int x, int y, int button)> makVrv::DtPickableWidget::signal_mousePress |
Emitted whenever a mouse button is pressed over a widget. If a press.
| boost::signalslib::signal<void (int x, int y, int button)> makVrv::DtPickableWidget::signal_mouseRelease |
Emitted whenever a mouse button is released over a widget.
| boost::signalslib::signal<void (int x, int y, int button)> makVrv::DtPickableWidget::signal_mouseDoubleClick |
Emitted when a mouse button is doubled clicked over a widget.
| boost::signalslib::signal<void (int x, int y, int wheel)> makVrv::DtPickableWidget::signal_mouseWheel |
Emitted when a mouse wheel is scrolled over a widget.
|
protected |
|
protected |