CLASS(ModalController) EXTENDS(Container)
METHOD(ModalController, resizeNotify, void(entity, vector, vector, vector, vector))
METHOD(ModalController, draw, void(entity))
- METHOD(ModalController, addItem, void(entity, entity, vector, vector, float))
METHOD(ModalController, showChild, void(entity, entity, vector, vector, float))
METHOD(ModalController, hideChild, void(entity, entity, float))
METHOD(ModalController, hideAll, void(entity, float))
return;
if(button)
button.forcePressed = 1;
+ if(tab.parent.focusedChild)
+ tab.parent.focusedChild.saveFocus(tab.parent.focusedChild);
tab.ModalController_controllingButton = button;
tab.parent.showChild(tab.parent, tab, theOrigin, theSize, 0);
}
vector fs;
animating = 0;
+ front = world;
for(e = me.firstChild; e; e = e.nextSibling)
if(e.ModalController_state)
{