![]() |
VR-Forces 4.10 Class Documentation
|
DtMouseHideProcessor tracks mouse move events and when they happen. More...
Public Member Functions | |
| DtMouseHideProcessor (DtInputDriver &inputDriver, DtDe &de) | |
| CTOR. More... | |
| virtual | ~DtMouseHideProcessor () |
| DTOR. More... | |
| virtual void | processMouseMoveEvent (const DtMouseEvent &ev, DtChannel &channel) |
| Processes a mouse event on the channel. More... | |
| virtual void | slot_fullScreenToggle (DtWindow *window, bool fullScreen) |
| This method is attached to the signal_fullScreenModeChanged for every local DtWindow. More... | |
| virtual void | setMouseHideTime (float hideTime) |
| Set/get the number of seconds a mouse should not move before hiding it. More... | |
| virtual float | mouseHideTime () const |
| virtual void | setMouseHideEnabled (bool enabled) |
| Set/get whether mouse hiding is enabled. More... | |
| virtual bool | mouseHideEnabled () const |
Protected Types | |
| typedef boost::unordered_map < const DtWindow *, boost::signalslib::connection * > | WindowDataMap |
Protected Member Functions | |
| virtual void | slot_channelToBeDestroyed (DtChannel *channel) |
| Attached to DtChannelManagerSignaler::signal_channelToBeDestroyed Cleans up if the channel being deleted is one we have cached a pointer to for restoring a mouse. More... | |
| virtual void | slot_windowCreated (DtWindow *window) |
| Attached to DtWindowManagerSignaler so we can attach to DtWindow::signal_fullScreenModeChanged signals. More... | |
| virtual void | slot_windowToBeDestroyed (DtWindow *window) |
| Attached to DtWindowManagerSignaler so we can detach from DtWindow::signal_fullScreenModeChanged signals. More... | |
| virtual void | slot_preTick () |
| Attached to DtDe::signal_preTick This tracks the time since the last mouse move event. More... | |
| virtual void | clearState () |
| Clear any pending values (like pointers to channels when current window or channel is destroyed or enable state changes. More... | |
| virtual void | showMouse () |
| Internal show/hide calls. More... | |
| virtual void | hideMouse () |
Private Member Functions | |
| DtMouseHideProcessor () | |
| Default constructor (unimplemented) More... | |
| DtMouseHideProcessor (const DtMouseHideProcessor *orig) | |
| Copy Constructor (unimplemented) More... | |
| DtMouseHideProcessor & | operator= (const DtMouseHideProcessor *orig) |
| Assignment operator (unimplemented) More... | |
DtMouseHideProcessor tracks mouse move events and when they happen.
If a mouse move event does not happen within a certain time period, the processor will request that the mouse be hidden. Any mouse move event while the mouse is hidden will result in a request to show the mouse.
|
protected |
| makVrv::DtMouseHideProcessor::DtMouseHideProcessor | ( | DtInputDriver & | inputDriver, |
| DtDe & | de | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
private |
Default constructor (unimplemented)
|
private |
Copy Constructor (unimplemented)
|
virtual |
Processes a mouse event on the channel.
Makes note of the sim time if it's a mouse move event
|
virtual |
Set/get the number of seconds a mouse should not move before hiding it.
|
virtual |
|
virtual |
Set/get whether mouse hiding is enabled.
|
virtual |
|
virtual |
This method is attached to the signal_fullScreenModeChanged for every local DtWindow.
|
protectedvirtual |
Attached to DtChannelManagerSignaler::signal_channelToBeDestroyed Cleans up if the channel being deleted is one we have cached a pointer to for restoring a mouse.
|
protectedvirtual |
Attached to DtWindowManagerSignaler so we can attach to DtWindow::signal_fullScreenModeChanged signals.
|
protectedvirtual |
Attached to DtWindowManagerSignaler so we can detach from DtWindow::signal_fullScreenModeChanged signals.
|
protectedvirtual |
Attached to DtDe::signal_preTick This tracks the time since the last mouse move event.
|
protectedvirtual |
Clear any pending values (like pointers to channels when current window or channel is destroyed or enable state changes.
|
protectedvirtual |
Internal show/hide calls.
|
protectedvirtual |
|
private |
Assignment operator (unimplemented)
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |