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
8f3acabf
Commit
8f3acabf
authored
Sep 04, 2015
by
Jonathan Wilkes
Browse files
use sys_queuegui for scalar_configure
parent
d5567023
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_scalar.c
View file @
8f3acabf
...
...
@@ -549,7 +549,6 @@ void scalar_drawselectrect(t_scalar *x, t_glist *glist, int state)
glist_xtopixels
(
glist
,
0
);
t_float
yscale
=
glist_ytopixels
(
glist
,
1
)
-
glist_ytopixels
(
glist
,
0
);
post
(
"xsclae is %g and yscale is %g"
,
xscale
,
yscale
);
//sys_vgui(".x%lx.c create prect %d %d %d %d "
// "-strokewidth 1 -stroke $pd_colors(selection) "
// "-tags {select%lx selected}\n",
...
...
@@ -795,8 +794,9 @@ static void scalar_group_configure(t_scalar *x, t_glist *owner,
}
}
void
scalar_configure
(
t_
scalar
*
x
,
t_glist
*
owner
)
void
scalar_
do
configure
(
t_
gobj
*
xgobj
,
t_glist
*
owner
)
{
t_scalar
*
x
=
(
t_scalar
*
)
xgobj
;
int
vis
=
glist_isvisible
(
owner
);
if
(
vis
)
{
...
...
@@ -869,6 +869,11 @@ void scalar_configure(t_scalar *x, t_glist *owner)
}
}
void
scalar_configure
(
t_scalar
*
x
,
t_glist
*
owner
)
{
sys_queuegui
(
x
,
owner
,
scalar_doconfigure
);
}
static
void
scalar_groupvis
(
t_scalar
*
x
,
t_glist
*
owner
,
t_template
*
template
,
t_glist
*
gl
,
t_glist
*
parent
,
int
vis
)
{
...
...
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