[Geany-devel] build dialog default entries color

Dimitar Zhekov dimitar.zhekov at xxxxx
Tue Jun 22 17:39:07 UTC 2010


ChangeLog, 2010-06-17:

 * src/build.c:
   Make default Build dialog entries grey, not light grey (too hard to
   read on a white background).

Instead of trying various shades of gray (the default commands are
almost unreadable on my background, and were absolutely invisible with
light gray), why not use the inactive text color? Patch attached.
Another option will be to use (bg.r + text.r) / 2, (bg.g + text.g) / 2,
(bg.b + text.b) / 2 - this ignores the monitor gamma, but who doesn't.

It'll also be nice to recolor the active row when it loses the focus.
Currently, once you in a row, it remains in "changed color" until the
dialog is closed, even if no changes were made.

E-gards: Jimmy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-default-colors-5053.diff
Type: text/x-diff
Size: 1696 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20100622/ab86da62/attachment.diff>

More information about the Devel mailing list