Mercurial > MadButterfly
diff nodejs/coord.m4 @ 810:84853c8559cf
Support opacity on coords
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Thu, 02 Sep 2010 10:59:02 +0800 |
parents | ed59e659a202 |
children | 379fd510ba38 |
line wrap: on
line diff
--- a/nodejs/coord.m4 Wed Sep 01 21:51:13 2010 +0800 +++ b/nodejs/coord.m4 Thu Sep 02 10:59:02 2010 +0800 @@ -4,7 +4,9 @@ (SELF, OBJ([shape], [shape], [shape_t]), ERR), 1, []), METHOD([remove], [xnjsmb_coord_remove], (SELF), 0, []), METHOD([show], [xnjsmb_coord_show], (SELF), 0, []), - METHOD([hide], [xnjsmb_coord_hide], (SELF), 0, [])], + METHOD([hide], [xnjsmb_coord_hide], (SELF), 0, []), + METHOD([set_opacity], [xnjsmb_coord_set_opacity], + (SELF, NUMBER([opacity])), 1, [])], ((GET_INDEX, (coord_get_index, NUMBER)), (SET_INDEX, (coord_set_index, NUMBER)), ([STMOD], [xnjsmb_coord_mod])))