G_CALLBACK(expose_event), pixbuf);
gtk_container_add (GTK_CONTAINER (actor), image);
- pixbuf = gdk_pixbuf_new_from_file_at_size ("/usr/share/anwall/cloud1.png",
- width,
- height,
- NULL);
- if (pixbuf){
- image = gtk_image_new_from_pixbuf (pixbuf);
- g_object_unref(G_OBJECT(pixbuf));
- }
- g_signal_connect(G_OBJECT(image), "expose_event",
- G_CALLBACK(expose_event), pixbuf);
-
- gtk_container_add (GTK_CONTAINER (actor), image);
actor_set_position_full(actor, x, y, z);
hildon_animation_actor_set_show (actor, 1);
realize(actor);
}
-static void
+void
get_sun_screen_pos(double alt, double azm, gint * x, gint * y)
{
gint y0 = 400;// - уровень горизонта