Manual control of Z-order for OverlayContainers

What it says on the tin: a place to discuss proposed new features.
Post Reply
User avatar
Captain_Deathbeard
Gremlin
Posts: 179
Joined: Mon Nov 21, 2005 6:16 pm
Location: UK
x 7
Contact:

Manual control of Z-order for OverlayContainers

Post by Captain_Deathbeard »

Just a small feature, it would be good if you could control the Z-order of OverlayContainers. At the moment it seems to be based on order of creation, however there seems to be random occurrences when that changes and stuff gets stuck behind other panels.
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 67
Contact:

Post by sinbad »

Sibling containers and elements all have the same zorder. zorder is incremented as you go into child containers to ensure the render order of parent/children.

It's not that trivial to change this since all zorder is derived from the zorder set on overlay for the moment.
Post Reply