Files
CardGame/moveCursorLeft.c
Brian Holman d3a54e24ee Import Cardgame 0.1.15 upstream source snapshot
Original author: Pierre Sarrazin. Public-domain library and demo.
Source: http://sarrazip.com/dev/cardgame-0.1.15.tar.gz
Archive SHA-256: ca706dddd96fec63b829f8958c2e47485b0e1166129d45fda0b6369404c1bb54
2026-11-09 23:35:21 -07:00

12 lines
159 B
C

#include "cardgame.h"
void
moveCursorLeft(byte numColumns)
{
if (textPosX < numColumns)
textPosX = 0;
else
textPosX -= numColumns;
}