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

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

[dotgnu-pnet-commits] pnetlib ChangeLog System.Drawing.Xsharp/Drawing...


From: Heiko Weiss
Subject: [dotgnu-pnet-commits] pnetlib ChangeLog System.Drawing.Xsharp/Drawing...
Date: Mon, 12 Jun 2006 09:19:42 +0000

CVSROOT:        /sources/dotgnu-pnet
Module name:    pnetlib
Changes by:     Heiko Weiss <brubbel>   06/06/12 09:19:42

Modified files:
        .              : ChangeLog 
        System.Drawing.Xsharp: DrawingWindow.cs 
        Xsharp         : Cursor.cs 

Log message:
        irgnore pixel format with cursors.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnetlib/ChangeLog?cvsroot=dotgnu-pnet&r1=1.2423&r2=1.2424
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System.Drawing.Xsharp/DrawingWindow.cs?cvsroot=dotgnu-pnet&r1=1.31&r2=1.32
http://cvs.savannah.gnu.org/viewcvs/pnetlib/Xsharp/Cursor.cs?cvsroot=dotgnu-pnet&r1=1.2&r2=1.3

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/dotgnu-pnet/pnetlib/ChangeLog,v
retrieving revision 1.2423
retrieving revision 1.2424
diff -u -b -r1.2423 -r1.2424
--- ChangeLog   12 Jun 2006 04:43:13 -0000      1.2423
+++ ChangeLog   12 Jun 2006 09:19:41 -0000      1.2424
@@ -1,3 +1,9 @@
+2006-06-12  Heiko Weiss  <address@hidden>
+
+       * System.Drawing.Xsharp/DrawingWindows.cs,
+       Xsharp/Cursor.cs: irgnore pixel format with cursors.
+       
+
 2006-06-12  David Logan  <address@hidden>
 
        * System.Windows.Forms/RadioButton.cs: fixed drawing disabled

Index: System.Drawing.Xsharp/DrawingWindow.cs
===================================================================
RCS file: /sources/dotgnu-pnet/pnetlib/System.Drawing.Xsharp/DrawingWindow.cs,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- System.Drawing.Xsharp/DrawingWindow.cs      21 Mar 2006 10:40:01 -0000      
1.31
+++ System.Drawing.Xsharp/DrawingWindow.cs      12 Jun 2006 09:19:42 -0000      
1.32
@@ -664,8 +664,10 @@
                                {
                                        // Create a cursor based on the 
supplied image.
                                        if(frame != null &&
-                                          frame.PixelFormat ==
-                                                       
DotGNU.Images.PixelFormat.Format1bppIndexed &&
+                                                                        /* 
irgnore pixel format !
+                                                                        
frame.PixelFormat == DotGNU.Images.PixelFormat.Format1bppIndexed 
+                                                                        &&
+                                                                        */
                                           frame.Mask != null)
                                        {
                                                if(cursorType != 
ToolkitCursorType.UserDefined)

Index: Xsharp/Cursor.cs
===================================================================
RCS file: /sources/dotgnu-pnet/pnetlib/Xsharp/Cursor.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Xsharp/Cursor.cs    4 Feb 2004 07:27:07 -0000       1.2
+++ Xsharp/Cursor.cs    12 Jun 2006 09:19:42 -0000      1.3
@@ -131,7 +131,7 @@
                                        dpy = Application.Primary.Display;
                                        screen = dpy.DefaultScreenOfDisplay;
                                }
-                               if(frame.PixelFormat != 
PixelFormat.Format1bppIndexed ||
+                               if( /* irgnore pixel format! frame.PixelFormat 
!= PixelFormat.Format1bppIndexed  || */
                                   frame.Mask == null)
                                {
                                        // The frame is not suitable for use as 
a cursor.




reply via email to

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