From: Emmanuel Rodriguez Date: Thu, 7 May 2009 20:23:48 +0000 (+0200) Subject: Add a lot of methods that where forgotten X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa6abf4b980e4ee4d4da8d3e7901834b5008720f;p=libchamplain Add a lot of methods that where forgotten --- diff --git a/bindings/perl/Champlain/xs/ChamplainView.xs b/bindings/perl/Champlain/xs/ChamplainView.xs index bc309ca..5458c56 100644 --- a/bindings/perl/Champlain/xs/ChamplainView.xs +++ b/bindings/perl/Champlain/xs/ChamplainView.xs @@ -48,3 +48,43 @@ champlain_view_go_to (ChamplainView *view, gdouble latitude, gdouble longitude) void champlain_view_stop_go_to (ChamplainView *view) + +void +champlain_view_set_min_zoom_level (ChamplainView *view, gint zoom_level) + + +void +champlain_view_set_max_zoom_level (ChamplainView *view, gint zoom_level) + + +void +champlain_view_ensure_visible (ChamplainView *view, gdouble lat1, gdouble lon1, gdouble lat2, gdouble lon2, gboolean animate) + + +# FIXME the order there is important for perl +#void +#champlain_view_ensure_markers_visible (ChamplainView *view, ChamplainBaseMarker *markers[], gboolean animate) + + +void +champlain_view_set_decel_rate (ChamplainView *view, gdouble rate) + + +void +champlain_view_set_scroll_mode (ChamplainView *view, ChamplainScrollMode mode) + + +void +champlain_view_set_keep_center_on_resize (ChamplainView *view, gboolean value) + + +void +champlain_view_set_show_license (ChamplainView *view, gboolean value) + + +void +champlain_view_set_zoom_on_double_click (ChamplainView *view, gboolean value) + + +void +champlain_view_get_coords_at (ChamplainView *view, guint x, guint y, OUTLIST gdouble latitude, OUTLIST gdouble longitude)