Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,388 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Panels #124615
04/17/07 15:44
04/17/07 15:44
Joined: Mar 2006
Posts: 724
the Netherlands
Frits Offline OP
User
Frits  Offline OP
User

Joined: Mar 2006
Posts: 724
the Netherlands
Is there a possibility to change the cursor.map when hovering over a panel?
I tried it with panelX.enable_touch=on; but that does not work.
Anyone an idea?


I like to keep scripting simple, life is hard enough as it is.
Regards,
Frits
Re: Panels [Re: Frits] #124616
04/17/07 15:46
04/17/07 15:46
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
well you could have the whole panel as button, then use the mouse_over function of that button element:
Code:

function change_mousemap()
{
mouse_map = new_mousemap;
}

panel my_panel
{
...
button = 0,0,bmapOn,bmapOff,bmapOver,functionOn,functionOff,change_mousemap;
...
}



Re: Panels [Re: Xarthor] #124617
04/17/07 18:53
04/17/07 18:53
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline
Expert
Germanunkol  Offline
Expert

Joined: Jun 2006
Posts: 2,640
Earth
I think what he means is:

bmap panel_mouse = "panel_mouse.bmp";

panel something
{
...
}

something.mouse_map = panel_mouse;

this should make sure the mouse image changes while the cursor's over the panel...?


~"I never let school interfere with my education"~
-Mark Twain
Re: Panels [Re: Germanunkol] #124618
04/17/07 20:25
04/17/07 20:25
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
@Germanunkol: LOL you got me on this one, yeah right I forgot about panel.mouse_map .. sorry!

Re: Panels [Re: Xarthor] #124619
04/18/07 07:36
04/18/07 07:36
Joined: Mar 2006
Posts: 724
the Netherlands
Frits Offline OP
User
Frits  Offline OP
User

Joined: Mar 2006
Posts: 724
the Netherlands
Thanks guys, I will try it.


I like to keep scripting simple, life is hard enough as it is.
Regards,
Frits

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1