X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=demo-item.h;h=180b599f98a857b2cdf1e0d2adc5e21870e4c7c1;hb=27fa9d9abfa5f58f70258f0d671ab1cb133a68ce;hp=81ad4b00e5657febbf89ea67fb9aa554635079ae;hpb=f8d083966703a2b0efb6db1782a14a1a0b5d56f4;p=wordgame diff --git a/demo-item.h b/demo-item.h index 81ad4b0..180b599 100644 --- a/demo-item.h +++ b/demo-item.h @@ -26,7 +26,8 @@ struct _GooDemoItem { GooCanvasItemSimple parent_object; - gdouble x, y, width, height; + double size; + char letter; }; struct _GooDemoItemClass @@ -39,9 +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__ */