JUCE
Loading...
Searching...
No Matches
ControlButton::Listener Struct Referenceabstract

A listener that can be attached to a ControlButton object so that it gets called when the button is pushed or released. More...

#include <juce_ControlButton.h>

Public Member Functions

virtual ~Listener ()
 
virtual void buttonPressed (ControlButton &, Block::Timestamp)=0
 Called when the button is pressed.
 
virtual void buttonReleased (ControlButton &, Block::Timestamp)=0
 Called when the button is released.
 

Detailed Description

A listener that can be attached to a ControlButton object so that it gets called when the button is pushed or released.

Constructor & Destructor Documentation

◆ ~Listener()

virtual ControlButton::Listener::~Listener ( )
virtual

Member Function Documentation

◆ buttonPressed()

virtual void ControlButton::Listener::buttonPressed ( ControlButton & ,
Block::Timestamp  )
pure virtual

Called when the button is pressed.

References ControlButton::ControlButton().

◆ buttonReleased()

virtual void ControlButton::Listener::buttonReleased ( ControlButton & ,
Block::Timestamp  )
pure virtual

Called when the button is released.

References ControlButton::ControlButton().


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