Mercurial > MadButterfly
comparison 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 |
comparison
equal
deleted
inserted
replaced
675:c643af2095c5 | 676:f264b50c469c |
---|---|
2 define([PROJ_PREFIX], [xnjsmb_auto_])dnl | 2 define([PROJ_PREFIX], [xnjsmb_auto_])dnl |
3 dnl | 3 dnl |
4 STRUCT([mb_rt], [njs_runtime_t], [], | 4 STRUCT([mb_rt], [njs_runtime_t], [], |
5 [METHOD([coord_new], [xnjsmb_coord_new], | 5 [METHOD([coord_new], [xnjsmb_coord_new], |
6 (OBJ([parent], [coord], [coord_t]), ERR), 1, | 6 (OBJ([parent], [coord], [coord_t]), ERR), 1, |
7 [OBJ([coord], [coord_t])], (([MOD], xnjsmb_coord_mod))), | 7 [OBJ([coord], [coord_t])], (([MOD], xnjsmb_coord_new_mod))), |
8 METHOD([redraw_changed], [xnjsmb_redraw_changed], (), 0, []), | 8 METHOD([redraw_changed], [xnjsmb_redraw_changed], (), 0, []), |
9 METHOD([redraw_all], [xnjsmb_redraw_all], (), 0, [])], | 9 METHOD([redraw_all], [xnjsmb_redraw_all], (), 0, [])], |
10 ((CTOR, ([_X_njs_MB_new], (SELF, STR(display_name), INT(width), INT(height)), 3)))dnl | 10 ((CTOR, ([_X_njs_MB_new], (SELF, STR(display_name), INT(width), INT(height)), 3)))dnl |
11 ) | 11 ) |