UpdateColourMap() public method

Associates each of the colours in the pattern list with the number of times the colour appears. Will not set if number of entries exceeds MainForm.MAX_COLOURS
public UpdateColourMap ( ) : void
return void
Esempio n. 1
0
 public void ShowPatternEditor()
 {
     if (mRecolouredImage != null)
     {
         this.Cursor = Cursors.WaitCursor;
         ImagingTool tool = new ImagingTool(mRecolouredImage);
         patternEditor.UpdateColourMap();
         this.Cursor = Cursors.Default;
         patternEditor.Show();
         patternEditor.Focus();
     }
 }