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
Flachy Joe
purr-data
Commits
4ccf4c8c
Commit
4ccf4c8c
authored
Nov 18, 2017
by
Jonathan Wilkes
Browse files
use parent canvas instead of glist_getcanvas to figure out whether we're toplevel
parent
5f46312d
Changes
1
Show whitespace changes
Inline
Side-by-side
pd/src/g_mycanvas.c
View file @
4ccf4c8c
...
...
@@ -28,7 +28,7 @@ void my_canvas_draw_new(t_my_canvas *x, t_glist *glist)
sprintf
(
cbuf
,
"#%6.6x"
,
x
->
x_gui
.
x_bcol
);
gui_vmess
(
"gui_gobj_new"
,
"xxsiii"
,
canvas
,
x
,
"iemgui"
,
x1
,
y1
,
glist_istoplevel
(
canvas
));
x
,
"iemgui"
,
x1
,
y1
,
glist_istoplevel
(
glist
));
gui_vmess
(
"gui_mycanvas_new"
,
"xxsiiiiii"
,
canvas
,
x
,
cbuf
,
x1
,
y1
,
x1
+
x
->
x_vis_w
,
y1
+
x
->
x_vis_h
,
x1
+
x
->
x_gui
.
x_w
,
y1
+
x
->
x_gui
.
x_h
);
...
...
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