Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (NnamueN, 1 invisible), 1,489 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 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 | chip programmers | 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