Re: [gtk-list] Re: Perl/Gtk - Limits of the bindings?



On Tue, Jun 29, 1999 at 07:11:04PM +0100, etienne grossmann wrote:
>   I think I had a similar problem, when I needed
> gdk_imlib_crop_image(). So I applied the following patch (and proposed
> it to Kenneth Albanowski). 
> 
> ======================================================================
> --- GdkImlib/xs/GdkImlib.xs.orig        Sat May 22 18:57:47 1999
> +++ GdkImlib/xs/GdkImlib.xs     Sat May 22 19:03:14 1999
> @@ -405,6 +405,22 @@
>         int w
>         int h
>  
> +void
> +gdk_imlib_crop_image(self, x, y, w, h)
> +       Gtk::Gdk::ImlibImage self
> +       int x
> +       int y
> +       int w
> +       int h
> +
> +Gtk::Gdk::ImlibImage
> +gdk_imlib_crop_and_clone_image(self, x, y, w, h)
> +       Gtk::Gdk::ImlibImage self
> +       int x
> +       int y
> +       int w
> +       int h
> +
>  int
>  gdk_imlib_get_fallback(Class)
>         SV * Class
> ======================================================================

Added the patch to the gnome-perl module, as well as a bunch of
other missing imlib functions (someone needs to test them, though).

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules



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