summaryrefslogtreecommitdiffstats
path: root/ganv/canvas-base.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-10 18:34:17 +0000
committerDavid Robillard <d@drobilla.net>2011-12-10 18:34:17 +0000
commit103de1c0a236eaa7cc7a20986d32aa7739c4976c (patch)
treea727381eb9786da92daef8aa54f83c306657a91f /ganv/canvas-base.h
parenta7a3bce6d878c1150946a99f85bc58fc4fcd6256 (diff)
downloadganv-103de1c0a236eaa7cc7a20986d32aa7739c4976c.tar.gz
ganv-103de1c0a236eaa7cc7a20986d32aa7739c4976c.tar.bz2
ganv-103de1c0a236eaa7cc7a20986d32aa7739c4976c.zip
Make item draw method take a cairo_t instead of GdkDrawable.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3856 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ganv/canvas-base.h')
-rw-r--r--ganv/canvas-base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ganv/canvas-base.h b/ganv/canvas-base.h
index 38a2ffe..1b20325 100644
--- a/ganv/canvas-base.h
+++ b/ganv/canvas-base.h
@@ -136,7 +136,7 @@ struct _GanvItemClass {
* coordinates of the drawable, a temporary pixmap, where things get
* drawn. (width, height) are the dimensions of the drawable.
*/
- void (* draw)(GanvItem* item, GdkDrawable* drawable,
+ void (* draw)(GanvItem* item, cairo_t* cr,
int x, int y, int width, int height);
/* Calculate the distance from an item to the specified point. It also