fsh::stk
fantastic spatial holophonic synthesis toolkit
Loading...
Searching...
No Matches
InfoButton.h
1/***************************************************************************************************
2 ██████ █████ █████ █████
3 ███░░███ ░░███ ░░███ ░░███
4 ░███ ░░░ █████ ░███████ ██ ██ █████ ███████ ░███ █████
5 ███████ ███░░ ░███░░███ ░░ ░░ ███░░ ░░░███░ ░███░░███
6 ░░░███░ ░░█████ ░███ ░███ ░░█████ ░███ ░██████░
7 ░███ ░░░░███ ░███ ░███ ░░░░███ ░███ ███ ░███░░███
8 █████ ██████ ████ █████ ██ ██ ██████ ░░█████ ████ █████
9 ░░░░░ ░░░░░░ ░░░░ ░░░░░ ░░ ░░ ░░░░░░ ░░░░░ ░░░░ ░░░░░
10
11 fantastic spatial holophonic synthesis tool kit
12
13 copyright (c) fabian hummel
14 www.github.com/fshstk
15 www.fshstk.com
16
17 this file is part of the fantastic spatial holophonic synthesis toolkit (fsh::stk)
18 fsh::stk is free software: it is provided under the terms of the gnu general public license v3.0
19 www.gnu.org/licenses/gpl-3.0
20***************************************************************************************************/
21
22#pragma once
23#include "Fonts.h"
24#include <juce_gui_basics/juce_gui_basics.h>
25
26namespace fsh::gui
27{
31class InfoButton : public juce::HyperlinkButton
32{
33public:
35 InfoButton();
36
37private:
38 void paintButton(juce::Graphics&, bool highlighted, bool active) override;
39
40 Fonts::Instance _fonts;
41};
42} // namespace fsh::gui
Simple button that displays an info icon with a link to the fshstk website.
Definition InfoButton.h:32
InfoButton()
Default constructor.
Definition InfoButton.cpp:32
juce::SharedResourcePointer< Fonts > Instance
Add this as a member to your component/editor class to access the fonts.
Definition Fonts.h:58