summaryrefslogtreecommitdiffstats
path: root/ganv
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-01-03 01:08:49 +0000
committerDavid Robillard <d@drobilla.net>2014-01-03 01:08:49 +0000
commit9191aae81ab497d9cbf5a256b2b2e9dbf1af5d67 (patch)
tree2ea82730af0862baa33b921ea6bd6fe126b2d49e /ganv
parenta6aba9a3e541b8f193e93c653bac7bbae111de17 (diff)
downloadganv-9191aae81ab497d9cbf5a256b2b2e9dbf1af5d67.tar.gz
ganv-9191aae81ab497d9cbf5a256b2b2e9dbf1af5d67.tar.bz2
ganv-9191aae81ab497d9cbf5a256b2b2e9dbf1af5d67.zip
Make graph input ports controllable outputs and remove double port kludge.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5247 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ganv')
-rw-r--r--ganv/canvas-base.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ganv/canvas-base.h b/ganv/canvas-base.h
index 3b7477c..caef50d 100644
--- a/ganv/canvas-base.h
+++ b/ganv/canvas-base.h
@@ -205,10 +205,14 @@ int ganv_item_grab(GanvItem* item, unsigned int event_mask,
*/
void ganv_item_ungrab(GanvItem* item, guint32 etime);
-/* Convert from item coordinate to world coordinates.
+/* Convert from item coordinates to world coordinates.
*/
void ganv_item_i2w(GanvItem* item, double* x, double* y);
+/* Convert from world coordinates to item coordinates.
+ */
+void ganv_item_w2i(GanvItem* item, double* x, double* y);
+
/* Used to send all of the keystroke events to a specific item as well as
* GDK_FOCUS_CHANGE events.
*/