예제 #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
파일: PintaCore.cs 프로젝트: mrolappe/Pinta
 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
파일: PintaCore.cs 프로젝트: RodH257/Pinta
 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
파일: PintaCore.cs 프로젝트: ywscr/Pinta
 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;
			}