It is currently May 8th, 2024, 10:07 pm
Mouse Actions Show Image
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Mouse Actions Show Image
Assuming meter2 is the "bigger" meter, then yes.
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Mouse Actions Show Image
The problem is that you are starting with a small image at position 0 of the skin, then adding a larger one on MouseOver, and asking the image to be positioned off the edge of the skin to the left. This isn't really possible. You need to anticipate this, by making that background image bigger, setting the smaller image at a positive X position, then set the second bigger one at 0.
[Rainmeter]
DynamicWindowSize=1
Update=1000
[MeterBackground]
Meter=Image
W=100
H=100
MouseOverAction=!RainmeterShowMeter MeterImage
MouseLeaveAction=!RainmeterHideMeter MeterImage
[Meter1]
Meter=Image
W=50
H=50
X=50
ImageName=#CURRENTPATH#arrowA.png
ToolTipText=SomeText
ToolTipType=0
ToolTipTitle=SomeTitle
ToolTipIcon=SHIELD
LeftMouseUpAction=!Execute [PLAY #CURRENTPATH#Sounds\NewClick.wav]
[MeterImage]
Meter=Image
ImageName=#CURRENTPATH#arrowB.png
W=100
H=100
X=0
Hidden=1
[Rainmeter]
DynamicWindowSize=1
Update=1000
[MeterBackground]
Meter=Image
W=100
H=100
MouseOverAction=!RainmeterShowMeter MeterImage
MouseLeaveAction=!RainmeterHideMeter MeterImage
[Meter1]
Meter=Image
W=50
H=50
X=50
ImageName=#CURRENTPATH#arrowA.png
ToolTipText=SomeText
ToolTipType=0
ToolTipTitle=SomeTitle
ToolTipIcon=SHIELD
LeftMouseUpAction=!Execute [PLAY #CURRENTPATH#Sounds\NewClick.wav]
[MeterImage]
Meter=Image
ImageName=#CURRENTPATH#arrowB.png
W=100
H=100
X=0
Hidden=1
-
- Posts: 15
- Joined: March 27th, 2011, 1:19 pm
Re: Mouse Actions Show Image
Well...still the same.. i even tried your example to be sure:
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Mouse Actions Show Image
See my last post.
-
- Posts: 15
- Joined: March 27th, 2011, 1:19 pm
Re: Mouse Actions Show Image
well yeah..that's nice but i can't stick the image to the screen edge then... it has ~50 pixels free space which won't ignored while dragging it to the screen, ergo i have the 50 pixel barrier from the edge
(yeah i know..my case is annoying)
(yeah i know..my case is annoying)
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Mouse Actions Show Image
So if I understand correctly you want a small image to be displayed first, positioned on the far left of your screen. Then you want to display a larger image on "hover", but instead of having it start also at position 0 on the left, you want it to start at position -50 so it is "centered" on the smaller image.
Not really possible in any easy way. Rainmeter can't draw where the screen doesn't exist.
I must be missing something.
Not really possible in any easy way. Rainmeter can't draw where the screen doesn't exist.
I must be missing something.