Re: A new type of pango underlining for underlining errors
- From: Nicolas Setton <setton act-europe fr>
- To: Havoc Pennington <hp redhat com>
- Cc: Owen Taylor <otaylor redhat com>, gtk-devel-list gnome org, Emmanuel Briot <Briot act-europe fr>, Arno Charlet <Charlet act-europe fr>
- Subject: Re: A new type of pango underlining for underlining errors
- Date: 31 Oct 2003 18:06:09 +0100
> General comments -
> - should the underline be called something like UNDERLINE_ERROR to
> reflect that it's not just wavy but red, and generally supposed to
> indicate an error (what do Java/WinForms name this kind of
> underline?)
Sure, no problem. If everyone agrees with this I'll change the name.
> - it looks like it's only red in the textview; maybe it needs to
> be red everywhere?
Actually, I'm not so sure it should be hard-coded to "red", that's why I
forced the color only in the gtktextview, since that's probably where
it's most likely to be used, and "red" seems an acceptable default for
now.
But maybe the style should provide the GC ?
> One detail -
> - should use gdk_gc_set_rgb_fg_color() instead of allocating the color
Thanks. Will fix.
Should I send my patches here or to the corresponding bugzilla entry
(114237) ?
Nico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]