About Store Forum Documentation Contact
Donations:
345$/mo



Post Reply 
Multiple GUI sets
Author Message
Scoring Offline
Member

Post: #1
Multiple GUI sets
Hello!

I have a main screen with a background, some menu buttons and a region. I have some subscreens also designed in editor and saved as gui asset. I would like switch screens while the main gui elements are always active.
Which option works in Esenthel or which is recommended?

1. Load all gui sets as init, adding them to main gui, deactivate/hide all, and showing only the set activated by a button. This seems work, but I cant move active objects to top of screen, they appear in background, behind the main screen objects. I tried to go through Guiobjs container, getting the objects, and using the movetotop method without no result.

2. Load all gui sets and add active elements to my main screen region object. My problem here I cant add sets to region, only individual gui objects. Im not sure if I can do, or finally I will meet the same problem as in 1).

3. Acessing all gui elements via pointers and hide/show them manually. It works probably but I would like avoid this solution, because I would like handle the screens simply and not accessing visual elements too, which I dont want handle from code (like images).


thanks
06-09-2014 03:39 PM
Find all posts by this user Quote this message in a reply
Scoring Offline
Member

Post: #2
RE: Multiple GUI sets
Well I feel movetop, movetobottom are uneffective, but may be I use it wrong.
What I loaded first, seems always is on top...
06-09-2014 08:26 PM
Find all posts by this user Quote this message in a reply
Post Reply