forked from enlightenment/terminology
wip
This commit is contained in:
parent
e1be15fa89
commit
487c54b4e1
|
@ -1087,6 +1087,7 @@ collections {
|
|||
}
|
||||
|
||||
part { name: "terminology.tab.title"; type: TEXT; mouse_events: 0;
|
||||
/* TODO: boris */
|
||||
scale: 1;
|
||||
effect: SOFT_SHADOW BOTTOM;
|
||||
mouse_events: 0;
|
||||
|
|
|
@ -1649,6 +1649,9 @@ _tabbar_clear(Term *tm)
|
|||
edje_object_message_signal_process(tm->bg);
|
||||
edje_object_part_unswallow(tm->bg, tm->tab_spacer);
|
||||
evas_object_del(tm->tab_spacer);
|
||||
Evas_Object *o;
|
||||
o = edje_object_part_swallow_get(term->bg, "terminology.tab.title");
|
||||
evas_object_del(o);
|
||||
tm->tab_spacer = NULL;
|
||||
}
|
||||
}
|
||||
|
@ -2542,8 +2545,9 @@ _tabs_set_title(Term_Container *tc, Term_Container *child,
|
|||
|
||||
if (!term->config->notabs)
|
||||
{
|
||||
edje_object_part_text_set(term->bg, "terminology.tab.title",
|
||||
title);
|
||||
Evas_Object *o;
|
||||
o = edje_object_part_swallow_get(term->bg, "terminology.tab.title");
|
||||
evas_object_text_text_set(o, title);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -2618,6 +2622,7 @@ _tabs_refresh(Tabs *tabs)
|
|||
v2 = (double)i / (double)n;
|
||||
if (!term->tab_spacer)
|
||||
{
|
||||
Evas_Object *o;
|
||||
term->tab_spacer = evas_object_rectangle_add(
|
||||
evas_object_evas_get(term->bg));
|
||||
evas_object_color_set(term->tab_spacer, 0, 0, 0, 0);
|
||||
|
@ -2626,6 +2631,7 @@ _tabs_refresh(Tabs *tabs)
|
|||
edje_object_part_swallow(term->bg, "terminology.tab", term->tab_spacer);
|
||||
edje_object_part_drag_value_set(term->bg, "terminology.tabl", v1, 0.0);
|
||||
edje_object_part_drag_value_set(term->bg, "terminology.tabr", v2, 0.0);
|
||||
/* TODO: boris */
|
||||
edje_object_part_text_set(term->bg, "terminology.tab.title",
|
||||
solo->tc.title);
|
||||
edje_object_signal_emit(term->bg, "tabbar,on", "terminology");
|
||||
|
|
Loading…
Reference in New Issue