summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Techet <techet@gmail.com>2015-12-02 20:41:25 +0100
committerJiří Techet <techet@gmail.com>2015-12-02 20:41:25 +0100
commitc726e061eeb394d7a806b75e3377dce9ad7fa734 (patch)
tree6d87d7c0b73e02a3edbac11b692c9b528f2de4fd
parent380ef615cdce386aa53cfbb9fb0fe2b01397fda1 (diff)
downloadlibchamplain-c873d9d8116b8e14c1bfa939439d763926a77446.tar.gz
-rw-r--r--NEWS12
-rw-r--r--champlain/champlain-0.12.vapi11
-rw-r--r--configure.ac2
3 files changed, 22 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index c2ab45b..0b98913 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,15 @@
+libchamplain 0.12.12 (2015-12-02)
+=================================
+
+Stable release
+
+Changes:
+
+* Add possibility to export maps (Jonas Danielsson)
+* Fix map getting blank after some mouse actions (Carlos Garnacho)
+* Fix tile loading at higher zoom levels (Rémy Oudompheng)
+* Improve mouse wheel zoom handling (Carlos Garnacho, Jiri Techet)
+
libchamplain 0.12.11 (2015-09-18)
=================================
diff --git a/champlain/champlain-0.12.vapi b/champlain/champlain-0.12.vapi
index 2a3199a..753ec76 100644
--- a/champlain/champlain-0.12.vapi
+++ b/champlain/champlain-0.12.vapi
@@ -343,7 +343,7 @@ namespace Champlain {
public NullTileSource.full (Champlain.Renderer renderer);
}
[CCode (cheader_filename = "champlain/champlain.h", type_id = "champlain_path_layer_get_type ()")]
- public class PathLayer : Champlain.Layer, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
+ public class PathLayer : Champlain.Layer, Atk.Implementor, Champlain.Exportable, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
[CCode (has_construct_function = false)]
public PathLayer ();
public void add_node (Champlain.Location location);
@@ -408,7 +408,7 @@ namespace Champlain {
public uint max_width { get; set; }
}
[CCode (cheader_filename = "champlain/champlain.h", type_id = "champlain_tile_get_type ()")]
- public class Tile : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
+ public class Tile : Clutter.Actor, Atk.Implementor, Champlain.Exportable, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
[CCode (has_construct_function = false)]
public Tile ();
public void display_content ();
@@ -527,6 +527,7 @@ namespace Champlain {
public void set_zoom_level (uint zoom_level);
public void set_zoom_on_double_click (bool value);
public void stop_go_to ();
+ public Cairo.Surface to_surface (bool include_layers);
public double x_to_longitude (double x);
public double y_to_latitude (double y);
public void zoom_in ();
@@ -575,6 +576,12 @@ namespace Champlain {
public int y_origin { get; set; }
public signal void relocated ();
}
+ [CCode (cheader_filename = "champlain/champlain.h", type_id = "champlain_exportable_get_type ()")]
+ public interface Exportable : GLib.Object {
+ public abstract unowned Cairo.Surface get_surface ();
+ public abstract void set_surface (Cairo.Surface surface);
+ public abstract Cairo.Surface surface { get; set; }
+ }
[CCode (cheader_filename = "champlain/champlain.h", type_id = "champlain_location_get_type ()")]
public interface Location : GLib.Object {
public abstract double get_latitude ();
diff --git a/configure.ac b/configure.ac
index 8d7f1b9..2c3aeae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,7 +36,7 @@ AM_PROG_CC_C_O
# - If binary compatibility has been broken (eg removed or changed interfaces)
# change to C+1:0:0
# - If the interface is the same as the previous version, change to C:R+1:A
-LIBRARY_VERSION=6:4:6
+LIBRARY_VERSION=7:4:7
CHAMPLAIN_API_VERSION=champlain_api_version
CHAMPLAIN_API_VERSION_NORM=champlain_major_version[_]champlain_minor_api_version
CHAMPLAIN_MAJOR_VERSION=champlain_major_version