/* stop animation */
actor->visible = FALSE;
destroy_hildon_actor(actor);
- actor->time_start_animation = sec + fast_rnd(300);
+ actor->time_start_animation = sec + fast_rnd(60);
}
}
/* init value for random */
scene.seed = time(NULL);
-
-
actor = init_object(desktop_plugin, "sky", "sky0.png",
0, 0, 5, 800, 480,
- TRUE, TRUE, 100, 255,
+ TRUE , TRUE, 100, 255,
(gpointer)&change_static_actor, NULL, NULL);
change_static_actor(actor, desktop_plugin);
scene.actors = g_slist_append(scene.actors, actor);
actor = init_object(desktop_plugin, "sun", "sun.png",
0, 0, 6, 88, 88,
- TRUE, TRUE, 100, 255,
+ FALSE, FALSE, 100, 255,
(gpointer)&change_sun, (gpointer)&probability_sun, NULL);
actor->time_start_animation = now;
actor->duration_animation = G_MAXINT;
0, fast_rnd(300)-97, 7, 150, 97,
FALSE, FALSE, 100, 255,
(gpointer)&change_cloud, NULL, NULL);
- actor->time_start_animation = now + fast_rnd(180);
+ actor->time_start_animation = now + fast_rnd(20);
actor->duration_animation = 3*60;
scene.actors = g_slist_append(scene.actors, actor);
0, fast_rnd(300)-75, 7, 188, 75,
FALSE, FALSE, 100, 255,
(gpointer)&change_cloud, NULL, NULL);
- actor->time_start_animation = now + fast_rnd(180);
+ actor->time_start_animation = now + fast_rnd(40)+10;
actor->duration_animation = 3*60;
scene.actors = g_slist_append(scene.actors, actor);
0, fast_rnd(300)-75, 7, 150, 75,
FALSE, FALSE, 100, 255,
(gpointer)&change_cloud, NULL, NULL);
- actor->time_start_animation = now + fast_rnd(180);
+ actor->time_start_animation = now + fast_rnd(60) + 20;
actor->duration_animation = 5*60;
scene.actors = g_slist_append(scene.actors, actor);
actor = init_object(desktop_plugin, "sun", "sun.png", 0, 0, 6, 88, 88,
- TRUE, TRUE, 100, 255,
+ FALSE, FALSE, 100, 255,
(gpointer)&change_sun, (gpointer)&probability_sun, NULL);
actor->time_start_animation = time(NULL);
actor->duration_animation = G_MAXINT;
priv->desktop_plugin = desktop_plugin;
priv->visible = TRUE;
priv->short_timer = 0;
- //priv->theme = g_strdup("Modern");
+ priv->theme = g_strdup("Modern");
desktop_plugin->priv->main_widget = gtk_fixed_new();
gtk_widget_set_size_request(desktop_plugin->priv->main_widget, 100, 32);