public VisualStudioToolStripRenderer(DockPanelColorPalette palette)
     : base(new VisualStudioColorTable(palette))
 {
     _table                 = (VisualStudioColorTable)ColorTable;
     _palette               = palette;
     RoundedEdges           = false;
     _statusBarBrush        = new SolidBrush(palette.MainWindowStatusBarDefault.Background);
     _statusGripBrush       = new SolidBrush(palette.MainWindowStatusBarDefault.ResizeGrip);
     _statusGripAccentBrush = new SolidBrush(palette.MainWindowStatusBarDefault.ResizeGripAccent);
     _toolBarBrush          = new SolidBrush(palette.CommandBarToolbarDefault.Background);
     _gripBrush             = new SolidBrush(palette.CommandBarToolbarDefault.Grip);
     _toolBarBorderPen      = new Pen(palette.CommandBarToolbarDefault.Border);
     CloseButtom            = ImageServiceHelper.GetImage(Theme.ThemeVS2012.Resources.MaskTabClose, _palette.TabSelectedInactive.Button,
                                                          _palette.TabSelectedInactive.Background);
     UseGlassOnMenuStrip = true;
 }
Exemplo n.º 2
0
 public VisualStudioColorTable(DockPanelColorPalette palette)
 {
     _palette = palette;
 }