forked from enlightenment/enlightenment
oops - actuallly support the title for the winlist box
SVN revision: 15353
This commit is contained in:
parent
1d39e0d137
commit
dfa9d380c0
|
@ -85,8 +85,9 @@ group {
|
||||||
state: "default" 0.0;
|
state: "default" 0.0;
|
||||||
color: 0 0 0 0;
|
color: 0 0 0 0;
|
||||||
rel1 {
|
rel1 {
|
||||||
relative: 0.0 0.0;
|
relative: 0.0 1.0;
|
||||||
offset: 16 16;
|
offset: 16 16;
|
||||||
|
to_y: "title";
|
||||||
}
|
}
|
||||||
rel2 {
|
rel2 {
|
||||||
relative: 1.0 0.0;
|
relative: 1.0 0.0;
|
||||||
|
@ -159,6 +160,33 @@ group {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
part {
|
||||||
|
name: "title";
|
||||||
|
type: TEXT;
|
||||||
|
effect: SOFT_SHADOW;
|
||||||
|
mouse_events: 0;
|
||||||
|
description {
|
||||||
|
state: "default" 0.0;
|
||||||
|
align: 0.5 0.0;
|
||||||
|
rel1 {
|
||||||
|
relative: 0.0 0.0;
|
||||||
|
offset: 16 16;
|
||||||
|
}
|
||||||
|
rel2 {
|
||||||
|
relative: 1.0 0.0;
|
||||||
|
offset: -17 16;
|
||||||
|
}
|
||||||
|
color: 255 255 255 255;
|
||||||
|
color3: 0 0 0 22;
|
||||||
|
text {
|
||||||
|
text: "Title goes here";
|
||||||
|
font: "Edje Vera Bold";
|
||||||
|
size: 10;
|
||||||
|
min: 0 1;
|
||||||
|
align: 0.5 0.0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
part {
|
part {
|
||||||
name: "title_bg";
|
name: "title_bg";
|
||||||
description {
|
description {
|
||||||
|
|
|
@ -112,7 +112,7 @@ e_winlist_show(E_Zone *zone)
|
||||||
e_box_orientation_set(o, 0);
|
e_box_orientation_set(o, 0);
|
||||||
e_box_homogenous_set(o, 1);
|
e_box_homogenous_set(o, 1);
|
||||||
edje_object_part_swallow(bg_object, "list_swallow", o);
|
edje_object_part_swallow(bg_object, "list_swallow", o);
|
||||||
edje_object_part_text_set(bg_object, "title_text", _("Select a window"));
|
edje_object_part_text_set(bg_object, "title", _("Select a window"));
|
||||||
evas_object_show(o);
|
evas_object_show(o);
|
||||||
|
|
||||||
desk = e_desk_current_get(winlist->zone);
|
desk = e_desk_current_get(winlist->zone);
|
||||||
|
|
Loading…
Reference in New Issue