Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Aayush
purr-data
Commits
f6a99fac
Commit
f6a99fac
authored
Dec 08, 2013
by
Ivica Bukvic
Browse files
*made array gop windows hide their text by default (since they are not visible anyhow).
parent
7e5df5ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_array.c
View file @
f6a99fac
...
...
@@ -402,9 +402,11 @@ void glist_arraydialog(t_glist *parent, t_symbol *s, int argc, t_atom *argv)
int
flags
=
fflags
;
if
(
size
<
1
)
size
=
1
;
if
(
otherflag
==
0
||
(
!
(
gl
=
glist_findgraph
(
parent
))))
if
(
otherflag
==
0
||
(
!
(
gl
=
glist_findgraph
(
parent
))))
{
gl
=
glist_addglist
(
parent
,
&
s_
,
0
,
1
,
(
size
>
1
?
size
-
1
:
size
),
-
1
,
xdraw
+
30
,
ydraw
+
30
,
xdraw
+
30
+
GLIST_DEFGRAPHWIDTH
,
ydraw
+
30
+
GLIST_DEFGRAPHHEIGHT
);
gl
->
gl_hidetext
=
1
;
}
a
=
graph_array
(
gl
,
sharptodollar
(
name
),
&
s_float
,
size
,
flags
);
canvas_dirty
(
parent
,
1
);
//canvas_redraw(glist_getcanvas(parent));
...
...
@@ -1031,6 +1033,7 @@ int array_doclick(t_array *array, t_glist *glist, t_scalar *sc, t_array *ap,
static
void
array_getrect
(
t_array
*
array
,
t_glist
*
glist
,
int
*
xp1
,
int
*
yp1
,
int
*
xp2
,
int
*
yp2
)
{
//fprintf(stderr,"array getrect\n");
t_float
x1
=
0x7fffffff
,
y1
=
0x7fffffff
,
x2
=
-
0x7fffffff
,
y2
=
-
0x7fffffff
;
t_canvas
*
elemtemplatecanvas
;
t_template
*
elemtemplate
;
...
...
Write
Preview
Supports
Markdown
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