Transparency on a XPM file
- From: César Leonardo Blum Silveira <cesarbs gmail com>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Transparency on a XPM file
- Date: Thu, 10 Nov 2005 21:27:35 -0200
Hello all,
I have written and app that loads a XPM image from it's data, that is
in a header, and not form a XPM file (i know it's sort of the same
thing, but I used an specific function to get XPM data,
gdk_pixbuf_new_from_xpm_data () ).
However, the background of the image shows up depending on which theme
the user is using. Is there a way I could apply transparency to that
image? Like getting pixel (0,0) and make all pixels with that color be
transparent?
Thanks,
--
César Leonardo Blum Silveira
Graduando em Ciência da Computação - Unisinos
Centro de Simulação de Humanos Virtuais
http://cesarbs.blogspot.com/
MSN: cesarbs490 _at_ msn _dot_ com
ICQ: 170861826
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]