2 registered members (AndrewAMD, TipmyPip),
12,420
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
View within a Panel?
#141712
07/17/07 18:03
07/17/07 18:03
|
Joined: Aug 2006
Posts: 41 Racine, WI, USA
dreadFusemonkey
OP
Newbie
|
OP
Newbie
Joined: Aug 2006
Posts: 41
Racine, WI, USA
|
I am working on an A7 lite-c project. I have a minimap VIEW that I would like to make drag-able and resize-able. (Anyone here ever play Minions of Mirth?). I haven't seen any sample code, and search didn't turn anything up that looked related.
So, my plan is to have a PANEL with the VIEW superimposed over it, and have buttons on the PANEL that I will use for resizing/dragging/closing/zooming .
Unfortunately, I can't get the VIEW to stay above the PANEL. I have set the VIEW's layer to a larger number than the PANEL's, but the PANEL is always covering the VIEW. I have tried making the VIEW a little bigger than the PANEL to test to make sure the VIEW is actually being displayed, and it is peeking out from behind the PANEL.
Am I making this too complicated? Does this sound like a good solution, or is there a better way? And, is there something besides the "layer" property that I need to fiddle with to make this work?
Thanks for any help you can offer.
To crush your enemy...see them driven before you, and to hear da lamentation of da vimmen!
|
|
|
Re: View within a Panel?
[Re: Shadow969]
#141715
07/17/07 21:49
07/17/07 21:49
|
Joined: Aug 2006
Posts: 41 Racine, WI, USA
dreadFusemonkey
OP
Newbie
|
OP
Newbie
Joined: Aug 2006
Posts: 41
Racine, WI, USA
|
Dennis: I tried what the manual said, setting my panel layer to -10 and my view layer to a positive number, and the panel still overlaps. I have version 7.04. My level does have a sky cube - I don't know if this statement, "...when the sky is switched off" says I can't have a sky? or can I turn the sky off on my minimap view?
Shadow: I created a 256x256 TGA w/ a colored border and a transparent background. I used it for the panel bmap, and viola - I could see my minimap view. Thanks.
To crush your enemy...see them driven before you, and to hear da lamentation of da vimmen!
|
|
|
|