Gamestudio Links
Zorro Links
Newest Posts
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 9,630 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
exclude a panel from the mouse? #213594
06/29/08 10:40
06/29/08 10:40
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline OP
Senior Expert
ello  Offline OP
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
is this possible? i have a panel with transparent parts, and i have a pannel behind it with buttons, however, those buttons cant be touched because of the overlaying panel. is there a way to draw the panels bmap over the buttons?


www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
Re: exclude a panel from the mouse? [Re: ello] #213599
06/29/08 11:36
06/29/08 11:36
Joined: Aug 2000
Posts: 1,141
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,141
Baunatal, Germany
When the transparent hole in the panel is rectangular you could try to put the overlaying panel together from 4 panels so that the hole is not covered by the panel area, apart from that I dont know a method other than requesting an UNTOUCHABLE flag for panels.

Re: exclude a panel from the mouse? [Re: Tobias] #213602
06/29/08 11:50
06/29/08 11:50
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline OP
Senior Expert
ello  Offline OP
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
i was afraid of such an answer, thanks anyway...


www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
Re: exclude a panel from the mouse? [Re: ello] #213709
06/30/08 09:20
06/30/08 09:20

M
mercuryus
Unregistered
mercuryus
Unregistered
M



You can use a View-entity.

Re: exclude a panel from the mouse? [Re: ello] #213711
06/30/08 09:45
06/30/08 09:45
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
If you have only one panel of such a kind, use a workaround. Other than that you could write your own little editor, in which you load an image and you use two tools: additive polyshape and subtractive polyshape. When using the add tool, you create a valid polygon area on your image. When you use the sub tool, you create "holes" or you cut something from the available shape. Then you save it to file and when you load your panel, you synchronize the polyshape data with the panel.

A function that evaluates the mouse position against the shape then could return if you hit the panel or if not. In that case you hitted maybe panels in the behind.

This is just the theory. With this method you could also supply collision shapes for panels, e.g. for 2D physics or such. For this method you need also an advanced panel management which you'd have to write yourself, of course.

Just my thoughts, I think you don't need this for that particular problem smile

Bye, Chris

Re: exclude a panel from the mouse? [Re: HeelX] #213818
07/01/08 02:37
07/01/08 02:37
Joined: Oct 2003
Posts: 702
Z
zazang Offline
User
zazang  Offline
User
Z

Joined: Oct 2003
Posts: 702
I have had a need for this feature many number of times,especially if we have large non rectangular shaped buttons.
.A simple "EXCLUDE_OVERLAY" flag for panels will be cool.This would simply not detect overlay parts of a panel.Besides,I dont think this is a feature that will cause any significant overhead.







I like good 'views' because they have no 'strings' attached..

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