-
Notifications
You must be signed in to change notification settings - Fork 0
/
SkinDefault.py
155 lines (129 loc) · 4.05 KB
/
SkinDefault.py
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
from _Framework.Skin import Skin
from Colors import Basic
from Colors import Rgb
from Colors import Pulse
from Colors import Blink
from Colors import BiLed
class Colors:
class Option:
Selected = BiLed.AMBER
Unselected = BiLed.YELLOW_HALF
On = BiLed.YELLOW
Off = BiLed.OFF
Unused = BiLed.OFF
class List:
ScrollerOn = BiLed.AMBER
ScrollerOff = BiLed.AMBER_HALF
class DefaultButton:
On = Basic.FULL
Off = Basic.HALF
Disabled = Basic.OFF
Alert = Basic.FULL_BLINK_SLOW
class DefaultMatrix:
On = Rgb.WHITE
Off = Rgb.BLACK
class Scales:
Selected = BiLed.GREEN
Unselected = BiLed.GREEN_HALF
FixedOn = BiLed.AMBER
FixedOff = BiLed.AMBER_HALF
Diatonic = BiLed.AMBER
Chromatic = BiLed.AMBER_HALF
class Instrument:
NoteBase = Rgb.AMBER.shade(1)
NoteScale = Rgb.YELLOW.shade(2)
NoteNotScale = Rgb.BLACK
NoteInvalid = Rgb.BLACK
Feedback = Rgb.BLUE.shade(1)
FeedbackRecord = Rgb.RED.shade(1)
NoteAction = Rgb.DARK_GREY
class Recording:
On = Basic.FULL
Off = Basic.HALF
Transition = Basic.FULL_BLINK_FAST
class Session:
Scene = BiLed.GREEN
SceneTriggered = BiLed.GREEN_BLINK_FAST
NoScene = BiLed.OFF
ClipStopped = Rgb.AMBER
ClipStarted = Pulse(Rgb.GREEN.shade(1), Rgb.GREEN, 48)
ClipRecording = Pulse(Rgb.BLACK, Rgb.RED, 48)
ClipTriggeredPlay = Blink(Rgb.GREEN, Rgb.BLACK, 24)
ClipTriggeredRecord = Blink(Rgb.RED, Rgb.BLACK, 24)
ClipEmpty = Rgb.BLACK
RecordButton = Rgb.RED.shade(2)
StopClip = Rgb.RED
StopClipTriggered = Blink(Rgb.RED, Rgb.BLACK, 24)
StoppedClip = Rgb.DARK_GREY
class Zooming:
Selected = Rgb.AMBER
Stopped = Rgb.RED
Playing = Rgb.GREEN
Empty = Rgb.BLACK
class TrackState:
Common = Rgb.BLACK
Stopped = Rgb.RED
Disabled = Basic.OFF
class DrumGroup:
PadSelected = Rgb.YELLOW
PadSelectedNotSoloed = Rgb.YELLOW.highlight()
PadFilled = Rgb.YELLOW.shade(2)
PadEmpty = Rgb.DARK_GREY
PadMuted = Rgb.AMBER
PadMutedSelected = Rgb.AMBER.highlight()
PadSoloed = Rgb.OCEAN
PadInvisible = Rgb.BLACK
PadAction = Rgb.RED
class LoopSelector:
Playhead = Rgb.GREEN
PlayheadRecord = Rgb.RED
SelectedPage = Rgb.YELLOW.highlight()
InsideLoopStartBar = Rgb.WHITE
InsideLoop = Rgb.WHITE
OutsideLoop = Rgb.BLACK
class NoteEditor:
class Step:
Low = Rgb.YELLOW.highlight()
High = Rgb.YELLOW
Full = Rgb.AMBER
Muted = Rgb.WHITE
class StepEditing:
Low = Rgb.YELLOW.highlight()
High = Rgb.YELLOW
Full = Rgb.AMBER
Muted = Rgb.WHITE
StepSelected = Rgb.WHITE
StepEmpty = Rgb.BLACK
StepEmptyBase = Rgb.OCEAN.shade(2)
StepEmptyScale = Rgb.DARK_GREY
StepDisabled = Rgb.RED.shade(2)
Playhead = Rgb.GREEN
PlayheadRecord = Rgb.RED
QuantizationSelected = BiLed.GREEN
QuantizationUnselected = BiLed.YELLOW
NoteBase = Rgb.OCEAN.shade(2)
NoteScale = Rgb.DARK_GREY
NoteNotScale = Rgb.BLACK
NoteInvalid = Rgb.RED.shade(2)
class Melodic:
Playhead = Rgb.GREEN.shade(1)
PlayheadRecord = Rgb.RED.shade(1)
class NoteRepeat:
RateSelected = BiLed.RED
RateUnselected = BiLed.YELLOW
class Mixer:
SoloOn = Rgb.BLUE
SoloOff = Rgb.DARK_GREY
MuteOn = Rgb.DARK_GREY
MuteOff = BiLed.YELLOW
ArmSelected = BiLed.RED
ArmUnselected = BiLed.RED_HALF
class Browser:
Load = BiLed.GREEN
LoadNext = BiLed.YELLOW
LoadNotPossible = BiLed.OFF
Loading = BiLed.OFF
class MessageBox:
Cancel = BiLed.GREEN
def make_default_skin():
return Skin(Colors)