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

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

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

#1 Post 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?
Attachments
working.jpg
(27.08 KiB) Downloaded 443 times
notworking.jpg
(25.16 KiB) Downloaded 446 times

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#2 Post 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)!

Post Reply