# HG changeset patch # User Thinker K.F. Li # Date 1285343221 -28800 # Node ID ec8d7e9c96422e16fb7e3b2597c1d538f61e5ac2 # Parent 881efcd8a18f638136be1e7621d627d271311d9b Decorate mb_rt created by mb_rt_with_win() diff -r 881efcd8a18f -r ec8d7e9c9642 nodejs/mbapp.js --- 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);