Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Nymphodora), 485 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Panel,Mouse features #230916
10/10/08 03:44
10/10/08 03:44
Joined: Oct 2003
Posts: 702
Z
zazang Offline OP
User
zazang  Offline OP
User
Z

Joined: Oct 2003
Posts: 702
Hello

1. We are having lots of panels on the screen and it would definelty help if there was a pointer that points to the topmost layered panel that is being touched by the mouse.
(similar to the mouse_ent pointer for entities)

2. Just as the "on_click" engine function(that is executed when the mouse is clicked somewhere on the screen), we are
also missing an "on_release" function that can be executed when the mouse is released over the view without hitting any panel or entity.

regards
zazang


I like good 'views' because they have no 'strings' attached..
Re: Panel,Mouse features [Re: zazang] #231837
10/17/08 08:22
10/17/08 08:22
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
I think an on_release function can be realized by reading the mouse_left value. But a mouse_panel variable is a good idea and I'll add it to my list.

Re: Panel,Mouse features [Re: jcl] #232052
10/19/08 00:51
10/19/08 00:51
Joined: Oct 2003
Posts: 702
Z
zazang Offline OP
User
zazang  Offline OP
User
Z

Joined: Oct 2003
Posts: 702
The problem with reading mouse_left the way you mentioned is that the mouse_left var does not give any indicator where the mouse was clicked..like a panel or an entity or empty area of screen. So thats why an on_release is required.




I like good 'views' because they have no 'strings' attached..
Re: Panel,Mouse features [Re: zazang] #232324
10/21/08 09:26
10/21/08 09:26
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
The best solution would be probably a general mouse event, with event_mode set to the type of event.

Re: Panel,Mouse features [Re: jcl] #232328
10/21/08 09:55
10/21/08 09:55
Joined: Oct 2003
Posts: 702
Z
zazang Offline OP
User
zazang  Offline OP
User
Z

Joined: Oct 2003
Posts: 702
yeah thats definetly a great solution smile


I like good 'views' because they have no 'strings' attached..
Re: Panel,Mouse features [Re: zazang] #232371
10/21/08 14:56
10/21/08 14:56
Joined: Oct 2003
Posts: 702
Z
zazang Offline OP
User
zazang  Offline OP
User
Z

Joined: Oct 2003
Posts: 702
wow mouse_panel already in beta..thanks JCL !


I like good 'views' because they have no 'strings' attached..
Re: Panel,Mouse features [Re: zazang] #232377
10/21/08 15:00
10/21/08 15:00
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
cool, this can be usefull.


3333333333

Moderated by  aztec, Spirit 

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