예제 #1
0
 public override void Draw()
 {
     Lcd.DrawRectangle(outherBox, true, true);
     Lcd.DrawRectangle(innerBox, Selected, true);
     Lcd.DrawArrow(arrowRect, Lcd.ArrowOrientation.Left, !Selected);
     Lcd.DrawLine(new Point(arrowRect.P2.X, outherBox.P1.Y + ((outherBox.P2.Y - outherBox.P1.Y) / 2)), new Point(outherBox.P2.X - 8 * characterEdge, outherBox.P1.Y + ((outherBox.P2.Y - outherBox.P1.Y) / 2)), !Selected);
     Lcd.DrawLine(new Point(outherBox.P2.X - 8 * characterEdge, outherBox.P1.Y + ((outherBox.P2.Y - outherBox.P1.Y) / 2)), new Point(outherBox.P2.X - 8 * characterEdge, outherBox.P1.Y + 4 * characterEdge), !Selected);
 }
예제 #2
0
 public override void Draw()
 {
     if (Disabled)
     {
         Lcd.DrawRectangle(outherBox, true, true);
         Lcd.DrawRectangle(innerBox, Selected, true);
         Lcd.DrawLine(outherBox.P1, outherBox.P2, !Selected);
         Lcd.DrawLine(new Point(outherBox.P1.X, outherBox.P2.Y), new Point(outherBox.P2.X, outherBox.P1.Y), !Selected);
         return;
     }
     Lcd.DrawRectangle(outherBox, true, true);
     Lcd.DrawRectangle(innerBox, Selected, true);
     Lcd.DrawArrow(arrowRect, arrowOrientation, !Selected);
 }
예제 #3
0
		public void DrawLine (int xStart, int yStart, int xEnd, int yEnd, bool color)
		{
			Lcd.DrawLine(new Point(xStart,yStart), new Point(xEnd, yEnd), color);
		}