Description
INT WRITE_INT(INT SOURCE, INT X, INT Y, INT CENTERED, POINTER VAR)
PARAMETERS:
source: Identifier of the font loaded with Load_Fnt.
x: X Coordinate of where to draw the text.
y: Y Coordinate of where to draw the text.
centred: Code that it indicates like interpreting the point (x, y) with respect to the text to draw.
It can be one of the following values:
0: Left superior corner
1: Superior centre
2: Right superior corner
3: Left centre
4: Centre
5: Right centre
6: Left inferior corner
7: Inferior centre
8: Right inferior corner
var: OFFSET of the variable in memory, obtained with OFFSET or &var.
DESCRIPTION:
This function writes a number on the screen, in the event that the variable changes, the text adapts immediately. All the numbers written with the function Write_Int remain active over the processes (each frame is drawn as if the graph of a process it was).
Note:
A limit of 512 simultaneous texts in screen exists, if it were reached, the program would stop immediately generating an error.
|