uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 693742a7a4180503727816801a7bb7a8f65ff750
parent ebfc496ca2996615f2a0a86691ac65920391f2d6
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date:   Mon, 24 May 2021 22:27:45 +0100

Fixed label alignment

Diffstat:
Mprojects/examples/gui/label.usm | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/projects/examples/gui/label.usm b/projects/examples/gui/label.usm @@ -75,7 +75,7 @@ RTN @draw-label-right ( x y color addr -- ) ( load ) .label/addr STZ2 .label/color STZ .Screen/y DEO2 - ( align ) .label/addr LDZ2 ;get-text-length JSR2 #0008 MUL2 SUB2 #0008 SUB2 .Screen/x DEO2 + ( align ) .label/addr LDZ2 ;get-text-length JSR2 #0008 MUL2 SUB2 .Screen/x DEO2 .label/addr LDZ2 &loop ( draw ) DUP2 LDA #00 SWP #0008 MUL2 ;font ADD2 .Screen/addr DEO2 .label/color LDZ .Screen/color DEO