mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-ui: add rounded rectangle helper
This commit is contained in:
@ -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',
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <sysprof-capture.h>
|
||||
#include <sysprof.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user