dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] pnetlib/System.Drawing.Xsharp DrawingImage.cs, 1.


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnetlib/System.Drawing.Xsharp DrawingImage.cs, 1.2, 1.3 DrawingToolkit.cs, 1.16, 1.17
Date: Thu, 02 Oct 2003 05:15:03 +0000

Update of /cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Xsharp
In directory subversions:/tmp/cvs-serv30537/System.Drawing.Xsharp

Modified Files:
        DrawingImage.cs DrawingToolkit.cs 
Log Message:


Rewrite the "Icon" class; hook icon drawing throughout the system; specify
the frame when creating a toolkit image, to select the correct icon frame.


Index: DrawingToolkit.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Xsharp/DrawingToolkit.cs,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** DrawingToolkit.cs   28 Aug 2003 13:30:06 -0000      1.16
--- DrawingToolkit.cs   2 Oct 2003 05:15:01 -0000       1.17
***************
*** 566,572 ****
                        }
  
!       public IToolkitImage CreateImage(DotGNU.Images.Image image)
                        {
!                               return new 
DrawingImage(app.Display.DefaultScreenOfDisplay, image);
                        }
  
--- 566,573 ----
                        }
  
!       public IToolkitImage CreateImage(DotGNU.Images.Image image, int frame)
                        {
!                               return new DrawingImage
!                                       (app.Display.DefaultScreenOfDisplay, 
image, frame);
                        }
  

Index: DrawingImage.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Xsharp/DrawingImage.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** DrawingImage.cs     2 Oct 2003 04:00:38 -0000       1.2
--- DrawingImage.cs     2 Oct 2003 05:15:01 -0000       1.3
***************
*** 32,38 ****
  
        // Constructor.
!       public DrawingImage(Screen screen, DotGNU.Images.Image image)
                        {
!                               this.image = new Xsharp.Image(screen, 
image.GetFrame(0));
                        }
  
--- 32,38 ----
  
        // Constructor.
!       public DrawingImage(Screen screen, DotGNU.Images.Image image, int frame)
                        {
!                               this.image = new Xsharp.Image(screen, 
image.GetFrame(frame));
                        }
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]