mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 07:00:53 +00:00
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:
10
lib/resources/css/shared.css
Normal file
10
lib/resources/css/shared.css
Normal 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;
|
||||
}
|
||||
@ -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>
|
||||
|
||||
@ -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">
|
||||
|
||||
Reference in New Issue
Block a user