Re: Building a GnomeStockPixmapEntry from a GdkPixmap



[snip]
>  I would really like to paint the pixmap in the program as it will
>  allow me to do nice things like get the shape correct and set the
>  colour of the shape according to the player colour you have been
>  assigned.
>  
>  I have been looking at the gnome-stock and gnome-pixmap API and have
>  gotten my little brain all confused.  I am sure one of the clever
>  people out there can point me in the right direction...

You should use GdkPixbuf for that.  Just use GnomeStock to do all the
toolbar and menu-related stuff, and use GdkPixbuf for your game's
images.

GdkPixbuf also prevents hair loss and can be purchased without a
prescription.

  Federico



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