diff src/shapes.h @ 88:dd813dcc232c

New example, calculator.
author Thinker K.F. Li <thinker@branda.to>
date Sat, 23 Aug 2008 15:26:47 +0800
parents 9ab15ebc9061
children 7dfa4e60b26d
line wrap: on
line diff
--- a/src/shapes.h	Fri Aug 22 16:41:11 2008 +0800
+++ b/src/shapes.h	Sat Aug 23 15:26:47 2008 +0800
@@ -27,6 +27,7 @@
 
 extern shape_t *sh_text_new(const char *txt, co_aix x, co_aix y,
 			    co_aix font_size, cairo_font_face_t *face);
+extern void sh_text_set_text(shape_t *shape, const char *txt);
 extern void sh_text_transform(shape_t *shape);
 extern void sh_text_draw(shape_t *shape, cairo_t *cr);