]> err.no Git - libchamplain/commitdiff
Bindings for Champlain::ZoomLevel
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Mon, 23 Mar 2009 20:55:10 +0000 (21:55 +0100)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Wed, 25 Mar 2009 08:06:20 +0000 (10:06 +0200)
bindings/perl/Champlain/xs/ChamplainZoomLevel.xs [new file with mode: 0644]

diff --git a/bindings/perl/Champlain/xs/ChamplainZoomLevel.xs b/bindings/perl/Champlain/xs/ChamplainZoomLevel.xs
new file mode 100644 (file)
index 0000000..fb38723
--- /dev/null
@@ -0,0 +1,55 @@
+#include "champlain-perl.h"
+
+
+MODULE = Champlain::ZoomLevel  PACKAGE = Champlain::ZoomLevel  PREFIX = champlain_zoom_level_
+
+PROTOTYPES: DISABLE
+
+
+ChamplainZoomLevel*
+champlain_zoom_level_new (class)
+       C_ARGS:
+
+
+gint
+champlain_zoom_level_get_width (ChamplainZoomLevel *self)
+
+
+gint
+champlain_zoom_level_get_height (ChamplainZoomLevel *self)
+
+
+gint
+champlain_zoom_level_get_zoom_level (ChamplainZoomLevel *self)
+
+
+ClutterActor*
+champlain_zoom_level_get_actor (ChamplainZoomLevel *self)
+
+
+void
+champlain_zoom_level_set_width (ChamplainZoomLevel *self, guint width)
+
+
+void
+champlain_zoom_level_set_height (ChamplainZoomLevel *self, guint height)
+
+
+void
+champlain_zoom_level_set_zoom_level (ChamplainZoomLevel *self, gint zoom_level)
+
+
+void
+champlain_zoom_level_add_tile (ChamplainZoomLevel *self, ChamplainTile *tile)
+
+
+void
+champlain_zoom_level_remove_tile (ChamplainZoomLevel *self, ChamplainTile *tile)
+
+
+guint
+champlain_zoom_level_tile_count (ChamplainZoomLevel *self)
+
+
+ChamplainTile*
+champlain_zoom_level_get_nth_tile (ChamplainZoomLevel *self, guint index);