-
Notifications
You must be signed in to change notification settings - Fork 0
/
Palette.h
65 lines (49 loc) · 1.29 KB
/
Palette.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
//
// Created by synthly on 10/4/19.
//
#ifndef SYNTHLYOS_PALETTE_H
#define SYNTHLYOS_PALETTE_H
/*
* Class for maintaining SynthlyOS branding colors
*
*
*/
class Palette : public LookAndFeel_V4
{
public:
Palette()
{
setTextButton();
setLabel();
}
private:
//Defines the look and feel of TextButtons
void setTextButton()
{
//Button color
setColour(TextButton::buttonColourId, Colours::ghostwhite);
//Text color
setColour(TextButton::textColourOffId, Colours::black);
//Doesnt' do anything, maybe when listener added?
//setColour(TextButton::textColourOnId, Colours::yellow);
//Doesn't do anything
//setColour(TextButton::buttonNormal, Colours::red);
//setColour(TextButton::buttonOnColourId, Colours::red);
//setColour(TextButton::buttonOver, Colours::blue);
}
void setDrawableText()
{
//setColour(DrawableText::)
}
//Defines the look and feel of Labels
void setLabel()
{
setColour(Label::backgroundColourId, Colours::transparentWhite);
setColour(Label::textColourId, Colours::black);
}
void setDrawableButton()
{
setColour(DrawableButton::backgroundColourId, Colours::blue);
}
};
#endif //SYNTHLYOS_PALETTE_H