Mercurial > MadButterfly
diff nodejs/mbfly_njs.m4 @ 676:f264b50c469c
Bind subject of mouse_event to JS object of coord
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 06 Aug 2010 13:33:47 +0800 |
parents | f5d2ff34c6f6 |
children | 7685c57e29d0 |
line wrap: on
line diff
--- a/nodejs/mbfly_njs.m4 Fri Aug 06 00:56:26 2010 +0800 +++ b/nodejs/mbfly_njs.m4 Fri Aug 06 13:33:47 2010 +0800 @@ -4,7 +4,7 @@ STRUCT([mb_rt], [njs_runtime_t], [], [METHOD([coord_new], [xnjsmb_coord_new], (OBJ([parent], [coord], [coord_t]), ERR), 1, - [OBJ([coord], [coord_t])], (([MOD], xnjsmb_coord_mod))), + [OBJ([coord], [coord_t])], (([MOD], xnjsmb_coord_new_mod))), METHOD([redraw_changed], [xnjsmb_redraw_changed], (), 0, []), METHOD([redraw_all], [xnjsmb_redraw_all], (), 0, [])], ((CTOR, ([_X_njs_MB_new], (SELF, STR(display_name), INT(width), INT(height)), 3)))dnl