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 Wed 26 Nov 2014, 13:44
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 Posts_count  
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   402 Time(s)

working.jpg

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

notworking.jpg

Back to top
View user's profile Send_private_message Visit_website 
vovchik


Joined: 23 Oct 2006
Posts: 1287
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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