mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-gtk: add some timeruler styling
This commit is contained in:
@ -70,3 +70,10 @@ marktable {
|
|||||||
markchart {
|
markchart {
|
||||||
font-size: .9em;
|
font-size: .9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
timeruler {
|
||||||
|
font-size: 0.833em;
|
||||||
|
color: alpha(currentColor, .8);
|
||||||
|
border-bottom: 1px solid @borders;
|
||||||
|
background: alpha(@borders, .25);
|
||||||
|
}
|
||||||
|
|||||||
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#include "sysprof-css-private.h"
|
||||||
#include "sysprof-chart.h"
|
#include "sysprof-chart.h"
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
@ -307,6 +308,8 @@ sysprof_chart_init (SysprofChart *self)
|
|||||||
priv->motion_x = -1;
|
priv->motion_x = -1;
|
||||||
priv->motion_y = -1;
|
priv->motion_y = -1;
|
||||||
|
|
||||||
|
_sysprof_css_init ();
|
||||||
|
|
||||||
motion = gtk_event_controller_motion_new ();
|
motion = gtk_event_controller_motion_new ();
|
||||||
g_signal_connect_object (motion,
|
g_signal_connect_object (motion,
|
||||||
"enter",
|
"enter",
|
||||||
|
|||||||
Reference in New Issue
Block a user