fsh::stk
fantastic spatial holophonic synthesis toolkit
Loading...
Searching...
No Matches
fsh::gui::Trigger Class Reference

Custom button component that displays a FontAwesome icon and fires a function on click. More...

#include <Trigger.h>

Inheritance diagram for fsh::gui::Trigger:

Classes

struct  Params
 Parameters for the Trigger component. More...
 

Public Member Functions

 Trigger (const Params &)
 Constructor.
 

Detailed Description

Custom button component that displays a FontAwesome icon and fires a function on click.

For this to actually do something, set the callback by assigning a lambda to the onClick member:

_trigger.onClick = []() { doSomething(); };

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