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