Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 11-21-2007, 11:10 AM   #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:	333
Size:	29.8 KB
ID:	7397   Click image for larger version

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

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

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


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iLiad GTK Application Needed Adam B. iRex Developer's Corner 8 04-04-2009 05:45 AM
Is a gtk version possible? frandavid100 Calibre 14 12-16-2008 03:09 PM
iLiad Changing the GTK+ Theme yokos iRex Developer's Corner 0 02-20-2008 09:47 AM
iLiad Need help getting started with gtk tribble iRex Developer's Corner 4 06-05-2007 12:38 PM
GTK+ Plucker viewer rsperberg Reading and Management 0 11-21-2005 02:14 PM


All times are GMT -4. The time now is 05:28 AM.


MobileRead.com is a privately owned, operated and funded community.