summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2012-10-20 14:02:36 +0000
committerBoris Faure <billiob@gmail.com>2012-10-20 14:02:36 +0000
commit36d0edc5b4bd90447cbc30a5caa5c75c2597f65c (patch)
treeb61d4014d162ba83086ca5c5cd8fe0e540392a43 /legacy/evas/src/lib
parent6d4317ee2bb60e47c7ccf39ebb1d803939cb17a6 (diff)
evas_text_grid: ' ' can be underlined or striken through
+ typo SVN revision: 78284
Diffstat (limited to 'legacy/evas/src/lib')
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_textgrid.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_object_textgrid.c b/legacy/evas/src/lib/canvas/evas_object_textgrid.c
index d6a9138..171485f 100644
--- a/legacy/evas/src/lib/canvas/evas_object_textgrid.c
+++ b/legacy/evas/src/lib/canvas/evas_object_textgrid.c
@@ -621,7 +621,8 @@ evas_object_textgrid_render(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj
621 evas_object_textgrid_row_rect_append(row, rx, rw, 621 evas_object_textgrid_row_rect_append(row, rx, rw,
622 rr, rg, rb, ra); 622 rr, rg, rb, ra);
623 } 623 }
624 if (cells->codepoint > 0) 624 if ((cells->codepoint > 0) || (cells->underline) ||
625 (cells->strikethrough))
625 { 626 {
626 if (cells->fg_extended) palette = &(o->cur.palette_extended); 627 if (cells->fg_extended) palette = &(o->cur.palette_extended);
627 else palette = &(o->cur.palette_standard); 628 else palette = &(o->cur.palette_standard);
@@ -633,7 +634,7 @@ evas_object_textgrid_render(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj
633 cells->codepoint, 634 cells->codepoint,
634 c->r, c->g, c->b, c->a); 635 c->r, c->g, c->b, c->a);
635 // XXX: underlines and strikethroughs dont get 636 // XXX: underlines and strikethroughs dont get
636 // merghed into horizontal runs like bg rects above 637 // merged into horizontal runs like bg rects above
637 if (cells->underline) 638 if (cells->underline)
638 evas_object_textgrid_row_line_append(row, xp, w, 639 evas_object_textgrid_row_line_append(row, xp, w,
639 o->max_ascent + 1, 640 o->max_ascent + 1,