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