diff options
author | David Robillard <d@drobilla.net> | 2011-12-10 18:34:17 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-10 18:34:17 +0000 |
commit | 103de1c0a236eaa7cc7a20986d32aa7739c4976c (patch) | |
tree | a727381eb9786da92daef8aa54f83c306657a91f /ganv/canvas-base.h | |
parent | a7a3bce6d878c1150946a99f85bc58fc4fcd6256 (diff) | |
download | ganv-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.h | 2 |
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 |