https://github.com/jrincayc/ucblogo-code
Revision 58e2f6161b39459aaed9818d3398802bd7d99af0 authored by Dan Malec on 07 November 2020, 23:07:18 UTC, committed by Dan Malec on 08 November 2020, 02:31:00 UTC
On certain window sizes, rounding on the original resize calculation was causing small shifts in the turtle position. On systems where the XOR turtle drawing works, this resulted in ghost turtles. On other systems, there was no ghost turtle; but, post-resize drawn lines could still be misaligned from pre-resize drawn lines. Additionally, this commit stops the turtle from being drawn in graphics.c if it is going to be drawn in wx in order to prevent small gaps in lines if XOR is not supported on the system.
1 parent 9e69e32
Tip revision: 58e2f6161b39459aaed9818d3398802bd7d99af0 authored by Dan Malec on 07 November 2020, 23:07:18 UTC
ISSUE-47: Fixed resize bug causing ghost turtle.
ISSUE-47: Fixed resize bug causing ghost turtle.
Tip revision: 58e2f61
File | Mode | Size |
---|---|---|
csls | ||
docs | ||
helpfiles | ||
inno | ||
logolib | ||
mac-fontmod | ||
tests | ||
.gitignore | -rw-r--r-- | 365 bytes |
Info.plist | -rw-r--r-- | 544 bytes |
LICENSE | -rw-r--r-- | 34.3 KB |
LogoFrame.h | -rw-r--r-- | 2.1 KB |
Makefile.am | -rw-r--r-- | 5.2 KB |
PkgInfo | -rw-r--r-- | 9 bytes |
README.md | -rw-r--r-- | 2.6 KB |
TODO | -rw-r--r-- | 174 bytes |
TextEditor.cpp | -rw-r--r-- | 6.9 KB |
TextEditor.h | -rw-r--r-- | 779 bytes |
changes.txt | -rw-r--r-- | 2.7 KB |
coms.c | -rw-r--r-- | 12.5 KB |
config.h.msys | -rw-r--r-- | 24 bytes |
configure.ac | -rw-r--r-- | 3.4 KB |
diffscript.pl | -rw-r--r-- | 84 bytes |
error.c | -rw-r--r-- | 8.4 KB |
eval.c | -rw-r--r-- | 41.2 KB |
eval.h | -rw-r--r-- | 112 bytes |
evaluator.pdf | -rw-r--r-- | 46.1 KB |
evaluator.ps | -rw-r--r-- | 126.3 KB |
evaluator.svg | -rw-r--r-- | 73.7 KB |
files.c | -rw-r--r-- | 18.4 KB |
globals.h | -rw-r--r-- | 20.5 KB |
gpl.html | -rw-r--r-- | 36.6 KB |
gpl_text.h | -rw-r--r-- | 23.9 KB |
graphics.c | -rw-r--r-- | 55.1 KB |
init.c | -rw-r--r-- | 32.4 KB |
intern.c | -rw-r--r-- | 3.9 KB |
kdbgrc.logo | -rw-r--r-- | 121 bytes |
libloc.c | -rw-r--r-- | 235 bytes |
lists.c | -rw-r--r-- | 17.2 KB |
logo-Info.plist | -rw-r--r-- | 776 bytes |
logo.h | -rw-r--r-- | 22.0 KB |
logo.icns | -rw-r--r-- | 47.6 KB |
logo_win.rc | -rw-r--r-- | 28 bytes |
logodata.c | -rw-r--r-- | 13.7 KB |
logologo.ico | -rw-r--r-- | 73.1 KB |
logologo.png | -rw-r--r-- | 61.9 KB |
macterm.c | -rw-r--r-- | 17.2 KB |
macterm.h | -rw-r--r-- | 4.3 KB |
main.c | -rw-r--r-- | 7.6 KB |
makefile.msys | -rw-r--r-- | 4.0 KB |
makehelp.c | -rw-r--r-- | 3.4 KB |
math.c | -rw-r--r-- | 16.3 KB |
mem.c | -rw-r--r-- | 20.9 KB |
newtermnotes | -rw-r--r-- | 4.1 KB |
nographics.c | -rw-r--r-- | 249 bytes |
nographics.h | -rw-r--r-- | 2.5 KB |
obj.c | -rw-r--r-- | 22.6 KB |
obj.h | -rw-r--r-- | 239 bytes |
paren.c | -rw-r--r-- | 13.9 KB |
parse.c | -rw-r--r-- | 18.4 KB |
pbdevelopment.plist | -rw-r--r-- | 281 bytes |
plm | -rw-r--r-- | 68.7 KB |
print.c | -rw-r--r-- | 10.0 KB |
term.c | -rw-r--r-- | 6.9 KB |
ucblogo.bmp | -rw-r--r-- | 65.1 KB |
ucblogo.desktop | -rw-r--r-- | 171 bytes |
ucblogo.dsp | -rwxr-xr-x | 6.8 KB |
ucblogo.dsw | -rwxr-xr-x | 539 bytes |
ucblogo.png | -rw-r--r-- | 67.8 KB |
ucblogo.xpm | -rw-r--r-- | 134.6 KB |
usermanual | -rw-r--r-- | 152.0 KB |
win32trm.c | -rw-r--r-- | 38.8 KB |
win32trm.h | -rw-r--r-- | 5.1 KB |
wrksp.c | -rw-r--r-- | 47.2 KB |
wxGlobals.h | -rw-r--r-- | 2.9 KB |
wxGraphics.h | -rw-r--r-- | 5.3 KB |
wxMain.cpp | -rw-r--r-- | 5.2 KB |
wxMain.h | -rw-r--r-- | 40 bytes |
wxTerminal.cpp | -rw-r--r-- | 66.1 KB |
wxTerminal.h | -rw-r--r-- | 8.4 KB |
wxTurtleGraphics.cpp | -rw-r--r-- | 35.4 KB |
wxTurtleGraphics.h | -rw-r--r-- | 6.1 KB |
wxterm.c | -rw-r--r-- | 6.1 KB |
xgraphics.c | -rw-r--r-- | 9.4 KB |
xgraphics.h | -rw-r--r-- | 6.6 KB |
ztcterm.c | -rw-r--r-- | 17.0 KB |
ztcterm.h | -rw-r--r-- | 4.3 KB |
Computing file changes ...