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
Jonathan Wilkes
purr-data
Commits
460d68a9
Commit
460d68a9
authored
Jun 11, 2020
by
Jonathan Wilkes
Browse files
make another legacy offset conditional on sys_legacy
parent
4a9e4dfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_all_guis.c
View file @
460d68a9
...
...
@@ -987,8 +987,8 @@ void iemgui_label_draw_new(t_iemgui *x)
{
char
col
[
8
];
t_canvas
*
canvas
=
glist_getcanvas
(
x
->
x_glist
);
int
x1
=
text_xpix
(
&
x
->
x_obj
,
x
->
x_glist
)
+
x
->
legacy_x
;
int
y1
=
text_ypix
(
&
x
->
x_obj
,
x
->
x_glist
)
+
x
->
legacy_y
;
int
x1
=
text_xpix
(
&
x
->
x_obj
,
x
->
x_glist
)
+
(
sys_legacy
?
x
->
legacy_x
:
0
)
;
int
y1
=
text_ypix
(
&
x
->
x_obj
,
x
->
x_glist
)
+
(
sys_legacy
?
x
->
legacy_y
:
0
)
;
iemgui_getrect_legacy_label
(
x
,
&
x1
,
&
y1
);
sprintf
(
col
,
"#%6.6x"
,
x
->
x_lcol
);
gui_vmess
(
"gui_iemgui_label_new"
,
"xxiissssi"
,
...
...
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