comparison nodejs/mbfly_njs.h @ 687:da12923a789a

Migrate paints.cc to use gen_v8_binding.m4
author Thinker K.F. Li <thinker@branda.to>
date Sat, 07 Aug 2010 21:37:57 +0800
parents 7685c57e29d0
children 86c6ebf1de25
comparison
equal deleted inserted replaced
686:ddce24029561 687:da12923a789a
42 v8::Handle<v8::Value> export_xnjsmb_auto_stext_new(shape_t *sh); 42 v8::Handle<v8::Value> export_xnjsmb_auto_stext_new(shape_t *sh);
43 v8::Handle<v8::Value> export_xnjsmb_auto_image_new(shape_t *sh); 43 v8::Handle<v8::Value> export_xnjsmb_auto_image_new(shape_t *sh);
44 44
45 /* From paints.cc */ 45 /* From paints.cc */
46 void xnjsmb_paints_init_mb_rt_temp(v8::Handle<v8::FunctionTemplate> rt_temp); 46 void xnjsmb_paints_init_mb_rt_temp(v8::Handle<v8::FunctionTemplate> rt_temp);
47 paint_t *xnjsmb_paint_color_new(njs_runtime_t *rt,
48 float r, float g, float b, float a,
49 const char **err);
50 paint_t *xnjsmb_paint_image_new(njs_runtime_t *rt, mb_img_data_t *img,
51 const char **err);
52 v8::Handle<v8::Value> export_xnjsmb_auto_paint_color_new(paint_t *paint);
53 v8::Handle<v8::Value> export_xnjsmb_auto_paint_image_new(paint_t *paint);
47 54
48 /* From font.cc */ 55 /* From font.cc */
49 void xnjsmb_font_init_mb_rt_temp(v8::Handle<v8::FunctionTemplate> mb_rt_temp); 56 void xnjsmb_font_init_mb_rt_temp(v8::Handle<v8::FunctionTemplate> mb_rt_temp);
50 57
51 /* From image_ldr.cc */ 58 /* From image_ldr.cc */