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
nerrons
purr-data
Commits
f2ee701a
Commit
f2ee701a
authored
Dec 31, 2010
by
Ivica Bukvic
Committed by
Hans-Christoph Steiner
Nov 02, 2011
Browse files
Pd-0.42.5-extended-l2ork-dev-20101230.tar.bz2
parent
bf1a3ca4
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/g_editor.c
View file @
f2ee701a
...
...
@@ -1055,8 +1055,8 @@ static void canvas_rightclick(t_canvas *x, int xpos, int ypos, t_gobj *y)
/* abstractions should only allow for properties inside them
otherwise they end-up being dirty without visible notification
besides, why would one mess with their properties without
seeing what is inside them? */
canprop
=
(
!
y
||
(
y
&&
class_getpropertiesfn
(
pd_class
(
&
y
->
g_pd
)))
&&
!
canvas_isabstraction
(
((
t_glist
*
)
y
)
)
);
seeing what is inside them?
CURRENTLY DISABLED
*/
canprop
=
(
!
y
||
(
y
&&
class_getpropertiesfn
(
pd_class
(
&
y
->
g_pd
)))
/*
&& !canvas_isabstraction( ((t_glist*)y) )
*/
);
canopen
=
(
y
&&
zgetfn
(
&
y
->
g_pd
,
gensym
(
"menu-open"
)));
if
(
y
)
{
isobject
=
1
;
...
...
src/g_text.c
View file @
f2ee701a
...
...
@@ -1054,22 +1054,23 @@ static void text_getrect(t_gobj *z, t_glist *glist,
/* now find if we have more inlets or outlets than
what can comfortably fit and adjust accordingly
but only do so if this is not gop object
NB: textless GOPs are unaffected and are treated
as GUI objects
*/
//fprintf(stderr,"isgraph %d\n", ((t_glist *)z)->gl_isgraph);
if
(
!
((
t_glist
*
)
z
)
->
gl_isgraph
)
{
//
if (!((t_glist *)z)->gl_isgraph) {
t_object
*
ob
=
pd_checkobject
(
&
x
->
te_pd
);
int
no
=
obj_noutlets
(
ob
);
int
ni
=
obj_ninlets
(
ob
);
t_object
*
ob
=
pd_checkobject
(
&
x
->
te_pd
);
int
no
=
obj_noutlets
(
ob
);
int
ni
=
obj_ninlets
(
ob
);
int
m
=
(
ni
>
no
?
ni
:
no
);
if
(
width
<
IOWIDTH
*
2
*
m
)
{
/* we have to resize the object */
width
=
IOWIDTH
*
2
*
m
;
}
int
m
=
(
ni
>
no
?
ni
:
no
);
if
(
width
<
(
IOWIDTH
*
m
)
*
2
-
IOWIDTH
)
{
/* we have to resize the object */
width
=
(
IOWIDTH
*
m
)
*
2
-
IOWIDTH
;
}
//}
height
=
rtext_height
(
y
)
-
(
iscomment
<<
1
);
}
else
width
=
height
=
10
;
...
...
src/m_pd.h
View file @
f2ee701a
...
...
@@ -11,7 +11,7 @@ extern "C" {
#define PD_MAJOR_VERSION 0
#define PD_MINOR_VERSION 42
#define PD_BUGFIX_VERSION 5
#define PD_TEST_VERSION "extended-l2ork-201012
29
"
#define PD_TEST_VERSION "extended-l2ork-201012
30
"
/* old name for "MSW" flag -- we have to take it for the sake of many old
"nmakefiles" for externs, which will define NT and not MSW */
...
...
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