border is done
authortanya <tanya@tanin.oblgaz>
Sat, 10 Apr 2010 11:26:32 +0000 (14:26 +0300)
committertanya <tanya@tanin.oblgaz>
Sat, 10 Apr 2010 11:26:32 +0000 (14:26 +0300)
applet/src/livewp-home-widget.c

index 709846f..8df02bf 100644 (file)
@@ -541,12 +541,12 @@ fprintf(stderr, "init scene \n");
 
   
 
-#if 0
-  actor = init_object(desktop_plugin, "moon", "moon1.png", 400, 20, SUN_LEVEL, 60, 60, 
+
+  actor = init_object(desktop_plugin, "moon", "moon1.png", 400, 6, SUN_LEVEL, 60, 60, 
                       FALSE, 100, 255, &change_moon, NULL);
   change_moon(actor, desktop_plugin);
   scene.actors = g_slist_append(scene.actors, actor);
-#endif
+
   //if (scene.daytime == TIME_DAY) snprintf(str, 255, "tram.png");
   //else snprintf(str, 255, "tram_dark.png");
   //actor = init_object("tram", "tram.png", -300, 191, 25, 350, 210, 1, 100, 255, NULL);
@@ -557,9 +557,9 @@ fprintf(stderr, "init scene \n");
   actor->duration_animation = 60;
   scene.actors = g_slist_append(scene.actors, actor);
 
- actor = init_object(desktop_plugin, "border", "border0.png", 0, 480-79, 9, 800, 79,
+  actor = init_object(desktop_plugin, "border", "border0.png", 0, 480-79, 9, 800, 79,
                       TRUE, 100, 255, &change_static_actor, NULL);
-//  change_static_actor(actor, desktop_plugin);
+  change_static_actor(actor, desktop_plugin);
   scene.actors = g_slist_append(scene.actors, actor);
 #if 0    
   anim = g_new0(Animation, 1);