Page 1 of 1

RGBPaint won't show colors. How to fix it?

Posted: Sat 21 Aug 2010, 15:09
by jemimah
For a long time I have been looking for a small, easy to use paint program that roughly resembles MSPaint.

Here is RGBPaint from the creator of mtPaint.
http://mtpaint.sourceforge.net/rgbpaint.html

This fits the bill perfectly except for one small problem.

When you're using a gtk theme with pixmap background buttons, the colors don't show up.

Anyone have any idea how to fix it?

Posted: Sat 21 Aug 2010, 15:46
by vovchik
Dear Jemimah,

I think, for a quick fix, you could simply launch this prog via a script and assign a truncated GTK theme file to an environmental variable that controls the appearance of buttons. But that is the quick, dirty and ugly way out. The sources are small. mygtk and png contain some relevant code. I think one of the the colors statement [256] in png.c might be the culprit, but I do not really know gtdk_pixbuf well.

With kind regards,
vovchik

PS. And if you want to fix it, it would be nice to add alpha-channel (transparency) support for pngs. I like the size (under 100k stripped)!