libsysprof-ui: add rounded rectangle helper

This commit is contained in:
Christian Hergert
2019-05-16 16:10:00 -07:00
parent cf1d6a9c07
commit 10a826f58e
3 changed files with 6 additions and 2 deletions

View File

@ -27,6 +27,7 @@ libsysprof_ui_private_sources = [
'pointcache.c',
'rectangles.c',
'sysprof-details-view.c',
'sysprof-cairo.c',
'sysprof-cell-renderer-duration.c',
'sysprof-cell-renderer-percent.c',
'sysprof-tab.c',

View File

@ -20,7 +20,7 @@
#pragma once
#include <sysprof-capture.h>
#include <sysprof.h>
#include <gtk/gtk.h>
G_BEGIN_DECLS

View File

@ -29,6 +29,9 @@ void _sysprof_marks_view_set_hadjustment (SysprofMarksView *self,
GtkAdjustment *hadjustment);
void _sysprof_visualizer_view_set_hadjustment (SysprofVisualizerView *self,
GtkAdjustment *hadjustment);
void _sysprof_rounded_rectangle (cairo_t *cr,
const GdkRectangle *rect,
gint x_radius,
gint y_radius);
G_END_DECLS