mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
let's darken colors, not lighten them.
2001-02-08 Havoc Pennington <hp@redhat.com> * gtk/gtkstyle.c (get_darkened_gc): let's darken colors, not lighten them.
This commit is contained in:
parent
4a3c8a367a
commit
a87d840595
@ -1,3 +1,8 @@
|
||||
2001-02-08 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkstyle.c (get_darkened_gc): let's darken colors, not
|
||||
lighten them.
|
||||
|
||||
2001-02-08 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_destroy_layout): remove
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-02-08 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkstyle.c (get_darkened_gc): let's darken colors, not
|
||||
lighten them.
|
||||
|
||||
2001-02-08 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_destroy_layout): remove
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-02-08 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkstyle.c (get_darkened_gc): let's darken colors, not
|
||||
lighten them.
|
||||
|
||||
2001-02-08 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_destroy_layout): remove
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-02-08 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkstyle.c (get_darkened_gc): let's darken colors, not
|
||||
lighten them.
|
||||
|
||||
2001-02-08 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_destroy_layout): remove
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-02-08 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkstyle.c (get_darkened_gc): let's darken colors, not
|
||||
lighten them.
|
||||
|
||||
2001-02-08 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_destroy_layout): remove
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-02-08 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkstyle.c (get_darkened_gc): let's darken colors, not
|
||||
lighten them.
|
||||
|
||||
2001-02-08 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_destroy_layout): remove
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-02-08 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkstyle.c (get_darkened_gc): let's darken colors, not
|
||||
lighten them.
|
||||
|
||||
2001-02-08 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_destroy_layout): remove
|
||||
|
@ -2429,7 +2429,7 @@ get_darkened_gc (GdkWindow *window,
|
||||
|
||||
while (darken_count)
|
||||
{
|
||||
gtk_style_shade (&src, &shaded, 1.3);
|
||||
gtk_style_shade (&src, &shaded, 0.93);
|
||||
src = shaded;
|
||||
--darken_count;
|
||||
}
|
||||
|
@ -1109,7 +1109,6 @@ gtk_tree_view_bin_expose (GtkWidget *widget,
|
||||
/* FIXME when we have style properties, clean this up.
|
||||
*/
|
||||
|
||||
#if 1
|
||||
if (tree_view->priv->has_rules)
|
||||
{
|
||||
if (flags & GTK_CELL_RENDERER_SORTED)
|
||||
@ -1146,7 +1145,6 @@ gtk_tree_view_bin_expose (GtkWidget *widget,
|
||||
}
|
||||
|
||||
g_assert (detail);
|
||||
#endif
|
||||
|
||||
/* Draw background */
|
||||
gtk_paint_flat_box (widget->style,
|
||||
|
Loading…
Reference in New Issue
Block a user