Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
purr-data
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
aa
purr-data
Commits
51807325
Commit
51807325
authored
Jan 01, 2018
by
aa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change gui_drawimage_free to gui_image_free
parent
f6a5677a
Pipeline
#1094
failed with stage
in 0 seconds
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
externals/ggee/gui/image.c
externals/ggee/gui/image.c
+1
-1
externals/tof/src/imagebang.c
externals/tof/src/imagebang.c
+2
-2
pd/nw/pdgui.js
pd/nw/pdgui.js
+1
-1
pd/src/g_template.c
pd/src/g_template.c
+1
-1
No files found.
externals/ggee/gui/image.c
View file @
51807325
...
...
@@ -465,7 +465,7 @@ static void image_setwidget(void)
static
void
image_free
(
t_image
*
x
)
{
//sys_vgui("image delete img%x\n", x);
gui_vmess
(
"gui_
draw
image_free"
,
"x"
,
x
);
gui_vmess
(
"gui_image_free"
,
"x"
,
x
);
if
(
x
->
x_receive
)
{
pd_unbind
(
&
x
->
x_obj
.
ob_pd
,
x
->
x_receive
);
...
...
externals/tof/src/imagebang.c
View file @
51807325
...
...
@@ -305,8 +305,8 @@ static void imagebang_free(t_imagebang *x) {
sprintf
(
key_a
,
"%lx_a"
,
(
long
unsigned
int
)
x
);
sprintf
(
key_b
,
"%lx_b"
,
(
long
unsigned
int
)
x
);
gui_vmess
(
"gui_
draw
image_free"
,
"s"
,
key_a
);
gui_vmess
(
"gui_
draw
image_free"
,
"s"
,
key_b
);
gui_vmess
(
"gui_image_free"
,
"s"
,
key_a
);
gui_vmess
(
"gui_image_free"
,
"s"
,
key_b
);
if
(
x
->
receive
)
{
pd_unbind
(
&
x
->
x_obj
.
ob_pd
,
x
->
receive
);
}
...
...
pd/nw/pdgui.js
View file @
51807325
...
...
@@ -3619,7 +3619,7 @@ function gui_drawimage_new(obj_tag, file_path, canvasdir, flags) {
pd_cache
.
set
(
obj_tag
,
drawimage_data
);
// add the data to container
}
function gui_
draw
image_free(obj_tag) {
function
gui_image_free
(
obj_tag
)
{
var
c
=
pd_cache
.
get
(
obj_tag
);
if
(
c
)
{
pd_cache
.
free
(
obj_tag
);
// empty the image(s)
...
...
pd/src/g_template.c
View file @
51807325
...
...
@@ -8499,7 +8499,7 @@ static void drawimage_free(t_drawimage *x)
//sprintf(buf, ".x%lx", (t_int)x);
sprintf(buf, "x%lx", (long unsigned int)x);
pd_unbind(&x->x_obj.ob_pd, gensym(buf));
gui_vmess("gui_
draw
image_free", "x", x);
gui_vmess("gui_image_free", "x", x);
}
static void drawimage_setup(void)
...
...
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