Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Rishabh Gupta
purr-data
Commits
0ef37a9c
Commit
0ef37a9c
authored
Feb 23, 2013
by
Ivica Bukvic
Browse files
improved compatibility with 0.43 and 0.44 branches
parent
a7ac5546
Changes
2
Hide whitespace changes
Inline
Side-by-side
pd/src/pd.tk
View file @
0ef37a9c
...
...
@@ -3361,6 +3361,11 @@ proc pdtk_canvas_checkgeometry {topname} {
}
}
#
from
newer
pd
branch
proc
pdtk_canvas_mouse
{
name
x
y
b
f
}
{
pd
[
canvastosym
$
name
]
mouse
[$
name
canvasx
$
x
]
[$
name
canvasy
$
y
]
$
b
$
f
\;
}
proc
pdtk_canvas_sendclick
{
name
x
y
b
f
}
{
pd
[
canvastosym
$
name
]
mouse
[$
name
canvasx
$
x
]
[$
name
canvasy
$
y
]
$
b
$
f
\;
}
...
...
pd/src/t_tkcmd.c
View file @
0ef37a9c
...
...
@@ -603,6 +603,8 @@ void pdgui_startup(Tcl_Interp *interp)
/* add our own TK commands */
Tcl_CreateCommand
(
interp
,
"pd"
,
(
Tcl_CmdProc
*
)
pdCmd
,
(
ClientData
)
NULL
,
(
Tcl_CmdDeleteProc
*
)
NULL
);
Tcl_CreateCommand
(
interp
,
"pdsend"
,
(
Tcl_CmdProc
*
)
pdCmd
,
(
ClientData
)
NULL
,
(
Tcl_CmdDeleteProc
*
)
NULL
);
#ifdef MSW
Tcl_CreateCommand
(
interp
,
"pd_pollsocket"
,(
Tcl_CmdProc
*
)
pd_pollsocketCmd
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment