public KryptonInternalKCT(KryptonColorTable baseKCT,
IPalette palette)
: base(palette)
{
Debug.Assert(baseKCT != null);
// Remember the base used for inheriting
_baseKCT = baseKCT;
// Always assume the same use of system colors
UseSystemColors = _baseKCT.UseSystemColors;
// Create the array for storing colors
_colors = new Color[(int)PaletteColorIndex.Count];
// Initialise all the colors to empty
for (int i = 0; i < _colors.Length; i++)
_colors[i] = Color.Empty;
// Initialise other storage values
_useRoundedEdges = InheritBool.Inherit;
}