summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2019-10-03 17:08:36 +0300
committerTom Hacohen <tom@stosb.com>2019-10-12 17:52:19 +0300
commita27750408476b6b6436c69d8c244b3e101993988 (patch)
tree9c12275b66d152ca3c73382ae868fedf24c1de09
parentc02057e7c1394aa291f89d3736c9cffa4e86d9a7 (diff)
downloadefl-a27750408476b6b6436c69d8c244b3e101993988.tar.gz
Textblock: remove the style attribute.
-rw-r--r--src/lib/evas/canvas/efl_canvas_text.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_text.c b/src/lib/evas/canvas/efl_canvas_text.c
index dabe19c1d6..625b4ffb8e 100644
--- a/src/lib/evas/canvas/efl_canvas_text.c
+++ b/src/lib/evas/canvas/efl_canvas_text.c
@@ -591,7 +591,6 @@ struct _Evas_Object_Textblock
{
Ecore_Thread *layout_th;
int layout_jobs;
- Efl2_Text_Attribute_Handle *style_attribute;
Evas_Textblock_Style *style;
Eina_List *styles;
Efl2_Text_Cursor_Handle *cursor;
@@ -6601,19 +6600,6 @@ _layout_setup(Ctxt *c, const Eo *eo_obj, Evas_Coord w, Evas_Coord h)
_format_fill(c->obj, c->fmt, c->o->style->default_tag);
finalize = EINA_TRUE;
}
- if (c->o->style_attribute)
- {
- // FIXME: actually handle this
- Eina_Strbuf *strbuf = eina_strbuf_new();
- eina_strbuf_append_printf(strbuf, "font=%s font_source=%s font_size=%d color=#000",
- c->o->style_attribute->fmt.font.family,
- c->o->style_attribute->fmt.font.source,
- c->o->style_attribute->fmt.font.size
- );
- _format_fill(c->obj, c->fmt, eina_strbuf_string_get(strbuf));
- eina_strbuf_free(strbuf);
- finalize = EINA_TRUE;
- }
EINA_LIST_FOREACH(c->o->styles, itr, use)
{
@@ -7071,7 +7057,6 @@ _efl2_canvas_text_text_style_set(Eo *eo_obj EINA_UNUSED, Efl2_Canvas_Text_Data *
{
// FIXME-implement
(void) key;
- o->style_attribute = attribute;
}
EOLIAN static Efl2_Text_Attribute_Handle *