Пример #1
0
        static PintaCore()
        {
            // Resources and Settings are intialized first so later
            // Managers can access them as needed.
            Resources = new ResourceManager();
            Settings  = new SettingsManager();

            Actions      = new ActionManager();
            Workspace    = new WorkspaceManager();
            Layers       = new LayerManager();
            PaintBrushes = new PaintBrushManager();
            Tools        = new ToolManager();
            System       = new SystemManager();
            LivePreview  = new LivePreviewManager();
            Palette      = new PaletteManager();
            Chrome       = new ChromeManager();
            Effects      = new EffectsManager();

            Services = new ServiceManager();

            Services.AddService <IResourceService> (Resources);
            Services.AddService <ISettingsService> (Settings);
            Services.AddService(Actions);
            Services.AddService <IWorkspaceService> (Workspace);
            Services.AddService(Layers);
            Services.AddService <IPaintBrushService> (PaintBrushes);
            Services.AddService <IToolService> (Tools);
            Services.AddService(System);
            Services.AddService(LivePreview);
            Services.AddService <IPaletteService> (Palette);
            Services.AddService(Chrome);
            Services.AddService(Effects);
        }
Пример #2
0
 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 ();
 }
Пример #3
0
 static PintaCore()
 {
     Resources = new ResourceManager ();
     Actions = new ActionManager ();
     Workspace = new WorkspaceManager ();
     Layers = new LayerManager ();
     PaintBrushes = new PaintBrushManager ();
     Tools = new ToolManager ();
     History = new HistoryManager ();
     System = new SystemManager ();
     LivePreview = new LivePreviewManager ();
     Palette = new PaletteManager ();
     Settings = new SettingsManager ();
     Chrome = new ChromeManager ();
 }
Пример #4
0
 static PintaCore()
 {
     Resources    = new ResourceManager();
     Actions      = new ActionManager();
     Workspace    = new WorkspaceManager();
     Layers       = new LayerManager();
     PaintBrushes = new PaintBrushManager();
     Tools        = new ToolManager();
     History      = new HistoryManager();
     System       = new SystemManager();
     LivePreview  = new LivePreviewManager();
     Palette      = new PaletteManager();
     Settings     = new SettingsManager();
     Chrome       = new ChromeManager();
     Effects      = new EffectsManager();
 }
Пример #5
0
			internal Renderer (LivePreviewManager manager, AsyncEffectRenderer.Settings settings)
				: base (settings)
			{
				this.manager = manager;
			}
Пример #6
0
			internal Renderer (LivePreviewManager manager, AsyncEffectRenderer.Settings settings)
				: base (settings)
			{
				this.manager = manager;
			}