-
Notifications
You must be signed in to change notification settings - Fork 0
/
SkinDefault.py
executable file
·159 lines (133 loc) · 4.43 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
156
157
158
159
# v1.1.4 for Live 9.1.4 - Modified by Stray on 7/29/2014
# Modification allows either SkinDefault or SeaPushSkin to be used.
from UserSettings import SEAPUSH_SKIN # added
import SeaPushSkin # added
from _Framework.Skin import Skin
from Colors import Basic, Rgb, Pulse, Blink, 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.YELLOW
Unselected = BiLed.GREEN_HALF
FixedOn = BiLed.AMBER
FixedOff = BiLed.YELLOW_HALF
Diatonic = BiLed.AMBER
Chromatic = BiLed.YELLOW_HALF
class Instrument:
NoteBase = Rgb.OCEAN
NoteScale = Rgb.WHITE
NoteNotScale = Rgb.BLACK
NoteInvalid = Rgb.BLACK
Feedback = Rgb.GREEN
FeedbackRecord = Rgb.RED.shade(1)
NoteAction = Rgb.RED
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.OCEAN
PadSelectedNotSoloed = Rgb.OCEAN
PadFilled = Rgb.YELLOW
PadEmpty = Rgb.YELLOW.shade(2)
PadMuted = Rgb.AMBER.shade(1)
PadMutedSelected = Rgb.OCEAN.shade(1)
PadSoloed = Rgb.BLUE
PadSoloedSelected = Rgb.OCEAN.highlight()
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.SKY.highlight()
High = Rgb.OCEAN
Full = Rgb.BLUE
Muted = Rgb.AMBER.shade(2)
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(): #modified to use SeaPushSkin if elected.
if SEAPUSH_SKIN:
return Skin(SeaPushSkin.Colors)
else:
return Skin(Colors)