TRiLeZ
2009-10-24 15:20:32
The last line of text (line 8) has moved 1 pixel down so I fixed it.
Edit:
Made shorter by NaumanAkhlaQ
{*******************************************************************************
Function TextCoords(textn: Integer): TPoint;
By: Wizzup?
Description: Returns x, y for text. (1 to 8)
*******************************************************************************}
Function TextCoords(textn: Integer): TPoint;
Begin
Result.X := 11;
if (textn = 8) then Result.Y := 445
else
Result.Y := 346 + (14 * (textn - 1));
End;
Edit:
Made shorter by NaumanAkhlaQ
{*******************************************************************************
Function TextCoords(textn: Integer): TPoint;
By: Wizzup?
Description: Returns x, y for text. (1 to 8)
*******************************************************************************}
Function TextCoords(textn: Integer): TPoint;
Begin
Result := Point(11, (346 + (14 * (textn - 1))) + Integer(Textn = 8));
End;