mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-gtk: lighten alpha for selection column
This is darker than the ruler posts, but lighter than foreground.
This commit is contained in:
@ -121,13 +121,14 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||
{
|
||||
GtkStyleContext *style_context = gtk_widget_get_style_context (GTK_WIDGET (self));
|
||||
gtk_style_context_get_color (style_context, &color);
|
||||
color.alpha *= .5;
|
||||
}
|
||||
G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
|
||||
gtk_snapshot_append_color (snapshot,
|
||||
&color,
|
||||
&GRAPHENE_RECT_INIT (x, y, 1,
|
||||
gtk_widget_get_height (GTK_WIDGET (self->list_view))));
|
||||
&GRAPHENE_RECT_INIT (x, 0, 1,
|
||||
gtk_widget_get_height (GTK_WIDGET (self))));
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user