Ejemplo n.º 1
0
    protected override bool OnViewProcessInput(ref IInputEvent evt)
    {
        if (base.OnViewProcessInput(ref evt) == true)
        {
            return(true);
        }

        if (m_Components != null)
        {
            foreach (var entry in m_Components.Components)
            {
                ScreenComponent component = (ScreenComponent)entry;
                if (component.ProcessInput(ref evt) == true)
                {
                    return(true);
                }
            }
        }

        return(Layout != null?Layout.ProcessInput(ref evt) : false);
    }