Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/05/10 13:08:50 (14 years ago)
Author:
mkommend
Message:

added visual indication for operator breakpoints (ticket #867)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/Model/OperatorShape.cs

    r2934 r2935  
    2929using HeuristicLab.Netron;
    3030
     31
    3132namespace HeuristicLab.Operators.Views.GraphVisualization {
    3233  public class OperatorShape : ComplexShapeBase {
     
    5455          this.expandIconMaterial.Collapsed = value;
    5556      }
     57    }
     58
     59    private Color lineColor;
     60    public Color LineColor {
     61      get { return this.lineColor; }
     62      set { this.lineColor = value; }
     63    }
     64
     65    private float lineWidth;
     66    public float LineWidth {
     67      get { return this.lineWidth; }
     68      set { this.lineWidth = value; }
    5669    }
    5770
     
    205218      g.SmoothingMode = SmoothingMode.HighQuality;
    206219
    207       Pen pen;
    208       if (Hovered)
    209         pen = ArtPalette.HighlightPen;
    210       else
    211         pen = mPenStyle.DrawingPen();
     220      Pen pen = new Pen(lineColor,lineWidth);
    212221
    213222      GraphicsPath path = new GraphicsPath();
Note: See TracChangeset for help on using the changeset viewer.