MouseInactivityDetector::Listener Class Referenceabstract
juce_gui_basics » mouse

Classes should implement this to receive callbacks from a MouseInactivityDetector when the mouse becomes active or inactive. More...

## Public Member Functions

virtual | ~Listener ()=default
virtual void | mouseBecameActive ()=0
| Called when the mouse is moved or clicked for the first time after a period of inactivity. More...
virtual void | mouseBecameInactive ()=0
| Called when the mouse hasn't been moved for the timeout period. More...

## Detailed Description

Classes should implement this to receive callbacks from a MouseInactivityDetector when the mouse becomes active or inactive.

## Constructor & Destructor Documentation

## ~Listener()

virtual MouseInactivityDetector::Listener::~Listener | ( |  | ) |

virtual default

## Member Function Documentation

## mouseBecameActive()

virtual void MouseInactivityDetector::Listener::mouseBecameActive | ( |  | ) |

pure virtual

Called when the mouse is moved or clicked for the first time after a period of inactivity.

## mouseBecameInactive()

virtual void MouseInactivityDetector::Listener::mouseBecameInactive | ( |  | ) |

pure virtual

Called when the mouse hasn't been moved for the timeout period.

The documentation for this class was generated from the following file:

- juce_MouseInactivityDetector.h