summaryrefslogtreecommitdiff
path: root/tests/curve-editor.h
blob: 5daf1c01145a2e34ff414a322b39ca871441717f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <gtk/gtk.h>

G_BEGIN_DECLS

#define CURVE_TYPE_EDITOR (curve_editor_get_type ())
G_DECLARE_FINAL_TYPE (CurveEditor, curve_editor, CURVE, EDITOR, GtkWidget)

GtkWidget * curve_editor_new      (void);

void        curve_editor_set_edit (CurveEditor *self,
                                   gboolean     edit);

void        curve_editor_set_path (CurveEditor *self,
                                   GskPath     *path);

GskPath *   curve_editor_get_path (CurveEditor *self);

G_END_DECLS