annotate nodejs/mbfly_njs.m4 @ 678:40ba8915edc7

Support modifier function after creating a new object
author Thinker K.F. Li <thinker@branda.to>
date Fri, 06 Aug 2010 19:30:52 +0800
parents f264b50c469c
children 7685c57e29d0
rev   line source
673
f5d2ff34c6f6 Definition of binding for mblfy_njs.cc
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
1 dnl
f5d2ff34c6f6 Definition of binding for mblfy_njs.cc
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
2 define([PROJ_PREFIX], [xnjsmb_auto_])dnl
f5d2ff34c6f6 Definition of binding for mblfy_njs.cc
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
3 dnl
f5d2ff34c6f6 Definition of binding for mblfy_njs.cc
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
4 STRUCT([mb_rt], [njs_runtime_t], [],
f5d2ff34c6f6 Definition of binding for mblfy_njs.cc
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
5 [METHOD([coord_new], [xnjsmb_coord_new],
f5d2ff34c6f6 Definition of binding for mblfy_njs.cc
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
6 (OBJ([parent], [coord], [coord_t]), ERR), 1,
676
f264b50c469c Bind subject of mouse_event to JS object of coord
Thinker K.F. Li <thinker@branda.to>
parents: 673
diff changeset
7 [OBJ([coord], [coord_t])], (([MOD], xnjsmb_coord_new_mod))),
673
f5d2ff34c6f6 Definition of binding for mblfy_njs.cc
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
8 METHOD([redraw_changed], [xnjsmb_redraw_changed], (), 0, []),
f5d2ff34c6f6 Definition of binding for mblfy_njs.cc
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
9 METHOD([redraw_all], [xnjsmb_redraw_all], (), 0, [])],
f5d2ff34c6f6 Definition of binding for mblfy_njs.cc
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
10 ((CTOR, ([_X_njs_MB_new], (SELF, STR(display_name), INT(width), INT(height)), 3)))dnl
f5d2ff34c6f6 Definition of binding for mblfy_njs.cc
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
11 )