Skip to content

Commit

Permalink
add: Color_scheme4 for subskin background
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhas committed Jan 14, 2019
1 parent dae4ec4 commit e524abc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Binary file modified Themes/Notch/Assets/musicControl.ini
Binary file not shown.
Binary file modified Themes/Notch/Assets/powerPlanSwitcher.ini
Binary file not shown.
11 changes: 7 additions & 4 deletions Themes/Notch/Assets/volumeControl.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Plugin=Win7AudioPlugin

[VolumeControlShape]
Meter=Shape
Shape=Rectangle 0,0,#BgWidth#,(#AppZoneY# + #MaxMeter# * (#AppHeight# + #AppsPadding#) - #AppsPadding# + #SubSkinPadding#),#SubSkinCornerRadius# | StrokeWidth 0 | FillColor #Color_Scheme1#
Shape=Rectangle 0,0,#BgWidth#,(#AppZoneY# + #MaxMeter# * (#AppHeight# + #AppsPadding#) - #AppsPadding# + #SubSkinPadding#),#SubSkinCornerRadius# | StrokeWidth 0 | FillColor #Color_Scheme4#

[VolumeControlSlider]
Meter=Shape
Expand Down Expand Up @@ -128,9 +128,9 @@ S3K5 = Group = App%%
S4 = MeterShape%%
S4K1 = Meter = Shape
S4K2 = MeterStyle = ShapeStyle
S4K3 = Shape3 = Rectangle 0,(-#SliderHeight# / 2),(#AppBarWidth#*([AppVol%%:] > 0 ? [AppVol%%:] : 0)),#SliderHeight#,(#SliderHeight#/2) | StrokeWidth 0 | Fill Color #Color_Scheme3#
S4K4 = Shape4 = Rectangle 0,(-#SliderHeight# / 2),(#AppBarWidth#*([AppPeak%%:] > 0 ? [AppPeak%%:] : 0)),#SliderHeight#,(#SliderHeight#/2) | StrokeWidth 0 | Fill Color #Color_Scheme2#50
S4K5 = Shape5 = Ellipse (#SliderKnobRadius# + #AppBarKnobZone#*([AppVol%%:] > 0 ? [AppVol%%:] : 0)), 0, #SliderKnobRadius# | StrokeWidth 0 | Fill Color #Color_Scheme2#
S4K3 = Shape3 = Rectangle 0,(-#SliderHeight# / 2),(#AppBarWidth#*([AppVol%%:] > 0 ? [AppVol%%:] : 0)),#SliderHeight#,(#SliderHeight#/2) | Extend LevelTrait
S4K4 = Shape4 = Rectangle 0,(-#SliderHeight# / 2),(#AppBarWidth#*([AppPeak%%:] > 0 ? [AppPeak%%:] : 0)),#SliderHeight#,(#SliderHeight#/2) | Extend PeakTrait
S4K5 = Shape5 = Ellipse (#SliderKnobRadius# + #AppBarKnobZone#*([AppVol%%:] > 0 ? [AppVol%%:] : 0)), 0, #SliderKnobRadius# | Extend KnobTrait
S4K6 = MouseScrollUpAction = !CommandMeasure AppVol%% "SetVolume +5"
S4K7 = MouseScrollDownAction = !CommandMeasure AppVol%% "SetVolume -5"
S4K8 = MouseOverAction = !SetVariable SlidingAppIndex %%
Expand All @@ -157,6 +157,9 @@ X = (#SubSkinPadding# + #AppIconWidth#)
Y = r
Shape = Rectangle 0,(-#SliderKnobRadius#),#AppBarWidth#,(#SliderKnobRadius#*2) | StrokeWidth 0 | Fill Color 0,0,0,1
Shape2 = Rectangle 0,(-#SliderHeight# / 2),#AppBarWidth#,#SliderHeight#,(-#SliderHeight# / 2) | StrokeWidth 0 | Fill Color #Color_Scheme2#50
LevelTrait = StrokeWidth 0 | Fill Color #Color_Scheme3#
PeakTrait = StrokeWidth 0 | Fill Color #Color_Scheme2#50
KnobTrait = StrokeWidth 0 | Fill Color #Color_Scheme2#
DynamicVariables = 1
LeftMouseDownAction = [!SetOption AppVolumeCalc Formula "(round(Clamp($MouseX$,0,#AppBarWidth#)*100/#AppBarWidth#))"][!CommandMeasure AppVolumeMouseMeasure Start]

Expand Down

0 comments on commit e524abc

Please sign in to comment.