static PintaCore() { Resources = new ResourceManager (); Actions = new ActionManager (); Workspace = new WorkspaceManager (); Layers = new LayerManager (); Tools = new ToolManager (); History = new HistoryManager (); System = new SystemManager (); }
static PintaCore() { Resources = new ResourceManager (); Actions = new ActionManager (); Workspace = new WorkspaceManager (); Layers = new LayerManager (); Tools = new ToolManager (); History = new HistoryManager (); System = new SystemManager (); LivePreview = new LivePreviewManager (); Palette = new PaletteManager (); Settings = new SettingsManager (); }
private void DisplayHelp(object sender, EventArgs e) { if (SystemManager.GetOperatingSystem() == OS.X11) { // Search for help files in the user's preferred language. var help_dir = Path.Combine(SystemManager.GetDataRootDirectory(), "help"); var langs = PintaCore.System.GetLanguageNames(); foreach (var lang in langs) { string path = Path.Combine(Path.Combine(help_dir, lang), "pinta"); if (Directory.Exists(path)) { Process.Start(string.Format("ghelp://{0}", path)); return; } } } // TODO - update this link if we make HTML documentation available // online, or install it with Pinta. Process.Start("http://pinta-project.com/howto"); }