visualizer-selection: initial visualizer selection support

This gets started on allowing the user to select a region.
Nothing is yet responding to the changes in selection, but
that can come later.

Ideally, we will truncate (or mark rows invisible/insensitive)
if they do not fall within the selected time region.
This commit is contained in:
Christian Hergert
2016-10-08 13:40:12 -07:00
parent e85707f5c9
commit 70aeeb66bc
10 changed files with 650 additions and 47 deletions

View File

@ -0,0 +1,10 @@
visualizers.selection {
background: none;
background-color: alpha(@theme_selected_bg_color, 0.35);
border: 1px solid @theme_selected_bg_color;
}
visualizers.selection:backdrop {
background: none;
background-color: alpha(@theme_selected_bg_color, 0.15);
border: none;
}

View File

@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<gresources>
<gresource prefix="/org/gnome/sysprof">
<file compressed="true">css/shared.css</file>
<file compressed="true">ui/sp-callgraph-view.ui</file>
<file compressed="true">ui/sp-empty-state-view.ui</file>
<file compressed="true">ui/sp-failed-state-view.ui</file>

View File

@ -10,6 +10,9 @@
<property name="hexpand">true</property>
<property name="visible">true</property>
</object>
<packing>
<property name="pass-through">true</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow" id="scroller">