[libchamplainmm] Tile: Wrap missing methods and properties



commit b176a8e0370b6da69c2d38c1f507d6f328d1d799
Author: Juan R. GarcĂ­a Blanco <juanrgar gmail com>
Date:   Mon Jun 9 19:58:43 2014 +0200

    Tile: Wrap missing methods and properties
    
        * Wrap fade_in property and its getter/setter.
        * Wrap display_content() method.

 champlain/src/tile.hg |   30 ++++++++++++++----------------
 1 files changed, 14 insertions(+), 16 deletions(-)
---
diff --git a/champlain/src/tile.hg b/champlain/src/tile.hg
index 12dec02..39c189b 100644
--- a/champlain/src/tile.hg
+++ b/champlain/src/tile.hg
@@ -45,27 +45,24 @@ public:
   _WRAP_METHOD(guint get_zoom_level() const, champlain_tile_get_zoom_level)
   _WRAP_METHOD(guint get_size() const, champlain_tile_get_size)
   _WRAP_METHOD(State get_state() const, champlain_tile_get_state)
-  _WRAP_METHOD(Glib::RefPtr<const Clutter::Actor> get_content() const,
-               champlain_tile_get_content)
-  _WRAP_METHOD(Glib::RefPtr<Clutter::Actor> get_content(),
-               champlain_tile_get_content)
-  _WRAP_METHOD(Glib::TimeVal get_modified_time() const,
-               champlain_tile_get_modified_time)
-  _WRAP_METHOD(Glib::ustring get_etag() const,
-               champlain_tile_get_etag)
+  _WRAP_METHOD(Glib::RefPtr<const Clutter::Actor> get_content() const, champlain_tile_get_content)
+  _WRAP_METHOD(Glib::RefPtr<Clutter::Actor> get_content(), champlain_tile_get_content)
+  _WRAP_METHOD(Glib::TimeVal get_modified_time() const, champlain_tile_get_modified_time)
+  _WRAP_METHOD(Glib::ustring get_etag() const, champlain_tile_get_etag)
 
   _WRAP_METHOD(void set_x(guint x), champlain_tile_set_x)
   _WRAP_METHOD(void set_y(guint y), champlain_tile_set_y)
-  _WRAP_METHOD(void set_zoom_level(guint zoom_level),
-               champlain_tile_set_zoom_level)
+  _WRAP_METHOD(void set_zoom_level(guint zoom_level), champlain_tile_set_zoom_level)
   _WRAP_METHOD(void set_size(guint size), champlain_tile_set_size)
   _WRAP_METHOD(void set_state(State state), champlain_tile_set_state)
-  _WRAP_METHOD(void set_content(const Glib::RefPtr<Clutter::Actor> & actor),
-               champlain_tile_set_content)
-  _WRAP_METHOD(void set_etag(const Glib::ustring & etag),
-               champlain_tile_set_etag)
-  _WRAP_METHOD(void set_modified_time(const Glib::TimeVal & time),
-               champlain_tile_set_modified_time)
+  _WRAP_METHOD(void set_content(const Glib::RefPtr<Clutter::Actor> & actor), champlain_tile_set_content)
+  _WRAP_METHOD(void set_etag(const Glib::ustring & etag), champlain_tile_set_etag)
+  _WRAP_METHOD(void set_modified_time(const Glib::TimeVal & time), champlain_tile_set_modified_time)
+
+  _WRAP_METHOD(void set_fade_in(bool fade_in = true), champlain_tile_set_fade_in)
+  _WRAP_METHOD(bool get_fade_in() const, champlain_tile_get_fade_in)
+
+  _WRAP_METHOD(void display_content(), champlain_tile_display_content)
 
   _WRAP_PROPERTY("x", int)
   _WRAP_PROPERTY("y", int)
@@ -74,6 +71,7 @@ public:
   _WRAP_PROPERTY("state", State)
   _WRAP_PROPERTY("content", Glib::RefPtr<Clutter::Actor>)
   _WRAP_PROPERTY("etag", Glib::ustring)
+  _WRAP_PROPERTY("fade-in", bool)
 };
 
 } // namespace Champlain


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]