Ejemplo n.º 1
0
 void CheckCursorOnButton(object sender, CursorEventArgs eventArgs)
 {
     if (navigation.CheckIfCurrentScreenEquals(Context.Toolbar) && eventArgs.newCoord == position)
     {
         output.HighlightRect(position, name.Length);
     }
     else
     {
         output.DeHighlightRect(position, name.Length);
     }
 }
Ejemplo n.º 2
0
 void CheckForScroll(object sender, CursorEventArgs eventArgs)
 {
     if (eventArgs.newCoord.y >= 56 && eventArgs.newCoord.x == xPosition - 1)
     {
         ScrollDown();
     }
     else if (eventArgs.newCoord.y <= 3 && eventArgs.newCoord.x == xPosition - 1)
     {
         ScrollUp();
     }
 }
Ejemplo n.º 3
0
 public void HighlightCheck(object sender, CursorEventArgs eventArgs)
 {
     if (IsCursorOnThisLabel())
     {
         output.HighlightRect(new Coord(position.x - 1, position.y), 77);
     }
     else
     {
         output.DeHighlightRect(new Coord(position.x - 1, position.y), 77);
     }
 }
Ejemplo n.º 4
0
 void SetLastPosition(object sender, CursorEventArgs eventArgs) => lastPosition = eventArgs.newCoord;