Add the functions:
- champlain_layer_hide
- champlain_layer_show
- champlain_layer_remove_marker
use strict;
use warnings;
-use Clutter::TestHelper tests => 3;
+use Clutter::TestHelper tests => 6;
use Champlain;
"Layer has a marker after add_marker"
);
+ ok(!$layer->get('visible'), "Layer is not visible at start");
+ $layer->show();
+ ok($layer->get('visible'), "show()");
+ $layer->hide();
+ ok(!$layer->get('visible'), "hide()");
+
return 0;
}
void
champlain_layer_add_marker (ChamplainLayer *layer, ChamplainBaseMarker *marker);
+
+
+void
+champlain_layer_hide (ChamplainLayer *layer);
+
+
+void
+champlain_layer_show (ChamplainLayer *layer);
+
+
+void
+champlain_layer_remove_marker (ChamplainLayer *layer, ChamplainBaseMarker *marker);