#include "config.h"
+#include "champlainlayer.h"
#include "champlain_defines.h"
#include <clutter/clutter.h>
/**
* champlain_layer_new:
*
- * Returns a new #ClutterActor ready to be used as a #ClutterContainer for the markers.
+ * Returns a new #ChamplainLayer ready to be used as a #ClutterContainer for the markers.
*
* Since: 0.2.2
*/
-ClutterActor *
+ChamplainLayer *
champlain_layer_new ()
{
ClutterGroup *layer;
#include <glib-object.h>
#include <clutter/clutter.h>
-ClutterActor *champlain_layer_new ();
+typedef ClutterActor ChamplainLayer;
+
+ChamplainLayer *champlain_layer_new ();
#endif
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
-AC_INIT(libchamplain, 0.2.1, pierre-luc@squidy.info)
+AC_INIT(libchamplain, 0.2.2, pierre-luc@squidy.info)
AC_CONFIG_SRCDIR([champlain/champlainview.h])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_MACRO_DIR(m4)
AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal])
# Checks for libraries.
-LIBRARY_VERSION=0:1:0
+LIBRARY_VERSION=1:2:0
AC_SUBST(LIBRARY_VERSION)
AC_SUBST(DEPS_CFLAGS)
champlain/Makefile
tidy/Makefile
docs/reference/Makefile
+ docs/reference/version.xml
champlain.pc])
AC_OUTPUT
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
-content_files=
+content_files= version.xml
# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
# These files must be listed here *and* in content_files
<?xml version="1.0"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
- "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY version SYSTEM "version.xml">
+]>
<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
<bookinfo>
<title>libchamplain Reference Manual</title>
<releaseinfo>
- for libchamplain 0.2
+ for libchamplain &version;
The latest version of this documentation can be found on-line at
<ulink role="online-location" url="http://blog.squidy.info/projects/libchamplain/">http://blog.squidy.info/projects/libchamplain/</ulink>.
</releaseinfo>
<chapter>
<title>I. API Reference</title>
<xi:include href="xml/champlainview.xml"/>
+ <xi:include href="xml/champlainlayer.xml"/>
<xi:include href="xml/champlainmarker.xml"/>
</chapter>
</book>
<SUBSECTION Standard>
</SECTION>
+<SECTION>
+<FILE>champlainlayer</FILE>
+<TITLE>ChamplainLayer</TITLE>
+<INCLUDE>champlain/champlainlayer.h</INCLUDE>
+champlain_layer_new
+<SUBSECTION Standard>
+</SECTION>
+
<SECTION>
<FILE>champlain</FILE>
CHAMPLAIN_MIN_LAT
@group:
@priv:
-<!-- ##### FUNCTION champlain_marker_get_type ##### -->
-<para>
-
-</para>
-
-@Returns:
-
-
<!-- ##### FUNCTION champlain_marker_new ##### -->
<para>
@Returns:
-<!-- ##### FUNCTION champlain_marker_set_anchor ##### -->
-<para>
-
-</para>
-
-@marker:
-@x:
-@y:
-
-
<!-- ##### FUNCTION champlain_marker_set_position ##### -->
<para>
ChamplainView
<!-- ##### SECTION Short_Description ##### -->
-A widget to display maps
+A #ClutterActor to display maps
<!-- ##### SECTION Long_Description ##### -->
<para>
-The #ChamplainView widget is a Clutter based widget to display maps. It supports two modes of scrolling:
+The #ChamplainView is a ClutterActor to display maps. It supports two modes of scrolling:
<itemizedlist>
<listitem><para>Push: the normal behavior where the maps doesn't move after the user stopped scrolling;</para></listitem>
<listitem><para>Kinetic: the iPhone-like behavior where the maps decelerate after the user stopped scrolling.</para></listitem>
<para>
</para>
+
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
-<!-- ##### FUNCTION champlain_view_get_type ##### -->
-<para>
-
-</para>
-
-@Returns:
-
-
<!-- ##### FUNCTION champlain_view_new ##### -->
<para>
</para>
@view:
-@longitude:
@latitude:
+@longitude:
<!-- ##### FUNCTION champlain_view_zoom_in ##### -->