(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / class / System.Windows.Forms / Gtk / Cursor.cs
blob01766fdc33d0a2828f9884af844e3016dd7c264d
1 //
2 // System.Windows.Forms.Cursor
3 //
4 // Author:
5 // Alberto Fernandez (infjaf00@yahoo.es)
6 //
9 namespace System.Windows.Forms{
11 using System;
12 using System.Drawing;
13 using System.Runtime.Serialization;
14 using System.IO;
16 public sealed class Cursor : IDisposable, ISerializable {
18 internal Cursor(){
20 [MonoTODO]
21 public Cursor (IntPtr handle){
22 if (handle == IntPtr.Zero){
23 throw new ArgumentException();
26 [MonoTODO]
27 public Cursor (Stream stream){
29 [MonoTODO]
30 public Cursor (string fileName){
32 [MonoTODO]
33 public Cursor (Type type, string resource){
35 [MonoTODO]
36 public static Rectangle Clip {
37 // Rectángulo por el que se puede mover el cursor.
38 // Generalmente toda la pantalla.
39 get {throw new NotImplementedException();}
40 set {throw new NotImplementedException();}
42 [MonoTODO]
43 public static Cursor Current {
44 // Si se pone en un valor que no sea default, la aplicación
45 // deja de oir a los eventos de mouse.
46 // cuando este en Cursor.Default, la aplicación vuelve
47 // a escuchar los eventos de ratón.
49 get {throw new NotImplementedException();}
50 set {throw new NotImplementedException();}
52 [MonoTODO]
53 public IntPtr Handle {
54 get {throw new Exception();}
56 [MonoTODO]
57 public static Point Position{
58 get {throw new NotImplementedException();}
59 set {throw new NotImplementedException();}
61 [MonoTODO]
62 public Size Size{
63 get {throw new NotImplementedException();}
65 [MonoTODO]
66 public IntPtr CopyHandle (){
67 throw new NotImplementedException();
69 [MonoTODO]
70 public void Dispose (){
71 throw new NotImplementedException();
73 [MonoTODO]
74 public void Draw (Graphics g, Rectangle targetRect){
75 throw new NotImplementedException();
77 [MonoTODO]
78 public void DrawStretched(Graphics g, Rectangle targetRect){
79 throw new NotImplementedException();
81 [MonoTODO]
82 public override bool Equals (Object obj){
83 throw new NotImplementedException();
85 [MonoTODO]
86 ~Cursor(){
88 [MonoTODO]
89 public override int GetHashCode(){
90 throw new NotImplementedException();
92 [MonoTODO]
93 void ISerializable.GetObjectData (SerializationInfo si, StreamingContext context){
94 throw new NotImplementedException();
96 [MonoTODO]
97 public static void Hide(){
98 throw new NotImplementedException();
100 [MonoTODO]
101 public static void Show(){
102 throw new NotImplementedException();
104 [MonoTODO]
105 public override String ToString(){
106 return base.ToString();
108 public static bool operator==(Cursor left, Cursor right){
109 return left.Equals(right);
111 public static bool operator!=(Cursor left, Cursor right) {
112 return ( !(left == right));