public UIMouseEventRef ListenForMouse(Rectangle region, UIMouseEvent callback)
{
var newRegion = new UIMouseEventRef()
{
Callback = callback,
Region = region,
Element = this
};
if (m_MouseRefs == null)
{
m_MouseRefs = new List<UIMouseEventRef>();
}
m_MouseRefs.Add(newRegion);
return newRegion;
}