P.D: I also tried Redrawing the meter without success
Code: Select all
[Variables]
IconSize=48
IconText="P"
IconColor=2e2e2e
SteamPath=D:\Steam\Steam.exe
RockstarPath=D:\Rockstar Games\Launcher\LauncherPatcher.exe
EpicPath=D:\Epic Games\Launcher\Portal\Binaries\Win32\EpicGamesLauncher.exe
NexonPath=D:\Nexon\Nexon Launcher\nexon_launcher.exe
; https://forum.rainmeter.net/viewtopic.php?t=12802
[Fade]
Measure=Script
ScriptFile="#@#Scripts\Fade.lua"
Min=0
Max=255
Step=20
Start=0
[EpicFade]
Measure=Script
ScriptFile="#@#Scripts\Fade.lua"
Min=0
Max=255
Step=20
Start=0
[InvertedFade]
Measure=Script
ScriptFile="#@#Scripts\Fade.lua"
Min=0
Max=255
Step=20
Start=255
;[Move]
;Measure=Script
;ScriptFile="#@#Scripts\Fade.lua"
;Min=0
;Max=50
;Step=4
;Start=0
[TextSize]
Measure=Calc
Formula=#IconSize#/2
[TextPosition]
Measure=Calc
Formula=#IconSize#/2
[TextShadowPosition]
Measure=Calc
Formula=#IconSize#/4+3
[ControllerIconBackground]
Meter=Shape
Shape=Rectangle 0,0,#IconSize#,#IconSize# | Fill Color #IconColor#
DynamicVariables=1
MouseActionCursor=1
AntiAlias=1
[EpicIconBackground]
Meter=Shape
Shape=Rectangle 0,0,#IconSize#,#IconSize# | Fill Color 0,0,0,255
MouseOverAction=[!CommandMeasure "EpicFade" "Activate('In')"]
MouseLeaveAction=[!CommandMeasure "EpicFade" "Activate('Out')"]
LeftMouseUpAction=["#EpicPath#"]
DynamicVariables=1
MouseActionCursor=1
AntiAlias=1
[SteamIconBackground]
Meter=Shape
Shape=Rectangle 0,0,#IconSize#,#IconSize# | Extend MyColor
MyColor=FillColor 42,71,94,[Fade]
MouseOverAction=[!CommandMeasure "Fade" "Activate('In')"][!CommandMeasure "InvertedFade" "Activate('Out')"][!SetOption "ControllerIconBackground" "MyColor" "FillColor 42,71,94,255]"][!MoveMeter "50" "50" "EpicIconBackground"]
MouseLeaveAction=[!CommandMeasure "Fade" "Activate('Out')"][!CommandMeasure "InvertedFade" "Activate('In')"][!SetOption "ControllerIconBackground" "MyColor" "FillColor #IconColor#"][!MoveMeter "0" "0" "EpicIconBackground"]
LeftMouseUpAction=["#SteamPath#"]
DynamicVariables=1
MouseActionCursor=1
AntiAlias=1
[SteamIconShadow]
Meter=Image
ImageName=steam.png
W=[TextSize]
H=[TextSize]
PreserveAspectRatio=1
X=[TextShadowPosition]
Y=[TextShadowPosition]
ImageTint=0,0,0,[Fade]
DynamicVariables=1
AntiAlias=1
[SteamIconImage]
Meter=Image
ImageName=steam.png
W=[TextSize]
H=[TextSize]
PreserveAspectRatio=1
X=([TextPosition]/2)
Y=([TextPosition]/2)
ImageTint=255,255,255,[Fade]
DynamicVariables=1
AntiAlias=1
[ControllerIconImage]
Meter=Image
ImageName=controller.png
W=[TextSize]
H=[TextSize]
PreserveAspectRatio=1
X=([TextPosition]/2)
Y=([TextPosition]/2)
ImageTint=255,255,255,[InvertedFade]
DynamicVariables=1
AntiAlias=1