[libshumate] marker-layer: Remove unused methods



commit ccd01e2aad3f3e5ee14a9edfabd0d0398ff9dd0b
Author: James Westman <james jwestman net>
Date:   Wed Aug 3 18:42:42 2022 -0500

    marker-layer: Remove unused methods
    
    Some methods had no implementation and should not be part of the public
    API until/unless they're implemented.

 shumate/shumate-marker-layer.c | 160 -----------------------------------------
 shumate/shumate-marker-layer.h |   9 ---
 2 files changed, 169 deletions(-)
---
diff --git a/shumate/shumate-marker-layer.c b/shumate/shumate-marker-layer.c
index d036ea8..e7cf0c8 100644
--- a/shumate/shumate-marker-layer.c
+++ b/shumate/shumate-marker-layer.c
@@ -678,166 +678,6 @@ shumate_marker_layer_remove_marker (ShumateMarkerLayer *self,
 }
 
 
-/**
- * shumate_marker_layer_animate_in_all_markers:
- * @layer: a #ShumateMarkerLayer
- *
- * Fade in all markers in the layer with an animation
- */
-void
-shumate_marker_layer_animate_in_all_markers (ShumateMarkerLayer *layer)
-{
-  /*
-  ClutterActorIter iter;
-  ClutterActor *child;
-  guint delay = 0;
-
-  g_return_if_fail (SHUMATE_IS_MARKER_LAYER (layer));
-
-  clutter_actor_iter_init (&iter, CLUTTER_ACTOR (layer));
-  while (clutter_actor_iter_next (&iter, &child))
-    {
-      ShumateMarker *marker = SHUMATE_MARKER (child);
-
-      shumate_marker_animate_in_with_delay (marker, delay);
-      delay += 50;
-    }
-   */
-}
-
-
-/**
- * shumate_marker_layer_animate_out_all_markers:
- * @layer: a #ShumateMarkerLayer
- *
- * Fade out all markers in the layer with an animation
- */
-void
-shumate_marker_layer_animate_out_all_markers (ShumateMarkerLayer *layer)
-{
-  /*
-  ClutterActorIter iter;
-  ClutterActor *child;
-  guint delay = 0;
-
-  g_return_if_fail (SHUMATE_IS_MARKER_LAYER (layer));
-
-  clutter_actor_iter_init (&iter, CLUTTER_ACTOR (layer));
-  while (clutter_actor_iter_next (&iter, &child))
-    {
-      ShumateMarker *marker = SHUMATE_MARKER (child);
-
-      shumate_marker_animate_out_with_delay (marker, delay);
-      delay += 50;
-    }
-   */
-}
-
-
-/**
- * shumate_marker_layer_show_all_markers:
- * @layer: a #ShumateMarkerLayer
- *
- * Shows all markers in the layer
- */
-void
-shumate_marker_layer_show_all_markers (ShumateMarkerLayer *layer)
-{
-  /*
-  ClutterActorIter iter;
-  ClutterActor *child;
-
-  g_return_if_fail (SHUMATE_IS_MARKER_LAYER (layer));
-
-  clutter_actor_iter_init (&iter, CLUTTER_ACTOR (layer));
-  while (clutter_actor_iter_next (&iter, &child))
-    {
-      ClutterActor *actor = CLUTTER_ACTOR (child);
-
-      clutter_actor_show (actor);
-    }
-   */
-}
-
-
-/**
- * shumate_marker_layer_hide_all_markers:
- * @layer: a #ShumateMarkerLayer
- *
- * Hides all the markers in the layer
- */
-void
-shumate_marker_layer_hide_all_markers (ShumateMarkerLayer *layer)
-{
-  /*
-  ClutterActorIter iter;
-  ClutterActor *child;
-
-  g_return_if_fail (SHUMATE_IS_MARKER_LAYER (layer));
-
-  clutter_actor_iter_init (&iter, CLUTTER_ACTOR (layer));
-  while (clutter_actor_iter_next (&iter, &child))
-    {
-      ClutterActor *actor = CLUTTER_ACTOR (child);
-
-      clutter_actor_hide (actor);
-    }
-   */
-}
-
-
-/**
- * shumate_marker_layer_set_all_markers_draggable:
- * @layer: a #ShumateMarkerLayer
- *
- * Sets all markers draggable in the layer
- */
-void
-shumate_marker_layer_set_all_markers_draggable (ShumateMarkerLayer *self)
-{
-  /*
-  ClutterActorIter iter;
-  ClutterActor *child;
-
-  g_return_if_fail (SHUMATE_IS_MARKER_LAYER (layer));
-
-  clutter_actor_iter_init (&iter, CLUTTER_ACTOR (layer));
-  while (clutter_actor_iter_next (&iter, &child))
-    {
-      ShumateMarker *marker = SHUMATE_MARKER (child);
-
-      shumate_marker_set_draggable (marker, TRUE);
-    }
-   */
-}
-
-
-/**
- * shumate_marker_layer_set_all_markers_undraggable:
- * @layer: a #ShumateMarkerLayer
- *
- * Sets all markers undraggable in the layer
- */
-void
-shumate_marker_layer_set_all_markers_undraggable (ShumateMarkerLayer *self)
-{
-  /*
-  ClutterActorIter iter;
-  ClutterActor *child;
-
-  g_return_if_fail (SHUMATE_IS_MARKER_LAYER (layer));
-
-  clutter_actor_iter_init (&iter, CLUTTER_ACTOR (layer));
-  while (clutter_actor_iter_next (&iter, &child))
-    {
-      ShumateMarker *marker = SHUMATE_MARKER (child);
-
-      shumate_marker_set_draggable (marker, FALSE);
-    }
-   */
-}
-
-
 /**
  * shumate_marker_layer_unselect_all_markers:
  * @layer: a #ShumateMarkerLayer
diff --git a/shumate/shumate-marker-layer.h b/shumate/shumate-marker-layer.h
index 9b5995e..40bd931 100644
--- a/shumate/shumate-marker-layer.h
+++ b/shumate/shumate-marker-layer.h
@@ -49,15 +49,6 @@ void shumate_marker_layer_remove_all (ShumateMarkerLayer *layer);
 GList *shumate_marker_layer_get_markers (ShumateMarkerLayer *layer);
 GList *shumate_marker_layer_get_selected (ShumateMarkerLayer *layer);
 
-void shumate_marker_layer_animate_in_all_markers (ShumateMarkerLayer *layer);
-void shumate_marker_layer_animate_out_all_markers (ShumateMarkerLayer *layer);
-
-void shumate_marker_layer_show_all_markers (ShumateMarkerLayer *layer);
-void shumate_marker_layer_hide_all_markers (ShumateMarkerLayer *layer);
-
-void shumate_marker_layer_set_all_markers_draggable (ShumateMarkerLayer *layer);
-void shumate_marker_layer_set_all_markers_undraggable (ShumateMarkerLayer *layer);
-
 gboolean shumate_marker_layer_select_marker (ShumateMarkerLayer *self, ShumateMarker *marker);
 void shumate_marker_layer_unselect_marker (ShumateMarkerLayer *self, ShumateMarker *marker);
 void shumate_marker_layer_select_all_markers (ShumateMarkerLayer *layer);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]