X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=demo-item.h;h=180b599f98a857b2cdf1e0d2adc5e21870e4c7c1;hb=169f626b0c71bc2cc5f7929ffa4b986e0acfee2a;hp=d7dc396dd3a0a12d9071808d81f5d2c9d6e58834;hpb=1478e50ab9b22ef50fb0a1be0d77a5f532eb7bd8;p=wordgame diff --git a/demo-item.h b/demo-item.h index d7dc396..180b599 100644 --- a/demo-item.h +++ b/demo-item.h @@ -26,7 +26,7 @@ struct _GooDemoItem { GooCanvasItemSimple parent_object; - gdouble x, y, width, height; + double size; char letter; }; @@ -40,10 +40,15 @@ GType goo_demo_item_get_type (void) G_GNUC_CONST; GooCanvasItem* goo_demo_item_new (GooCanvasItem *parent, gdouble x, gdouble y, - gdouble width, - gdouble height, + gdouble size, char letter, ...); + +void +goo_demo_item_move_to (GooCanvasItem *item, + gdouble x, + gdouble y); + G_END_DECLS #endif /* __GOO_DEMO_ITEM_H__ */