summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_textgrid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_object_textgrid.c')
-rw-r--r--src/lib/evas/canvas/evas_object_textgrid.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/lib/evas/canvas/evas_object_textgrid.c b/src/lib/evas/canvas/evas_object_textgrid.c
index fcb6892..c82122e 100644
--- a/src/lib/evas/canvas/evas_object_textgrid.c
+++ b/src/lib/evas/canvas/evas_object_textgrid.c
@@ -114,7 +114,7 @@ struct _Evas_Object_Textgrid_Line
114 114
115/* private methods for textgrid objects */ 115/* private methods for textgrid objects */
116static void evas_object_textgrid_init(Evas_Object *eo_obj); 116static void evas_object_textgrid_init(Evas_Object *eo_obj);
117static void evas_object_textgrid_render(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj, void *output, void *context, void *surface, int x, int y); 117static void evas_object_textgrid_render(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj, void *output, void *context, void *surface, int x, int y, Eina_Bool do_async);
118static void evas_object_textgrid_render_pre(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj); 118static void evas_object_textgrid_render_pre(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj);
119static void evas_object_textgrid_render_post(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj); 119static void evas_object_textgrid_render_post(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj);
120 120
@@ -551,7 +551,7 @@ evas_object_textgrid_row_line_append(Evas_Object_Textgrid_Row *row, int x, int w
551} 551}
552 552
553static void 553static void
554evas_object_textgrid_render(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj, void *output, void *context, void *surface, int x, int y) 554evas_object_textgrid_render(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj, void *output, void *context, void *surface, int x, int y, Eina_Bool do_async)
555{ 555{
556 Evas_Textgrid_Cell *cells; 556 Evas_Textgrid_Cell *cells;
557 Evas_Object_Textgrid_Color *c; 557 Evas_Object_Textgrid_Color *c;
@@ -670,7 +670,8 @@ evas_object_textgrid_render(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj
670 row->rects[xx].b, row->rects[xx].a); 670 row->rects[xx].b, row->rects[xx].a);
671 ENFN->rectangle_draw(output, context, surface, 671 ENFN->rectangle_draw(output, context, surface,
672 xp + row->rects[xx].x, yp, 672 xp + row->rects[xx].x, yp,
673 row->rects[xx].w, h); 673 row->rects[xx].w, h,
674 do_async);
674 } 675 }
675 for (xx = 0; xx < row->texts_num; xx++) 676 for (xx = 0; xx < row->texts_num; xx++)
676 { 677 {
@@ -680,7 +681,8 @@ evas_object_textgrid_render(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj
680 ENFN->font_draw(output, context, surface, o->font, 681 ENFN->font_draw(output, context, surface, o->font,
681 xp + row->texts[xx].x, yp + o->max_ascent, 682 xp + row->texts[xx].x, yp + o->max_ascent,
682 ww, hh, ww, hh, 683 ww, hh, ww, hh,
683 evas_object_textgrid_textprop_int_to(o, row->texts[xx].text_props)); 684 evas_object_textgrid_textprop_int_to(o, row->texts[xx].text_props),
685 do_async);
684 } 686 }
685 for (xx = 0; xx < row->lines_num; xx++) 687 for (xx = 0; xx < row->lines_num; xx++)
686 { 688 {
@@ -689,7 +691,8 @@ evas_object_textgrid_render(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj
689 row->lines[xx].b, row->lines[xx].a); 691 row->lines[xx].b, row->lines[xx].a);
690 ENFN->rectangle_draw(output, context, surface, 692 ENFN->rectangle_draw(output, context, surface,
691 xp + row->lines[xx].x, yp + row->lines[xx].y, 693 xp + row->lines[xx].x, yp + row->lines[xx].y,
692 row->lines[xx].w, 1); 694 row->lines[xx].w, 1,
695 do_async);
693 } 696 }
694 yp += h; 697 yp += h;
695 } 698 }