carlosp_uk
2004-05-14, 16:51
hi,
i'm working on the new tivoguide which gets png channel logos from the tivo. *
i need to set a colorkey so that magenta (r255, g0, b255) becomes transparent. *i've tried:
* * * * * * * * * *self.chanlogo = xbmcgui.controlimage(300,70, 65, 65, logofn, '0x00ff00ff')
* * * * * * * * * *self.addcontrol(self.chanlogo)
...but i don't really know anything about hex, and this doesn't work. *(see screenshot below)
is 0x00ff00ff correct? *0xff00ff doesn't work either. *or 0xff00ff00
carlos
http://www.fatattitude.com/images/tivo/tempss1.jpg
i'm working on the new tivoguide which gets png channel logos from the tivo. *
i need to set a colorkey so that magenta (r255, g0, b255) becomes transparent. *i've tried:
* * * * * * * * * *self.chanlogo = xbmcgui.controlimage(300,70, 65, 65, logofn, '0x00ff00ff')
* * * * * * * * * *self.addcontrol(self.chanlogo)
...but i don't really know anything about hex, and this doesn't work. *(see screenshot below)
is 0x00ff00ff correct? *0xff00ff doesn't work either. *or 0xff00ff00
carlos
http://www.fatattitude.com/images/tivo/tempss1.jpg