JUCE  v5.1.1-3-g1a0b28c73
JUCE API
MouseInactivityDetector::Listener Class Referenceabstract

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

#include <juce_MouseInactivityDetector.h>

Public Member Functions

virtual ~Listener ()
 
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 ( )
inlinevirtual

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: