use diffrent edje group for extra screens on init

SVN revision: 12904
This commit is contained in:
Carsten Haitzler 2005-01-11 15:40:53 +00:00
parent a471bb9373
commit 344748abb2
2 changed files with 38 additions and 2 deletions

View File

@ -1168,4 +1168,41 @@ collections {
}
}
}
group {
name: "init/extra_screen";
parts {
part {
name: "background";
type: RECT;
description {
state: "default" 0.0;
color: 255 255 255 255;
}
}
part {
name: "background_image";
description {
state: "default" 0.0;
image {
normal: "brushed.png";
}
fill {
size {
relative: 0 0;
offset: 400 300;
}
}
}
}
part {
name: "reflection_overlay";
description {
state: "default" 0.0;
image {
normal: SM"reflection_overlay.png";
}
}
}
}
}
}

View File

@ -60,7 +60,6 @@ e_init_init(void)
for (i = 0; i < n; i++)
{
ecore_x_xinerama_screen_geometry_get(i, &x, &y, &w, &h);
printf("$$$ INIT scr %i, %i %i, %ix%i\n", i, x, y, w, h);
if (i == 0)
{
o = edje_object_add(_e_init_evas);
@ -79,7 +78,7 @@ e_init_init(void)
edje_object_file_set(o,
/* FIXME: "init.eet" needs to come from config */
e_path_find(path_init, "init.eet"),
"init/splash");
"init/extra_screen");
evas_object_move(o, x, y);
evas_object_resize(o, w, h);
evas_object_show(o);