[gtkmm] StyleContext: Add render_*() methods.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] StyleContext: Add render_*() methods.
- Date: Tue, 7 Dec 2010 16:16:16 +0000 (UTC)
commit 1af204db044ad2cd3036754803911ffffb14a64b
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Dec 7 17:09:22 2010 +0100
StyleContext: Add render_*() methods.
* gtk/src/stylecontext.hg: Wrap the gtk_render_*() functions, as we
previously wrapped the old gtk_paint_*() functions in GtkStyle.
ChangeLog | 7 +++++++
gtk/src/stylecontext.hg | 17 +++++++++++++++++
2 files changed, 24 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index be034e7..fe2bda6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2010-12-07 Murray Cumming <murrayc murrayc com>
+ StyleContext: Add render_*() methods.
+
+ * gtk/src/stylecontext.hg: Wrap the gtk_render_*() functions, as we
+ previously wrapped the old gtk_paint_*() functions in GtkStyle.
+
+2010-12-07 Murray Cumming <murrayc murrayc com>
+
Added Gdk::Cairo::set_source_rgba().
* gdk/gdkmm/general.[h|cc]: Wrapped gdk_cairo_set_source_rgba().
diff --git a/gtk/src/stylecontext.hg b/gtk/src/stylecontext.hg
index aa7ac07..7adea8a 100644
--- a/gtk/src/stylecontext.hg
+++ b/gtk/src/stylecontext.hg
@@ -151,6 +151,23 @@ public:
_WRAP_METHOD(void set_background(const Glib::RefPtr<Gdk::Window>& window), gtk_style_context_set_background)
+ _WRAP_METHOD(void render_check(const Cairo::RefPtr<Cairo::Context>& cr, double x, double y, double width, double height), gtk_render_check)
+ _WRAP_METHOD(void render_option(const Cairo::RefPtr<Cairo::Context>& cr, double x, double y, double width, double height), gtk_render_option)
+ _WRAP_METHOD(void render_arrow(const Cairo::RefPtr<Cairo::Context>& cr, double angle, double x, double y, double size), gtk_render_arrow)
+ _WRAP_METHOD(void render_background(const Cairo::RefPtr<Cairo::Context>& cr, double x, double y, double width, double height), gtk_render_background)
+ _WRAP_METHOD(void render_frame(const Cairo::RefPtr<Cairo::Context>& cr, double x, double y, double width, double height), gtk_render_frame)
+ _WRAP_METHOD(void render_expander(const Cairo::RefPtr<Cairo::Context>& cr, double x, double y, double width, double height), gtk_render_expander)
+ _WRAP_METHOD(void render_focus(const Cairo::RefPtr<Cairo::Context>& cr, double x, double y, double width, double height), gtk_render_focus)
+ _WRAP_METHOD(void render_layout(const Cairo::RefPtr<Cairo::Context>& cr, double x, double y, PangoLayout *layout), gtk_render_layout)
+ _WRAP_METHOD(void render_line(const Cairo::RefPtr<Cairo::Context>& cr, double x0, double y0, double x1, double y1), gtk_render_line)
+ _WRAP_METHOD(void render_slider(const Cairo::RefPtr<Cairo::Context>& cr, double x, double y, double width, double height, Orientation orientation), gtk_render_slider)
+ _WRAP_METHOD(void render_frame_gap(const Cairo::RefPtr<Cairo::Context>& cr, double x, double y, double width, double height, PositionType gap_side, double xy0_gap, double xy1_gap), gtk_render_frame_gap)
+ _WRAP_METHOD(void render_extension(const Cairo::RefPtr<Cairo::Context>& cr, double x, double y, double width, double height, PositionType gap_side), gtk_render_extension)
+ _WRAP_METHOD(void render_handle(const Cairo::RefPtr<Cairo::Context>& cr, double x, double y, double width, double height), gtk_render_handle)
+ _WRAP_METHOD(void render_activity(const Cairo::RefPtr<Cairo::Context>& cr, double x, double y, double width, double height), gtk_render_activity)
+ _WRAP_METHOD(Glib::RefPtr<Gdk::Pixbuf> render_icon_pixbuf(const IconSource& source, IconSize size), gtk_render_icon_pixbuf)
+
+
_WRAP_SIGNAL(void changed(), "changed")
_WRAP_PROPERTY("screen", Glib::RefPtr<Gdk::Screen>)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]