View Single Post
Old 11-21-2007, 12:10 PM   #1
yokos
Pac-Man caught my iLiad.
yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.
 
yokos's Avatar
 
Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
GTK+ resource file [.gtkrc]?

I have the problem that the default background colour of all GTK+ widgets on iLiad is "some kind of grey". This grey colour insn't very friendly to "typing refresh". You get ghosting. A pure white instead of this grey would be much better.

Yes, I can set the style "bg[state]" manually in all widgets [and this works: I tested it with calcoo (3rd screenshot)], but a central tweak would be much easier.

Q:
[1] Where are iLiad's GTK+ default values of widget styles saved?
Two interesting paths:
# /usr/share/libergtk
# /usr/share/themes
[2] Can I set a path to my own .gtkrc in the starting shell script of the app? Then the app could load the rc file with gtk_rc_parse().

screenshots:
a not released puzzle game [grey background is bad because I get ghosting all the time, I don't want to start a full screen refresh every time. I didn't set bg to white yet.]
Attached Thumbnails
Click image for larger version

Name:	puzzle_01_start.png
Views:	334
Size:	29.8 KB
ID:	7397   Click image for larger version

Name:	puzzle_02_solved.png
Views:	352
Size:	33.1 KB
ID:	7398   Click image for larger version

Name:	calcoo_dark_bg.png
Views:	333
Size:	97.0 KB
ID:	7400  

Last edited by yokos; 11-21-2007 at 12:28 PM.
yokos is offline   Reply With Quote