Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pr/38 #39

Merged
merged 18 commits into from
Sep 24, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added new color constants and changed some colors for better GUI
  • Loading branch information
poltow committed Aug 23, 2016
commit 25225e0029112fdc9fe813b0585795f132f33c77
32 changes: 22 additions & 10 deletions SkinMK1.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from _Framework.ButtonElement import Color
from _Framework.Skin import Skin
from .ColorsMK1 import Rgb
from _Framework.ButtonElement import Color


class Colors:

Expand Down Expand Up @@ -167,10 +168,15 @@ class LoopSelector:
Selected = Rgb.GREEN
InLoop = Rgb.AMBER_THIRD
class Quantization:
One=Rgb.BLACK
Two=Rgb.GREEN_HALF
Three=Rgb.GREEN_THIRD
Four=Rgb.GREEN
One=Rgb.GREEN_FULL
Two=Rgb.YELLOW_FULL
Three=Rgb.AMBER_FULL
Four=Rgb.RED_FULL
class QuantizationLow:
One=Rgb.GREEN_HALF
Two=Rgb.YELLOW_HALF
Three=Rgb.AMBER_HALF
Four=Rgb.RED_HALF
class NoteSelector:
class Octave:
On = Rgb.GREEN
Expand All @@ -184,12 +190,15 @@ class VelocityShifted:
Velocity0 = Rgb.GREEN_THIRD
Velocity1 = Rgb.GREEN_HALF
Velocity2 = Rgb.GREEN
Velocity3 = Rgb.GREEN_THIRD
Velocity3 = Rgb.ORANGE_FULL
Velocity4 = Rgb.MANDARIN_FULL
Muted = Rgb.RED_THIRD
Playing = Rgb.RED
Metronome = Rgb.AMBER
Metronome = Rgb.YELLOW_FULL
NoteMarker = Rgb.AMBER
PageMarker = Rgb.AMBER_THIRD
CurrentPageMarker = Rgb.RED_THIRD
CurrentPageMarkerPlay = Rgb.GREEN_THIRD

class StepSequencer2:
class Pitch:
Expand Down Expand Up @@ -280,10 +289,13 @@ class Pads:
Invalid = Rgb.BLACK

class Scale:#scale edition
class Horizontal:
On = Rgb.AMBER
Off = Rgb.AMBER_THIRD
class AbsoluteRoot:
On = Rgb.RED
Off = Rgb.RED_THIRD
class Mode:
On = Rgb.AMBER
Off = Rgb.AMBER_THIRD
class Mode:
On = Rgb.RED
Off = Rgb.RED_THIRD
class Key:
Expand Down