/// <summary> /// Sets the background and foreground colors of the dialog. /// </summary> /// <param name="pluginUISettings">The plug-in UI settings.</param> public static void SetDialogColors(PluginUISettings pluginUISettings) { if (pluginUISettings != null) { formBackColor = pluginUISettings.ColorPickerBackColor; formForeColor = pluginUISettings.ColorPickerForeColor; } }
public unsafe PropertySuite(int documentWidth, int documentHeight, PluginUISettings pluginUISettings) { getPropertyProc = new GetPropertyProc(PropertyGetProc); setPropertyProc = new SetPropertyProc(PropertySetProc); this.documentWidth = documentWidth; this.documentHeight = documentHeight; highDpi = pluginUISettings?.HighDpi ?? false; numberOfChannels = 0; }