mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-ui: add rounded rectangle helper
This commit is contained in:
@ -27,6 +27,7 @@ libsysprof_ui_private_sources = [
|
|||||||
'pointcache.c',
|
'pointcache.c',
|
||||||
'rectangles.c',
|
'rectangles.c',
|
||||||
'sysprof-details-view.c',
|
'sysprof-details-view.c',
|
||||||
|
'sysprof-cairo.c',
|
||||||
'sysprof-cell-renderer-duration.c',
|
'sysprof-cell-renderer-duration.c',
|
||||||
'sysprof-cell-renderer-percent.c',
|
'sysprof-cell-renderer-percent.c',
|
||||||
'sysprof-tab.c',
|
'sysprof-tab.c',
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <sysprof-capture.h>
|
#include <sysprof.h>
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|||||||
@ -29,6 +29,9 @@ void _sysprof_marks_view_set_hadjustment (SysprofMarksView *self,
|
|||||||
GtkAdjustment *hadjustment);
|
GtkAdjustment *hadjustment);
|
||||||
void _sysprof_visualizer_view_set_hadjustment (SysprofVisualizerView *self,
|
void _sysprof_visualizer_view_set_hadjustment (SysprofVisualizerView *self,
|
||||||
GtkAdjustment *hadjustment);
|
GtkAdjustment *hadjustment);
|
||||||
|
void _sysprof_rounded_rectangle (cairo_t *cr,
|
||||||
|
const GdkRectangle *rect,
|
||||||
|
gint x_radius,
|
||||||
|
gint y_radius);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|||||||
Reference in New Issue
Block a user