Mercurial > MadButterfly
diff src/shape_text.c @ 30:e06a4a667ce2
Accept mouse/pointer event and hint the shape that the pointer is over.
- add find_shape_at_pos()
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Tue, 05 Aug 2008 12:40:45 +0800 |
parents | 19c603dd6ff9 |
children | da770188a44d |
line wrap: on
line diff
--- a/src/shape_text.c Mon Aug 04 21:13:32 2008 +0800 +++ b/src/shape_text.c Tue Aug 05 12:40:45 2008 +0800 @@ -128,6 +128,10 @@ } +void sh_text_draw(shape_t *shape, cairo_t *cr) { + draw_text((sh_text_t *)shape, cr); +} + void sh_text_fill(shape_t *shape, cairo_t *cr) { sh_text_t *text = (sh_text_t *)shape;