forked from enlightenment/enlightenment
use diffrent edje group for extra screens on init
SVN revision: 12904
This commit is contained in:
parent
a471bb9373
commit
344748abb2
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue