[sysprof] fps: use fill for fps line
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] fps: use fill for fps line
- Date: Sun, 20 May 2018 22:52:01 +0000 (UTC)
commit 8a4318d4f1fccfd41cc6d0e9e040fe027bf7e0fa
Author: Christian Hergert <chergert redhat com>
Date: Sat May 19 16:48:11 2018 +0100
fps: use fill for fps line
lib/visualizers/sp-visualizer-list.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/visualizers/sp-visualizer-list.c b/lib/visualizers/sp-visualizer-list.c
index 5b0c570..e99f7de 100644
--- a/lib/visualizers/sp-visualizer-list.c
+++ b/lib/visualizers/sp-visualizer-list.c
@@ -295,6 +295,8 @@ handle_capture_results (GObject *object,
NULL);
gdk_rgba_parse (&rgba, "#204a87");
sp_line_visualizer_row_add_counter (SP_LINE_VISUALIZER_ROW (row), state->fps_counter, &rgba);
+ rgba.alpha = 0.3;
+ sp_line_visualizer_row_set_fill (SP_LINE_VISUALIZER_ROW (row), state->fps_counter, &rgba);
gtk_container_add (GTK_CONTAINER (self), row);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]