1 registered members (TipmyPip),
18,388
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
mouse_spot
#292581
10/04/09 23:02
10/04/09 23:02
|
Joined: Jul 2008
Posts: 1,178 England
MrGuest
OP
Serious User
|
OP
Serious User
Joined: Jul 2008
Posts: 1,178
England
|
Hi,
I'm trying to change the mouse_map to a resize bmap when over the edge of a panel,
all successful until the mouse_map reaches 0,0 but the spot is at 24,24, meaning i'm unable to move the mouse high enough to click on the panels border,
is there anyway to get around this, or can something be implemented, for the mouse to reach a lower position than 0,0, or aligning the mouse_map so the mouse_spot is always the same as mouse_pos and offseting the image.
Many thanks MrGuest
|
|
|
Re: mouse_spot
[Re: jcl]
#292682
10/05/09 23:47
10/05/09 23:47
|
Joined: Jul 2008
Posts: 1,178 England
MrGuest
OP
Serious User
|
OP
Serious User
Joined: Jul 2008
Posts: 1,178
England
|
Hi, I think I may not of explained correctly If I have create an image, then try rescaling from it's top, I use mouse_spot to do this, easy  But when the edge is already at the top I am unable to move the mouse higher to do this  Adjusting mouse_spot isn't the problem, it's changing it's boundaries which is the problem Many thanks as always! MrGuest
|
|
|
Re: mouse_spot
[Re: MrGuest]
#350765
12/18/10 23:19
12/18/10 23:19
|
Joined: Jul 2008
Posts: 1,178 England
MrGuest
OP
Serious User
|
OP
Serious User
Joined: Jul 2008
Posts: 1,178
England
|
This problem has just arisen in another situation. When creating a crosshair 64x64 the mouse_spot will obviously be 32x32. If a mouse is clicked at a x or y position less than 32 on the screen position it will either click the border or activate the program behind it. Moving the crosshair to a negative mouse_spot and having the mouse trigger it it's usual position will solve this. Any chance of getting this implemented or is it time for another work around? 
|
|
|
|