public GetBackColor1 ( PaletteState state ) : Color | ||
state | PaletteState | Palette value should be applicable to this state. |
return | Color |
public override Color GetBackColor1(PaletteState state)
{
if (_apply)
{
Color ret = _primary.GetBackColor1(_override ? _state : state);
if (ret == Color.Empty)
ret = _backup.GetBackColor1(state);
return ret;
}
else
return _backup.GetBackColor1(state);
}