Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 20 Oct 2014, 04:40
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
RGBPaint won't show colors. How to fix it?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sat 21 Aug 2010, 11:09    Post subject:  RGBPaint won't show colors. How to fix it?  

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?
working.jpg
 Description   
 Filesize   27.08 KB
 Viewed   401 Time(s)

working.jpg

notworking.jpg
 Description   
 Filesize   25.16 KB
 Viewed   408 Time(s)

notworking.jpg

Back to top
View user's profile Send private message Visit poster's website 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Sat 21 Aug 2010, 11:46    Post subject:  

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)!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0395s ][ Queries: 12 (0.0047s) ][ GZIP on ]