Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/20/26 15:57
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 4,666 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
juergenwue, VladMak, Geir, ondrej, mredit
19208 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