comparison 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
comparison
equal deleted inserted replaced
748:56a5e08cd8af 749:ed59e659a202
2 dnl 2 dnl
3 STRUCT([shape], [shape_t], 3 STRUCT([shape], [shape_t],
4 [ACCESSOR([stroke_width], 4 [ACCESSOR([stroke_width],
5 [xnjsmb_shape_stroke_width_get], 5 [xnjsmb_shape_stroke_width_get],
6 [xnjsmb_shape_stroke_width_set])], 6 [xnjsmb_shape_stroke_width_set])],
7 [METHOD([show], [sh_show], (), 0, []), 7 [METHOD([show], [xnjsmb_shape_show], (SELF), 0, []),
8 METHOD([hide], [sh_hide], (), 0, []), 8 METHOD([hide], [xnjsmb_shape_hide], (SELF), 0, []),
9 METHOD([remove], [xnjsmb_shape_remove], (SELF), 0, [])]) 9 METHOD([remove], [xnjsmb_shape_remove], (SELF), 0, [])])
10 10
11 STRUCT([path], [shape_t], [], [], 11 STRUCT([path], [shape_t], [], [],
12 (([INHERIT], [shape]), ([STMOD], [xnjsmb_shape_mod]))) 12 (([INHERIT], [shape]), ([STMOD], [xnjsmb_shape_mod])))
13 13