24#include <juce_gui_basics/juce_gui_basics.h>
51 void paintButton(juce::Graphics&,
bool isMouseOver,
bool isDown)
override;
Custom button component that displays a FontAwesome icon and fires a function on click.
Definition Trigger.h:37
Trigger(const Params &)
Constructor.
Definition Trigger.cpp:31
juce::SharedResourcePointer< Fonts > Instance
Add this as a member to your component/editor class to access the fonts.
Definition Fonts.h:58
Parameters for the Trigger component.
Definition Trigger.h:41
juce::Colour highlightColor
The color of the glyph when pressed.
Definition Trigger.h:44
juce::Colour color
The color of the glyph when not selected.
Definition Trigger.h:43
juce::CharPointer_UTF8 glyph
The FontAwesome glyph to display.
Definition Trigger.h:42