Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/08/14 17:26:32 (10 years ago)
Author:
bburlacu
Message:

#1772: Added default font, pen, and brush for the graphical components (the idea is to save memory by sharing default pens and brushes - not allocating new ones all the time), added support for tracing mutation operations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Tracking/FragmentGraphView.cs

    r10797 r10827  
    101101              var rpb = primitive as RectangularPrimitiveBase;
    102102              if (rpb != null) {
    103                 rpb.Pen = new Pen(Color.RoyalBlue);
     103                rpb.Pen = Pens.RoyalBlue;
    104104              }
    105105            }
     
    123123                  var rpb = primitive as RectangularPrimitiveBase;
    124124                  if (rpb != null) {
    125                     rpb.Pen = new Pen(Color.DarkOrange);
     125                    rpb.Pen = Pens.DarkOrange;
    126126                  }
    127127                }
Note: See TracChangeset for help on using the changeset viewer.