Re: help with gtk/gdk/imlib



>  can someone show me an example, how to get from a gif/jpeg/png/... file to
>  something i can display (i guess GtkImage) ?
>  
>  i have 10 images in seperate files and need 10x10 board
>  (i'm rewriting a 10 year old game to gnome).

The easiest way to load images is by using gdk_imlib.

If you are writing some sort of board game, it may be much easier to
use the GnomeCanvas widget :-)  Please look for examples of its use in
gnome-libs/test-gnome.  I'll be happy to help you with it if you have
any questions.

  Federico



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