changeset 874:ec8d7e9c9642 abs_n_rel_center

Decorate mb_rt created by mb_rt_with_win()
author Thinker K.F. Li <thinker@codemud.net>
date Fri, 24 Sep 2010 23:47:01 +0800
parents 881efcd8a18f
children 5d7c3c681851
files nodejs/mbapp.js
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nodejs/mbapp.js	Fri Sep 24 16:06:42 2010 +0800
+++ b/nodejs/mbapp.js	Fri Sep 24 23:47:01 2010 +0800
@@ -148,6 +148,7 @@
 	throw "Invalid argument";
     
     mb_rt = this.mb_rt = new mbfly.mb_rt_with_win(display, win);
+    _decorate_mb_rt(mb_rt);
     background = mb_rt.rect_new(0, 0, 720, 480, 0, 0);
     paint = mb_rt.paint_color_new(1, 1, 1, 1);
     paint.fill(background);