diff options
Diffstat (limited to 'tests/curve-editor.h')
-rw-r--r-- | tests/curve-editor.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/curve-editor.h b/tests/curve-editor.h new file mode 100644 index 0000000000..215adf449f --- /dev/null +++ b/tests/curve-editor.h @@ -0,0 +1,33 @@ +#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); + +void curve_editor_set_stroke (CurveEditor *self, + GskStroke *stroke); + +const GskStroke * + curve_editor_get_stroke (CurveEditor *self); + + +void curve_editor_set_color (CurveEditor *self, + GdkRGBA *color); + +const GdkRGBA * + curve_editor_get_color (CurveEditor *self); + +G_END_DECLS |