Well you could also try to merge some of the panels together, so you have 1 big background panel instead of several smaller ones, but I see your point ..
-------------------------------------------
ICQ: 242543712
Ich bin nicht hier und bin nicht da.
Wo bin ich dann?
".."
("")
^ ^
This is the evil vampire bunny. Copy and paste him into your signiture to help him achieve world domination. Yeah
Re: Add view property for panel
[Re: FRAJO]
#65290 03/14/0617:0203/14/0617:02
Well you could also try to merge some of the panels together, so you have 1 big background panel instead of several smaller ones, but I see your point ..
How can you do that?
Re: Add view property for panel
[Re: vlau]
#65291 03/14/0618:0203/14/0618:02
EDIT ---- Great! Work perfectly. You should put it into Wiki page.
BTW, should I issue DLL_UnregisterPanel(_Panel), DLL_UnregisterAllPanelsOfView(_View) when exit the game or doing that when the panel/view are no longer necessary in the game?
Thank you so much.
Last edited by vlau; 03/15/0614:33.
Re: Add view property for panel
[Re: vlau]
#65293 03/15/0615:5503/15/0615:55
EDIT: you dont have to pass a valid view pointer. You can also use IDs except 0. So you can have many groups not bound to any view.
Ex:
#define ID_GROUP1,1;//dont use 0
DLL_RegisterPanel(MyPan,ID_GROUP1);
EDIT2: Added to wiki.
Last edited by FRAJO; 03/15/0619:12.
-------------------------------------------
ICQ: 242543712
Ich bin nicht hier und bin nicht da.
Wo bin ich dann?
".."
("")
^ ^
This is the evil vampire bunny. Copy and paste him into your signiture to help him achieve world domination. Yeah