Example #1
0
 //----------------------Mouse Button Handler------------------------------------
 private void ButtonClickedHandler(object sender, MouseEventArgs e)
 {
     //If mouse is over GUI then we don't want to process the button clicks
     if (e.X < Screen.width - m_GuiWidth)
     {
         e.Command();
     }
 }
 //----------------------Mouse Button Handler------------------------------------
 private void ButtonClickedHandler(object sender, MouseEventArgs e)
 {
     //If mouse is over GUI then we don't want to process the button clicks
     if (e.X < Screen.width-m_GuiWidth)
     {
         e.Command ();
     }
 }