コード例 #1
0
        public ThemeColorMappingInstance(IColorPaletteEntry source, ThemeColorTarget targetColor, ColorPaletteResources targetResources, ThemeExtraPalette extraPalette)
        {
            _source          = source;
            _targetColor     = targetColor;
            _targetResources = targetResources;
            _extraPalette    = extraPalette;

            Apply();

            _source.ActiveColorChanged += Source_ActiveColorChanged;
        }
コード例 #2
0
 public ThemeColorMapping(IColorPaletteEntry source, ThemeColorTarget targetColor)
 {
     _source      = source;
     _targetColor = targetColor;
 }