-
Notifications
You must be signed in to change notification settings - Fork 0
/
CustomLnF.h
45 lines (39 loc) · 1.05 KB
/
CustomLnF.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
==============================================================================
CustomLnF.h
Created: 7 Apr 2021 12:21:29am
Author: Hayden Setlik
==============================================================================
*/
#pragma once
#include <JuceHeader.h>
#include "GlobalColor.h"
class LnF1 : public juce::LookAndFeel_V4
{
public:
LnF1()
{
}
void drawRotarySlider (juce::Graphics& g, int x, int y, int width, int height, float sliderPos,
const float rotaryStartAngle, const float rotaryEndAngle, juce::Slider& s) override;
};
class LnF2 : public juce::LookAndFeel_V4
{
public:
LnF2()
{
setDefaultSansSerifTypefaceName("Roboto Light Italic");
}
};
class OutputButtonLnF : public juce::LookAndFeel_V4
{
public:
OutputButtonLnF()
{
setDefaultSansSerifTypefaceName("");
}
juce::Font getTextButtonFont(juce::TextButton &, int buttonHeight) override
{
return juce::Font("Bebas Neue", 15.0f, 0);
}
};