JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::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. More...
 
virtual void buttonReleased (ControlButton &, Block::Timestamp)=0
 Called when the button is released. More...
 

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 juce::ControlButton::Listener::~Listener ( )
virtual

Member Function Documentation

◆ buttonPressed()

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

Called when the button is pressed.

◆ buttonReleased()

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

Called when the button is released.


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