more stuff........... :)

SVN revision: 3593
This commit is contained in:
Carsten Haitzler 2000-10-13 18:33:44 +00:00
parent aa911f3052
commit e5da21c411
3 changed files with 18 additions and 2 deletions

View File

@ -19,7 +19,7 @@ Evas evas_control = NULL, evas_view = NULL;
int wait_for_events = 1;
Evas_Object
o_logo, o_logo_shadow,
o_logo, o_logo_shadow, o_logo_impress,
o_software, o_hardware, o_x11,
o_box1, o_box2, o_box3,
o_brush, o_paint,
@ -242,6 +242,13 @@ setup_view(Evas_Render_Method method)
evas_move(e, o, x, y);
evas_set_layer(e, o, 101);
o_logo = o;
o = evas_add_image_from_file(e, IMGDIR"evas_test_view_logo_impress.png");
evas_get_image_size(e, o, &w, &h);
x = (1024 - 128 - w) / 2; y = (768 - h) / 2;
evas_move(e, o, x, y);
evas_set_layer(e, o, 98);
o_logo_impress = o;
o = evas_add_image_from_file(e, IMGDIR"evas_test_view_logo_shadow.png");
evas_get_image_size(e, o, &w, &h);
@ -338,10 +345,15 @@ animate(double val)
y = (768 / 2);
/* wait_for_events = 1;*/
}
else
else if (val < 40)
{
evas_hide(evas_view, o_logo);
evas_hide(evas_view, o_logo_shadow);
evas_set_color(evas_view, o_logo_impress, 255, 255, 255,
(255 * (val - 30)) / 10);
}
else
{
}
if (val < 30)
{
@ -466,6 +478,10 @@ animate(double val)
evas_show(evas_view, o_logo);
evas_show(evas_view, o_logo_shadow);
}
if (val > 30)
{
evas_show(evas_view, o_logo_impress);
}
evas_show(evas_view, o_paint);
evas_show(evas_view, o_brush);
evas_show(evas_view, o_bubble1);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB