]> Pileus Git - grits/blobdiff - src/objects/grits-poly.h
Add clicked signal to GritsObject
[grits] / src / objects / grits-poly.h
index 4368df9a5006a69419143db3996df5c7fc3df8f5..608baf3df5da464e3bcad14cd621b3dbaef5b423 100644 (file)
@@ -38,6 +38,8 @@ struct _GritsPoly {
        GritsObject  parent_instance;
        gdouble   (**points)[3];
        gdouble      color[4];
+       gdouble      border[4];
+       gdouble      width;
        guint        list;
 };
 
@@ -49,4 +51,7 @@ GType grits_poly_get_type(void);
 
 GritsPoly *grits_poly_new(gdouble (**points)[3]);
 
+GritsPoly *grits_poly_parse(const gchar *str,
+               const gchar *poly_sep, const gchar *point_sep, const gchar *coord_sep);
+
 #endif