diff tools/mb_c_header.m4 @ 260:29acbd8a0dd0

Integrate sh_image with svg2code.py. diff -r e8a784a306d0 examples/svg2code_ex/dsc_3241.png Binary file examples/svg2code_ex/dsc_3241.png has changed diff -r e8a784a306d0 examples/svg2code_ex/dsc_3241.png Binary file examples/svg2code_ex/dsc_3241.png has changed
author Thinker K.F. Li <thinker@branda.to>
date Fri, 23 Jan 2009 23:00:23 +0800
parents 50d253d0fcba
children c8b6ca46950b
line wrap: on
line diff
--- a/tools/mb_c_header.m4	Thu Jan 22 18:10:47 2009 +0800
+++ b/tools/mb_c_header.m4	Fri Jan 23 23:00:23 2009 +0800
@@ -20,8 +20,9 @@
 define([ADD_TEXT],[
 [    shape_t *$1;
 ]])
-define([ADD_IMAGE],[
-[    shape_t *$1;
+define([ADD_IMAGE],[[
+    mb_img_data_t *$1_img_data;
+    shape_t *$1;
 ]])
 define([COLOR_STOP],[ ])