From e477fba7331b8a874b00a567defb09a888590aea Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 30 Mar 2014 20:12:48 +0000 Subject: Reimplement canvas zoom. Make select rectangle translucent. Make ctrl+scroll wheel zoom, not change font size. Add separate controls in Patchage for zoom (scale) and font size. Banish canvas coordinates from item implementations. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5345 a436a847-0d15-0410-975c-d299462d15a1 --- src/node.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/node.c') diff --git a/src/node.c b/src/node.c index 331ac86..acfa9df 100644 --- a/src/node.c +++ b/src/node.c @@ -117,9 +117,7 @@ ganv_node_destroy(GtkObject* object) static void ganv_node_draw(GanvItem* item, - cairo_t* cr, - int cx, int cy, - int width, int height) + cairo_t* cr, double cx, double cy, double cw, double ch) { /* TODO: Label is not drawn here because ports need to draw control rects then the label on top. I can't see a way of solving this since -- cgit v1.2.1