[libchamplainmm] Point: Wrap get/set_color() methods
- From: Juan R. Garcia Blanco <juanrgar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplainmm] Point: Wrap get/set_color() methods
- Date: Mon, 9 Jun 2014 18:34:27 +0000 (UTC)
commit acf8efe638e2ea1cde573b966cdf641b654f8b0c
Author: Juan R. GarcÃa Blanco <juanrgar gmail com>
Date: Mon Jun 9 20:33:53 2014 +0200
Point: Wrap get/set_color() methods
champlain/src/point.hg | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/champlain/src/point.hg b/champlain/src/point.hg
index 546118a..d8af576 100644
--- a/champlain/src/point.hg
+++ b/champlain/src/point.hg
@@ -16,6 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <cluttermm/color.h>
+
#include <champlainmm/marker.h>
_DEFS(champlainmm,champlain)
_PINCLUDE(champlainmm/private/marker_p.h)
@@ -41,6 +43,9 @@ protected:
public:
_WRAP_CREATE()
+ _WRAP_METHOD(void set_color(const Clutter::Color& color), champlain_point_set_color)
+ _WRAP_METHOD(Clutter::Color get_color() const, champlain_point_get_color)
+
_WRAP_METHOD(void set_size(double size), champlain_point_set_size)
_WRAP_METHOD(double get_size() const, champlain_point_get_size)
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]