Commit: use GdkPixbuf for GTK2 images

From: Dom Lachowicz (doml@appligent.com)
Date: Fri Aug 02 2002 - 13:18:48 EDT

  • Next message: Joaquín Cuenca Abela: "Re: a proposed change to GR_CharWidths"

    Might as well use it if GTK2 requires it :) Also lots of improved error
    checking and handling in the loader.

    Benefits over our old setup:
    * loads more image types
    * more robust
    * loads things faster, using less RAM
    * draws things faster
    * capable of drawing images with alpha channels to the screen (change
    background color, insert image, see nice alpha :-)

    Next: fix up the pixbuf plugin importer. The port from GTK1.2 to 2.0
    should be fairly trivial (even more trivial if gdk_pixbuf_save actually
    could save to things != FILE*). The GdkPixbuf plugin should be shipped
    on all future Unix releases.

    Dom

    CVS:
    ----------------------------------------------------------------------
    CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
    CVS:
    CVS: Committing in .
    CVS:
    CVS: Modified Files:
    CVS: src/af/gr/Makefile src/af/gr/unix/GNUmakefile.am
    CVS: src/af/gr/unix/Makefile src/af/gr/unix/gr_UnixGraphics.cpp
    CVS: src/af/gr/unix/gr_UnixImage.cpp src/af/gr/unix/gr_UnixImage.h
    CVS: src/af/xap/unix/xap_UnixDlg_FileOpenSaveAs.cpp
    CVS: Removed Files:
    CVS: src/af/gr/unix/gr_UnixGnomeImage.cpp
    CVS: src/af/gr/unix/gr_UnixGnomeImage.h
    CVS:
    ----------------------------------------------------------------------



    This archive was generated by hypermail 2.1.4 : Fri Aug 02 2002 - 13:28:06 EDT