diff include/mb_shapes.h @ 292:7270e368ee98

Add more text API
author wycc
date Sun, 01 Feb 2009 02:14:45 +0800
parents 137a73822d48
children a171b94582ae
line wrap: on
line diff
--- a/include/mb_shapes.h	Sun Feb 01 01:45:53 2009 +0800
+++ b/include/mb_shapes.h	Sun Feb 01 02:14:45 2009 +0800
@@ -109,6 +109,11 @@
 } mb_text_t;
 
 extern void sh_text_set_style(shape_t *shape,int begin,int end,mb_textstyle_t *format);
+extern void sh_text_set_color(shape_t *shape, unsigned color);
+extern void sh_text_set_bold(shape_t *shape, int bold);
+extern void sh_text_set_italic(shape_t *shape, int italic);
+extern void sh_text_set_underline(shape_t *shape, int underline);
+extern void sh_text_set_font(shape_t *shape, char *family);
 static inline void mb_textstyle_init(mb_textstyle_t *style)
 {
     style->property = 0;