Mercurial > MadButterfly
diff nodejs/paints.cc @ 1053:df6ee4568ca2
Rename X_njs_MB_* to njs_mb_* for nodejs plugin.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 24 Nov 2010 15:44:28 +0800 |
parents | 586e50f82c1f |
children |
line wrap: on
line diff
--- a/nodejs/paints.cc Wed Nov 24 14:45:17 2010 +0800 +++ b/nodejs/paints.cc Wed Nov 24 15:44:28 2010 +0800 @@ -195,7 +195,7 @@ paint_t *paint; redraw_man_t *rdman; - rdman = X_njs_MB_rdman(rt); + rdman = njs_mb_rdman(rt); paint = rdman_paint_color_new(rdman, r, g, b, a); if(paint == NULL) { *err = "can not allocate a paint_color_t"; @@ -211,7 +211,7 @@ paint_t *paint; redraw_man_t *rdman; - rdman = X_njs_MB_rdman(rt); + rdman = njs_mb_rdman(rt); paint = rdman_paint_image_new(rdman, img); if(paint == NULL) { *err = "can not allocate a paint_image_t"; @@ -228,7 +228,7 @@ paint_t *paint; redraw_man_t *rdman; - rdman = X_njs_MB_rdman(rt); + rdman = njs_mb_rdman(rt); paint = rdman_paint_linear_new(rdman, x1, y1, x2, y2); if(paint == NULL) { *err = "can not allocate a paint_linear_t"; @@ -245,7 +245,7 @@ paint_t *paint; redraw_man_t *rdman; - rdman = X_njs_MB_rdman(rt); + rdman = njs_mb_rdman(rt); paint = rdman_paint_radial_new(rdman, cx, cy, r); if(paint == NULL) { *err = "can not allocate a paint_radial_t";