Author: pbartok
Date: 2006-05-15 15:54:43 -0400 (Mon, 15 May 2006)
New Revision: 60720

Added:
   trunk/mcs/class/Managed.Windows.Forms/resources/NESW.cur
   trunk/mcs/class/Managed.Windows.Forms/resources/NWSE.cur
Modified:
   trunk/mcs/class/Managed.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/Makefile
   trunk/mcs/class/Managed.Windows.Forms/SWF.csproj
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.dll.resources
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Cursors.cs
   trunk/mcs/class/Managed.Windows.Forms/build-csproj
   trunk/mcs/class/Managed.Windows.Forms/resources/ChangeLog
Log:
2006-05-15  Peter Dennis Bartok  <[EMAIL PROTECTED]>

        * Makefile, System.Windows.Forms.dll.resources: Added NWSE and NESW 
          cursors

2006-05-15  Peter Dennis Bartok  <[EMAIL PROTECTED]>

        * NWSE.cur, NESW.cur: Added

2006-05-15  Peter Dennis Bartok  <[EMAIL PROTECTED]>

        * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
          file since there are no equivalent X11 cursors



Modified: trunk/mcs/class/Managed.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/ChangeLog     2006-05-15 19:22:23 UTC 
(rev 60719)
+++ trunk/mcs/class/Managed.Windows.Forms/ChangeLog     2006-05-15 19:54:43 UTC 
(rev 60720)
@@ -1,3 +1,8 @@
+2006-05-15  Peter Dennis Bartok  <[EMAIL PROTECTED]>
+
+       * Makefile, System.Windows.Forms.dll.resources: Added NWSE and NESW 
+         cursors
+
 2006-04-28  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * Makefile : added -r:System.Data.dll for "make test".

Modified: trunk/mcs/class/Managed.Windows.Forms/Makefile
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/Makefile      2006-05-15 19:22:23 UTC 
(rev 60719)
+++ trunk/mcs/class/Managed.Windows.Forms/Makefile      2006-05-15 19:54:43 UTC 
(rev 60720)
@@ -19,9 +19,11 @@
        resources/System.Windows.Forms.de.resources \
        resources/keyboards.resources
 
-CUR_RESOURCES = \
+CUR_RESOURCES = resources/NWSE.cur resources/NESW.cur \
        resources/SplitterNS.cur \
        resources/SplitterWE.cur \
+       resources/NWSE.cur \
+       resources/NESW.cur \
        resources/DnDNo.cur \
        resources/DnDCopy.cur \
        resources/DnDLink.cur \

Modified: trunk/mcs/class/Managed.Windows.Forms/SWF.csproj
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/SWF.csproj    2006-05-15 19:22:23 UTC 
(rev 60719)
+++ trunk/mcs/class/Managed.Windows.Forms/SWF.csproj    2006-05-15 19:54:43 UTC 
(rev 60720)
@@ -2866,6 +2866,16 @@
                     BuildAction = "EmbeddedResource"
                 />
                 <File
+                    RelPath = "resources\NESW.cur"
+                    CustomToolNameSpace = "System.Windows.Forms.NESW.cur"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "resources\NWSE.cur"
+                    CustomToolNameSpace = "System.Windows.Forms.NWSE.cur"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
                     RelPath = "resources\DnDNo.cur"
                     CustomToolNameSpace = "System.Windows.Forms.DnDNo.cur"
                     BuildAction = "EmbeddedResource"
@@ -2886,6 +2896,10 @@
                     BuildAction = "EmbeddedResource"
                 />
                 <File
+                    RelPath = "resources\keyboards.resources"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
                     RelPath = "Consts.cs"
                     Link = "../../build/common/Consts.cs"
                     SubType = "Code"

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-05-15 19:22:23 UTC (rev 60719)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-05-15 19:54:43 UTC (rev 60720)
@@ -1,3 +1,8 @@
+2006-05-15  Peter Dennis Bartok  <[EMAIL PROTECTED]>
+
+       * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
+         file since there are no equivalent X11 cursors
+
 2006-05-15  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * MonthCalendar.cs : DateTimePicker should reflect selected date

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Cursors.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Cursors.cs       
2006-05-15 19:22:23 UTC (rev 60719)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Cursors.cs       
2006-05-15 19:54:43 UTC (rev 60720)
@@ -282,8 +282,13 @@
                public static Cursor SizeNESW {
                        get {
                                if (size_nesw == null) {
-                                       size_nesw = new 
Cursor(XplatUI.DefineStdCursor(StdCursor.SizeNESW));
-                                       size_nesw.name = "SizeNESW";
+                                       if 
(((int)Environment.OSVersion.Platform == 4) || 
((int)Environment.OSVersion.Platform == 128)) {
+                                               size_nesw = new 
Cursor(typeof(Cursor), "NESW.cur");
+                                               size_nesw.name = "SizeNESW";
+                                       } else {
+                                               size_nesw = new 
Cursor(XplatUI.DefineStdCursor(StdCursor.SizeNWSE));
+                                               size_nesw.name = "SizeNESW";
+                                       }
                                }
                                return size_nesw;
                        }
@@ -302,8 +307,13 @@
                public static Cursor SizeNWSE {
                        get {
                                if (size_nwse == null) {
-                                       size_nwse = new 
Cursor(XplatUI.DefineStdCursor(StdCursor.SizeNWSE));
-                                       size_nwse.name = "SizeNWSE";
+                                       if 
(((int)Environment.OSVersion.Platform == 4) || 
((int)Environment.OSVersion.Platform == 128)) {
+                                               size_nwse = new 
Cursor(typeof(Cursor), "NWSE.cur");
+                                               size_nwse.name = "SizeNWSE";
+                                       } else {
+                                               size_nwse = new 
Cursor(XplatUI.DefineStdCursor(StdCursor.SizeNWSE));
+                                               size_nwse.name = "SizeNWSE";
+                                       }
                                }
                                return size_nwse;
                        }

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.dll.resources
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.dll.resources    
2006-05-15 19:22:23 UTC (rev 60719)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.dll.resources    
2006-05-15 19:54:43 UTC (rev 60720)
@@ -3,8 +3,10 @@
 -resource:resources/System.Windows.Forms.de.resources
 -resource:resources/SplitterNS.cur,System.Windows.Forms.SplitterNS.cur
 -resource:resources/SplitterWE.cur,System.Windows.Forms.SplitterWE.cur
+-resource:resources/NESW.cur,System.Windows.Forms.NESW.cur
+-resource:resources/NWSE.cur,System.Windows.Forms.NWSE.cur
 -resource:resources/DnDNo.cur,System.Windows.Forms.DnDNo.cur
 -resource:resources/DnDCopy.cur,System.Windows.Forms.DnDCopy.cur
 -resource:resources/DnDLink.cur,System.Windows.Forms.DnDLink.cur
 -resource:resources/DnDMove.cur,System.Windows.Forms.DnDMove.cur
--resource:resources/keyboards.resources
\ No newline at end of file
+-resource:resources/keyboards.resources

Modified: trunk/mcs/class/Managed.Windows.Forms/build-csproj
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/build-csproj  2006-05-15 19:22:23 UTC 
(rev 60719)
+++ trunk/mcs/class/Managed.Windows.Forms/build-csproj  2006-05-15 19:54:43 UTC 
(rev 60720)
@@ -140,6 +140,11 @@
                     HintPath = 
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Drawing.dll"
                 />
                 <Reference
+                    Name = "System.Data"
+                    AssemblyName = "System.Data"
+                    HintPath = 
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll"
+                />
+                <Reference
                     Name = "System.XML"
                     AssemblyName = "System.XML"
                     HintPath = 
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll"

Modified: trunk/mcs/class/Managed.Windows.Forms/resources/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/resources/ChangeLog   2006-05-15 
19:22:23 UTC (rev 60719)
+++ trunk/mcs/class/Managed.Windows.Forms/resources/ChangeLog   2006-05-15 
19:54:43 UTC (rev 60720)
@@ -1,3 +1,7 @@
+2006-05-15  Peter Dennis Bartok  <[EMAIL PROTECTED]>
+
+       * NWSE.cur, NESW.cur: Added
+
 2006-03-21  Jackson Harper  <[EMAIL PROTECTED]>
 
        * keyboards.resx: The keyboards files.

Added: trunk/mcs/class/Managed.Windows.Forms/resources/NESW.cur
===================================================================
(Binary files differ)


Property changes on: trunk/mcs/class/Managed.Windows.Forms/resources/NESW.cur
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: trunk/mcs/class/Managed.Windows.Forms/resources/NWSE.cur
===================================================================
(Binary files differ)


Property changes on: trunk/mcs/class/Managed.Windows.Forms/resources/NWSE.cur
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to