Mercurial > MadButterfly
diff nodejs/shapes.m4 @ 749:ed59e659a202
Implement binding for hide/show for shapes and coords
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 25 Aug 2010 19:37:52 +0800 |
parents | 56a5e08cd8af |
children | 2b492008ce26 |
line wrap: on
line diff
--- a/nodejs/shapes.m4 Wed Aug 25 18:46:47 2010 +0800 +++ b/nodejs/shapes.m4 Wed Aug 25 19:37:52 2010 +0800 @@ -4,8 +4,8 @@ [ACCESSOR([stroke_width], [xnjsmb_shape_stroke_width_get], [xnjsmb_shape_stroke_width_set])], - [METHOD([show], [sh_show], (), 0, []), - METHOD([hide], [sh_hide], (), 0, []), + [METHOD([show], [xnjsmb_shape_show], (SELF), 0, []), + METHOD([hide], [xnjsmb_shape_hide], (SELF), 0, []), METHOD([remove], [xnjsmb_shape_remove], (SELF), 0, [])]) STRUCT([path], [shape_t], [], [],