init_scene(AWallpaperPlugin *desktop_plugin)
{
Actor *actor;
- GSList * list = NULL;
- gchar str[256];
fprintf(stderr, "init scene \n");
scene.daytime = get_daytime();
init_scene1(AWallpaperPlugin *desktop_plugin)
{
Actor *actor;
- GdkPixbuf *pixbuf;
- GtkWidget *image;
- double alt, azm;
- gint x, y;
scene.daytime = get_daytime();
scene.actors = NULL;
actor->duration_animation = G_MAXINT;
change_sun(actor, desktop_plugin);
scene.actors = g_slist_append(scene.actors, actor);
-
+
actor = init_object(desktop_plugin, "sky", "sky.png", 0, 0, SKY_LEVEL, 800, 480,
TRUE, 100, 255, &change_static_actor, NULL);
change_static_actor(actor, desktop_plugin);