diff --git a/ChangeLog b/ChangeLog index b4517c0a5..d9fa967b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2003-02-27 Miguel de Icaza + + * gdk/Drawable.custom: Added nice overload for DrawRectangle. + +2003-02-19 Miguel de Icaza + + * gdk/Pixbuf.custom: Add overload arguments that take a + System.Drawing.Color. + + Added a Clone() method, to implement the ICloneable interface. + + Added constructors for inlined in-data RGB/RGBA buffers and file + images. + 2003-02-26 Charles Iliya Krempeaux * gtk/TextBuffer.custom : Added method, named diff --git a/gdk/Drawable.custom b/gdk/Drawable.custom index 66e8c7618..c3e8168c0 100644 --- a/gdk/Drawable.custom +++ b/gdk/Drawable.custom @@ -15,3 +15,7 @@ public System.Drawing.Size Size { } } +public void DrawRectangle(Gdk.GC gc, int filled, Gdk.Rectangle area) +{ + gdk_draw_rectangle(Handle, gc.Handle, filled, area.x, area.y, area.width, area.height); +}