I have another inquiry about your code: For the settings button (and some other things) you have an "invisible" picture that acts as a mouse clickable canvas. These meters pull the x, y, w, and h from it's corresponding partner meter. This would all be well and good, except that the w and h for me always amount to 0. Even if I copy and paste your code it does this.
Here is my code that doesn't work:
Code: Select all
[SettingsButton]
Meter=Image
ImageName=#@#Images/Settings.png
Group=SettingsButton
X=(#bgWidth# - 25)
Y=14
W=10
H=10
ImageAlpha=#opacityNormal#
AntiAlias=1
ToolTipTitle="Settings"
Hidden=1
[SettingsButtonMouseRegion]
Meter=Image
Solidcolor=0,0,0,0
; These two work just fine
X=([SettingsButton:X]*#scale#)
Y=([SettingsButton:Y]*#scale#)
; But these two are always 0
W=([SettingsButton:W]*#scale#)
H=([SettingsButton:H]*#scale#)
LeftMouseUpAction=[!ToggleConfig "illustro Gadgets\All CPU Meter\Config" "Settings.ini"]
MouseOverAction=[!SetOption SettingsButton ImageName "#@#Images/Settings.png"][!UpdateMeter SettingsButton][!Redraw]