On Wed, May 13, 2009 at 01:02:22PM -0400, Jorge Arellano Cid wrote:
On Mon, May 11, 2009 at 12:18:34AM +0200, Johannes Hofmann wrote:
On Fri, May 08, 2009 at 12:37:50AM +0200, Johannes Hofmann wrote:
On Thu, May 07, 2009 at 03:44:19PM +0000, corvid wrote:
IL'dar wrote:
Can I change colours of dialogues and scrollbar in dillo2? I would like to gets something less bright. Even something like fluid2's -bg option will be ok.
Not currently.
I would not necessarily be opposed to making ui_fg and ui_bg prefs and adding a bunch of [class]::default_style->[whatever]color() to dillo.cc, although I wouldn't be surprised if we ran into our share of places where fltk hardcodes things to, say, GRAY75.
What do people think about reading X resources as in attached patch (mainly copied from commented fltk2 code)? It allows to specify e.g.
dillo.background:red dillo.foreground:white
in your .Xdefaults
Jorge, what do you think about this. I actually like it more and more after using it for some days.
The ability to set colors as a theme is a good one. Unfortunately I've tried the patch here and saw no difference. Am I doing something wrong? (Just applied the patch and set my ~/.Xdefaults to what you suggested. No difference in "open file", nor "web search" dialogs).
Hm, did you restart X or use xrdb -merge to load the new config? You could also set the colors for all clients like this: *foreground: #ffffff *background: #555555 *selectForeground: #000000 *selectBackground: orange *cursorColor: orange and verify that other programs (e.g. xterm) have the color set properly.
On a more long term basis, most probably we'll end using FLTK-1.3.x. It would be good to know what theme API it will use to avoid duplicate work.
At least fltk-1.1 programs automatically set their color according to the X resources. The code is just commented out in fltk2. So if we should switch one day we probabely only need to remove the theme code. Cheers, Johannes