I have 3 buttons (s1, s2, s3). Each time they are activated, they display an image (bg1, bg2, bg3).
When the image corresponding to the button is displayed, the respective button is hidden, and remains displayed, the other 2 buttons
I would like the last setting to be kept when refreshing or when loading the skin
For example, if the last setting is to display the bg3 image,this will be displayed after refreshing or loading the skin
At this time, regardless of the last setting, it returns to the first image,bg1
Thank you
This is the code:
Code: Select all
[BG1]
Meter=Image
ImageName=#@#bg1.png
X=0
Y=0
W=210
[BG2]
Meter=Image
ImageName=#@#bg2.png
X=0
Y=0
W=210
Hidden=1
[BG3]
Meter=Image
ImageName=#@#bg3.png
X=0
Y=0
W=210
Hidden=1
[S1]
Meter=IMAGE
ImageName=#@#S1.png
X=180
Y=35
AntiAlias=1
hidden=1
LeftMouseUpAction=[!ShowMeter "BG1"][!HideMeter "BG2"][!HideMeter "BG3"][!HideMeter "S1"][!ShowMeter "S2"][!ShowMeter "S3"]
[S2]
Meter=IMAGE
ImageName=#@#S2.png
X=180
Y=55
AntiAlias=1
LeftMouseUpAction=[!ShowMeter "BG2"][!HideMeter "BG1"][!HideMeter "BG3"][!HideMeter "S2"][!ShowMeter "S1"][!ShowMeter "S3"]
[S3]
Meter=IMAGE
ImageName=#@#S3.png
X=180
Y=75
AntiAlias=1
LeftMouseUpAction=[!ShowMeter "BG3"][!HideMeter "BG1"][!HideMeter "BG2"][!HideMeter "S3"][!ShowMeter "S1"][!ShowMeter "S2"]