Skip to content

Commit 061c123

Browse files
committed
feat: add windows color option
1 parent 331caf6 commit 061c123

File tree

5 files changed

+41
-13
lines changed

5 files changed

+41
-13
lines changed

.installer/plugins/x32/SysColor.dll

104 KB
Binary file not shown.

.installer/plugins/x64/SysColor.dll

123 KB
Binary file not shown.

@Resources/include/MeasureStyling.inc

+17-6
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ Color=Background1
2323
Substitute="":"#Color#"
2424
OnChangeAction=[!UpdateMeasure "CalcColors"]
2525

26+
[MeasureWindowsColor]
27+
Measure=Plugin
28+
Plugin=SysColor
29+
DisplayType=RGB
30+
ColorType=DWM_COLOR
31+
OnChangeAction=[!UpdateMeasure "CalcColors"]
32+
2633
[MeasureGenre]
2734
Measure=NowPlaying
2835
PlayerName=#PlayerName#
@@ -81,11 +88,15 @@ IfCondition2= (#EnableDynamicColors# = 1) && (#EnableDynamicFontColors# = 0)
8188
IfTrueAction2=[!SetVariable Color "#GenreColor#"][!SetOptionGroup GroupDynamicColors DynamicVariables "0"]
8289
IfCondition3= (#EnableDynamicColors# = 2) && (#EnableDynamicFontColors# = 0)
8390
IfTrueAction3=[!SetVariable Color "[MeasureCoverColor]"][!SetOptionGroup GroupDynamicColors DynamicVariables "0"]
84-
IfCondition4= (#EnableDynamicColors# = 0) && (#EnableDynamicFontColors# = 1)
85-
IfTrueAction4=[!SetVariable Color "[MeasureStaticColor]"][!SetVariable TextColor "[MeasureStaticColor]"][!SetOptionGroup GroupDynamicColors DynamicVariables "0"]
86-
IfCondition5= (#EnableDynamicColors# = 1) && (#EnableDynamicFontColors# = 1)
87-
IfTrueAction5=[!SetVariable Color "#GenreColor#"][!SetVariable TextColor "#GenreColor#"][!SetOptionGroup GroupDynamicColors DynamicVariables "0"]
88-
IfCondition6= (#EnableDynamicColors# = 2) && (#EnableDynamicFontColors# = 1)
89-
IfTrueAction6=[!SetVariable Color "[MeasureCoverColor]"][!SetVariable TextColor "[MeasureCoverColor]"][!SetOptionGroup GroupDynamicColors DynamicVariables "0"]
91+
IfCondition4= (#EnableDynamicColors# = 3) && (#EnableDynamicFontColors# = 0)
92+
IfTrueAction4=[!SetVariable Color "[MeasureWindowsColor]"][!SetOptionGroup GroupDynamicColors DynamicVariables "0"]
93+
IfCondition5= (#EnableDynamicColors# = 0) && (#EnableDynamicFontColors# = 1)
94+
IfTrueAction5=[!SetVariable Color "[MeasureStaticColor]"][!SetVariable TextColor "[MeasureStaticColor]"][!SetOptionGroup GroupDynamicColors DynamicVariables "0"]
95+
IfCondition6= (#EnableDynamicColors# = 1) && (#EnableDynamicFontColors# = 1)
96+
IfTrueAction6=[!SetVariable Color "#GenreColor#"][!SetVariable TextColor "#GenreColor#"][!SetOptionGroup GroupDynamicColors DynamicVariables "0"]
97+
IfCondition7= (#EnableDynamicColors# = 2) && (#EnableDynamicFontColors# = 1)
98+
IfTrueAction7=[!SetVariable Color "[MeasureCoverColor]"][!SetVariable TextColor "[MeasureCoverColor]"][!SetOptionGroup GroupDynamicColors DynamicVariables "0"]
99+
IfCondition8= (#EnableDynamicColors# = 3) && (#EnableDynamicFontColors# = 1)
100+
IfTrueAction8=[!SetVariable Color "[MeasureWindowsColor]"][!SetVariable TextColor "[MeasureWindowsColor]"][!SetOptionGroup GroupDynamicColors DynamicVariables "0"]
90101
UpdateDivider=-1
91102
DynamicVariables=1

@Resources/variables.ini

+6-3
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ FutureBass=154,152,252
182182
White=255,255,255
183183
Black=0,0,0
184184

185-
EnableDynamicColors=0
185+
EnableDynamicColors=3
186186
; Changing this value will enable/disable dynamic colors.
187187
; There are three different settings you can choose.
188188

@@ -194,11 +194,14 @@ EnableDynamicColors=0
194194

195195
; 2 - COVER, color will change dynamically to the cover art of your song.
196196

197+
; 3 - WINDOWS, color will change depending on the color chosen in windows.
198+
; You could use this setting to change dynamically with the background.
199+
197200
; This will have an major impact on the performance of the visualizer and your CPU.
198201
; Turn off if you experience lags or slowdowns.
199202
; Default: 0
200203

201-
EnableDynamicFontColors=0
204+
EnableDynamicFontColors=1
202205
; Changing this value will enable/disable dynamic font colors.
203206
; Default: 0
204207

@@ -220,6 +223,6 @@ DropShadowColor=0,0,0,75
220223

221224
MPMode=NowPlaying
222225
NearestAxis=0
223-
Config=Monstercat-Visualizer
226+
Config=monstercat-visualizer
224227
SkinWidth=1255
225228
LatestVersion=2.0.2

Settings/styling.ini

+18-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Information=An realtime audio visualizer for Rainmeter similar to the ones used
1717

1818

1919
[Variables]
20-
SettingHeight=785
20+
SettingHeight=835
2121
; Includes the variables used for the skin.
2222
@include=#@#variables.ini
2323

@@ -309,6 +309,8 @@ IfCondition2 = (#EnableDynamicColors# = 1)
309309
IfTrueAction2 = [!SetOption MeterEnableDynamicColorsGenre FontFace "Montserrat SemiBold"][!SetOption MeterEnableDynamicColorsGenre InlineSetting "Color | 255,255,255,255"]
310310
IfCondition3 = (#EnableDynamicColors# = 2)
311311
IfTrueAction3 = [!SetOption MeterEnableDynamicColorsCover FontFace "Montserrat SemiBold"][!SetOption MeterEnableDynamicColorsCover InlineSetting "Color | 255,255,255,255"]
312+
IfCondition4 = (#EnableDynamicColors# = 3)
313+
IfTrueAction4 = [!SetOption MeterEnableDynamicColorsWindows FontFace "Montserrat SemiBold"][!SetOption MeterEnableDynamicColorsWindows InlineSetting "Color | 255,255,255,255"]
312314

313315
[MeterTitleEnableDynamicColors]
314316
Meter=String
@@ -322,8 +324,8 @@ Text="Dynamic coloring"
322324

323325
[MeterEnableDynamicColorsOff]
324326
Meter=String
325-
X=105R
326-
Y=5r
327+
X=225
328+
Y=15R
327329
AntiAlias=1
328330
FontFace=Montserrat Light
329331
FontSize=12
@@ -332,7 +334,7 @@ Text="Off"
332334
LeftMouseDownAction=[!WriteKeyValue Variables EnableDynamicColors 0 "#@#variables.ini"][!RefreshGroup "MonstercatVisualizer"]
333335
[MeterEnableDynamicColorsGenre]
334336
Meter=String
335-
X=35R
337+
X=30R
336338
Y=0r
337339
AntiAlias=1
338340
FontFace=Montserrat Light
@@ -351,6 +353,18 @@ InlineSetting=Color | 255,255,255,150
351353
Text="Cover"
352354
LeftMouseDownAction=[!WriteKeyValue Variables EnableDynamicColors 2 "#@#variables.ini"][!RefreshGroup "MonstercatVisualizer"]
353355

356+
[MeterEnableDynamicColorsWindows]
357+
Meter=String
358+
X=30R
359+
Y=0r
360+
AntiAlias=1
361+
FontFace=Montserrat Light
362+
FontSize=12
363+
InlineSetting=Color | 255,255,255,150
364+
Text="Windows"
365+
LeftMouseDownAction=[!WriteKeyValue Variables EnableDynamicColors 3 "#@#variables.ini"][!RefreshGroup "MonstercatVisualizer"]
366+
367+
354368
[MeterSubTitleEnableDynamicColors]
355369
Meter=String
356370
X=225

0 commit comments

Comments
 (0)