forked from enlightenment/evisum
clouds: my attempt.
This commit is contained in:
parent
25cc485218
commit
cf4a8f7e8a
Binary file not shown.
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 2.2 MiB |
|
@ -521,11 +521,11 @@ _anim_clouds(void *data)
|
||||||
cpu = (ui->cpu_usage / 10) > 0 ? ui->cpu_usage / 10 : 1;
|
cpu = (ui->cpu_usage / 10) > 0 ? ui->cpu_usage / 10 : 1;
|
||||||
|
|
||||||
evas_object_resize(anim->im, iw, wh);
|
evas_object_resize(anim->im, iw, wh);
|
||||||
evas_object_image_fill_set(anim->im, anim->pos, 0, iw, wh);
|
evas_object_image_fill_set(anim->im, anim->pos, 0, iw, ih);
|
||||||
anim->pos += cpu;
|
anim->pos += cpu;
|
||||||
|
|
||||||
evas_object_resize(anim->bg, iw, wh);
|
evas_object_resize(anim->bg, iw, wh);
|
||||||
evas_object_image_fill_set(anim->bg, anim->bg_pos, 0, iw, wh);
|
evas_object_image_fill_set(anim->bg, anim->bg_pos, 0, iw, ih);
|
||||||
anim->bg_pos++;
|
anim->bg_pos++;
|
||||||
|
|
||||||
t = time(NULL);
|
t = time(NULL);
|
||||||
|
|
Loading…
Reference in New Issue