P1 SPIN GUIDemo from GIT
pic18f2550
Posts: 400
in Propeller 1
Hello,
I have moved the loggin window in the GUIDemo and found out that frame elements of neighbouring windows were moved as well.
Cause: in Textbox.spin a longmove was used in the PUB Scroll.
I changed this to bytemove
PUB Scroll | vgaIdx, tbRows
tbRows := varHeight - varTitle - 2
vgaIdx := ( varRow + varTitle + 1 ) * varVgaCols + varCol
repeat tbRows - 1
'' longmove( @byte[varScreenPtr][vgaIdx], @byte[varScreenPtr][vgaIdx+varVgaCols], varWidth / 4 )
bytemove( @byte[varScreenPtr][vgaIdx], @byte[varScreenPtr][vgaIdx+varVgaCols], varWidth )
vgaIdx += varVgaCols
bytefill( @byte[varScreenPtr][vgaIdx+1], 32, varWidth - 2 )
varRowIdx--
If someone wants to change this on the GIT?
Thanks.
Translated with www.DeepL.com/Translator (free version)
