[gtkmm/gtkmm-2-24] Gdk::Image: Added get_pixel().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm/gtkmm-2-24] Gdk::Image: Added get_pixel().
- Date: Tue, 1 Feb 2011 11:23:37 +0000 (UTC)
commit 71015f064fb85a92b952fff1e03e247531563c4b
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Feb 1 11:53:12 2011 +0100
Gdk::Image: Added get_pixel().
* gdk/src/image.hg: Added get_pixel(), wrapping
gdk_image_get_pixel(), deprecating get_mem() in favour of it.
ChangeLog | 7 +++++++
gdk/src/image.hg | 6 ++++++
2 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a43b36c..3cb00b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2011-02-01 Murray Cumming <murrayc murrayc com>
+ Gdk::Image: Added get_pixel().
+
+ * gdk/src/image.hg: Added get_pixel(), wrapping
+ gdk_image_get_pixel(), deprecating get_mem() in favour of it.
+
+2011-02-01 Murray Cumming <murrayc murrayc com>
+
Regenerated the XML files for the C API documentation.
* gdk/src/gdk_docs.xml:
diff --git a/gdk/src/image.hg b/gdk/src/image.hg
index 975b9b1..27844e4 100644
--- a/gdk/src/image.hg
+++ b/gdk/src/image.hg
@@ -88,9 +88,15 @@ public:
_WRAP_METHOD(guint16 get_bits_per_pixel() const, gdk_image_get_bits_per_pixel)
+ _WRAP_METHOD(void* get_pixels(), gdk_image_get_pixels)
+ _WRAP_METHOD(const void* get_pixels() const, gdk_image_get_pixels)
+
//This memory block is not read-only, apparently:
+ /** @deprecated Use get_pixels().
+ */
_MEMBER_GET_PTR(mem, mem, void*, gpointer)
+
//TODO: This should be const really.
_MEMBER_GET(windowing_data, windowing_data, void*, gpointer)
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]