From 7afcd906f1e9e9e26609d168d1820b39b349c5a9 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 23 Nov 2007 22:44:03 +0000 Subject: - fixed bug that caused the iolets to multiply whenever resizing, I forgot to add the ->s_name to a symbol used in the sys_vgui, so it was using the pointer value. - moved standard key/mouse binding functions to tkwidgets.[ch] - minor code cleanups for legibility svn path=/trunk/externals/tkwidgets/; revision=9026 --- shared/tkwidgets.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'shared/tkwidgets.h') diff --git a/shared/tkwidgets.h b/shared/tkwidgets.h index 171b3c7..342162e 100644 --- a/shared/tkwidgets.h +++ b/shared/tkwidgets.h @@ -100,9 +100,11 @@ void tkwidgets_erase_iolets(t_symbol* canvas_id, t_symbol* iolets_tag); void tkwidgets_draw_handle(); // TODO draw resize handle when selected in editmode void tkwidgets_draw_resize_window(); // TODO draw the resize window while resizing - - - +/* bind this widget to Cmd/Ctrl keys and mouse events to support things like + * then standard keys and right-click to bring up the Properties/Open/Help + * menu when the Tk widgets have focus */ +void tkwidgets_bind_key_events(t_symbol *canvas_id, t_symbol *widget_id); +void tkwidgets_bind_mouse_events(t_symbol *canvas_id, t_symbol *widget_id); -- cgit v1.2.1