From f28a0d72b889ce9f444b4466f62a794bd0f5b9f0 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Fri, 28 Feb 2003 04:54:01 +0000 Subject: [PATCH] 2003-02-27 Miguel de Icaza * gdk/Drawable.custom: Added nice overload for DrawRectangle. Plus older ChangeLog entries that I had not commited svn path=/trunk/gtk-sharp/; revision=12052 --- ChangeLog | 14 ++++++++++++++ gdk/Drawable.custom | 4 ++++ 2 files changed, 18 insertions(+) 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); +}