Make Order of Effects in XML Order for Rendering
Nifty GUI is a Java Library to create OpenGL based user interfaces.
Brought to you by:
void256
Currently Nifty groups all effects like <onStartScreen>, <onActive>, <onShow> and so on into categories and renders all the categories in a fixed order. For instance currently <onCustom> effects will always render before <onActive> effects.
This however does prevent certain rendering effects where one would like to change the order that effects are applied. For instance when I want to render <onCustom> after <onActive> I can't currently create that because of the fixed nature that effects are applied.
Proposal: Make the order of effects as they appear in the xml the actual order that effects are applied or rendered in nifty. This way the order is in the control of the user.