Beispiel #1
0
    public override GUIBase_Widget GUIView_HitTest(ref Vector2 point)
    {
        if (m_View != null)
        {
            return(m_View.HitTest(ref point));
        }

        return(null);
    }
Beispiel #2
0
    public override GUIBase_Widget GUIView_HitTest(ref Vector2 point)
    {
        GUIBase_Widget widget = base.GUIView_HitTest(ref point);

        if (widget != null)
        {
            return(widget);
        }

        return(m_View != null?m_View.HitTest(ref point) : null);
    }
Beispiel #3
0
    protected override GUIBase_Widget OnViewHitTest(ref Vector2 point)
    {
        GUIBase_Widget widget = base.OnViewHitTest(ref point);

        if (widget != null)
        {
            return(widget);
        }

        return(Layout != null?Layout.HitTest(ref point) : null);
    }