fsh::stk
fantastic spatial holophonic synthesis toolkit
Loading...
Searching...
No Matches
Fonts.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 <juce_gui_basics/juce_gui_basics.h>
24
25namespace fsh::gui
26{
50struct Fonts
51{
52private:
53 juce::Typeface::Ptr mainTypeface;
54 juce::Typeface::Ptr iconTypeface;
55
56public:
58 using Instance = juce::SharedResourcePointer<Fonts>;
59
60 const juce::Font h1;
61 const juce::Font h2;
62 const juce::Font h3;
63 const juce::Font h4;
64 const juce::Font icons;
65
66private:
67 Fonts();
68 friend Instance;
69};
70} // namespace fsh::gui
Fonts used by the GUI.
Definition Fonts.h:51
const juce::Font icons
Font Awesome Solid.
Definition Fonts.h:64
const juce::Font h2
Heading 2. Use for: suite name.
Definition Fonts.h:61
const juce::Font h3
Heading 3. Use for: panel labels, plugin version.
Definition Fonts.h:62
const juce::Font h4
Heading 4. Use for: knob/button labels.
Definition Fonts.h:63
juce::SharedResourcePointer< Fonts > Instance
Add this as a member to your component/editor class to access the fonts.
Definition Fonts.h:58
const juce::Font h1
Heading 1. Use for: plugin name.
Definition Fonts.h:60