Example #1
0
 private void ClearScreen(SlcWithColorIndex cmd)
 {
     clearColor = cmd.ColorIndex;
     if (TransparentColorOverride)
     {
         for (var i = 0; i < BufferSize; i++)
         {
             buffer[i] = transparentColor;
         }
     }
     else
     {
         for (var i = 0; i < BufferSize; i++)
         {
             buffer[i] = clearColor;
         }
     }
     Invalidate();
 }
Example #2
0
 private void SetTransparentColor(SlcWithColorIndex cmd)
 {
     transparentColor = cmd.ColorIndex;
     Invalidate();
 }