]> err.no Git - libchamplain/commitdiff
Implement the new animation functions champlain_base_marker_animate_*()
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Tue, 22 Sep 2009 17:46:22 +0000 (19:46 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Sat, 26 Sep 2009 13:17:09 +0000 (09:17 -0400)
bindings/perl/Champlain/t/ChamplainBaseMarker.t
bindings/perl/Champlain/xs/ChamplainBaseMarker.xs

index e540f4c1d9ddf1f1a960984b20e8e38594cc6fd7..1a212ee16cb06a317cfae1fcc2865cc12c682ebe 100644 (file)
@@ -30,6 +30,12 @@ sub tests {
        $marker->set_highlighted(FALSE);
        is($marker->get_highlighted(), FALSE, "Changed highlighted to false");
 
+    # Can't be tested but at least we call them
+    $marker->animate_in();
+    $marker->animate_in_with_delay(200);
+    $marker->animate_out();
+    $marker->animate_out_with_delay(200);
+
        return 0;
 }
 
index 4230f6ba65adcb49ac5ad674a5ff83698a308a41..f6404be35adc8caaf7fc2d79106bdb06fa1f0923 100644 (file)
@@ -19,3 +19,19 @@ champlain_base_marker_set_highlighted (ChamplainBaseMarker *champlainBaseMarker,
 
 gboolean
 champlain_base_marker_get_highlighted (ChamplainBaseMarker *champlainBaseMarker)
+
+
+void
+champlain_base_marker_animate_in (ChamplainBaseMarker *marker)
+
+
+void
+champlain_base_marker_animate_in_with_delay (ChamplainBaseMarker *marker, guint delay)
+
+
+void
+champlain_base_marker_animate_out (ChamplainBaseMarker *marker)
+
+
+void
+champlain_base_marker_animate_out_with_delay (ChamplainBaseMarker *marker, guint delay)