public ColorTheme( ISystemThemeDetector systemThemeDetector, LogJoint.Settings.IGlobalSettingsAccessor settings ) { this.systemThemeDetector = systemThemeDetector; this.threadColors = new LogThreadsColorsTable(this, () => settings.Appearance.ColoringBrightness); this.highlightingColors = new HighlightBackgroundColorsTable(this); }
public static PresentationObjects Create( ModelObjects model, IClipboardAccess clipboardAccess, IShellOpen shellOpen, IAlertPopup alertPopup, IFileDialogs fileDialogs, IPromptDialog promptDialog, About.IAboutConfig aboutConfig, MainForm.IDragDropHandler dragDropHandler, ISystemThemeDetector systemThemeDetector, IViewsFactory views ) { T callOptionalFactory <T>(Func <T> factory) where T : class