Class KFGUI_MultiComponent extends KFGUI_Base; `include(Build.uci) `include(Logger.uci) var() export editinline array Components; function InitMenu() { local int i; for( i=0; i=0; i-- ) { if( Components[i].CaptureMouse() ) { MouseArea = Components[i]; return true; } } MouseArea = None; return Super.CaptureMouse(); // check with frame itself. } function bool ReceievedControllerInput(int ControllerId, name Key, EInputEvent Event) { local int i; for( i=Components.Length - 1; i>=0; i-- ) { if( Components[i].ReceievedControllerInput(ControllerId, Key, Event) ) { return true; } } return Super.ReceievedControllerInput(ControllerId, Key, Event); } function KFGUI_Base FindComponentID( name InID ) { local int i; local KFGUI_Base Result; if( ID==InID ) Result = Self; else { for( i=0; i Res ) { local int i; if( ID==InID ) Res[Res.Length] = Self; for( i=0; i