Fenix Manual
Fenix Manual
Command Reference
Text Commands

Delete_Text
Load_Fnt
Move_Text
Text_Height
Text_Width
Write
Write_Float
Write_Int
Write_In_Map
Write_String
Write_Var
Load_Bdf
Text_Color
Save_Fnt

Write_Var
Last Modified: May 29, 2005 11:05AM
(Any)
Description

WRITE_VAR( INT FONT, INT X, INT Y, INT CENTERED, POINTER VAR, INT TYPE)

PARAMETERS:
font: Identifier of the font to use, given back by Load_Fnt or 0 for the system font.
x: X Coordinate of the control point 0 of the text to write.
y: Y Coordinate of the control point 0 of the text to write
trim: Code that it indicates like interpreting the point (x, and) 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.
type: Indicator of the type of variable:
VAR_STRING: 2
VAR_INT: 3
VAR_FLOAT: 4
VAR_BYTE: 5
VAR_WORD: 6

DESCRIPTION:
This function allows you to print the updated value of a variable of any type in the screen.

User Contributed Notes
Write_Var
Add Notes About Notes
There are no user contributed notes for this page.
Last updated: Mon, 30 May 2005 - 10:33:02

Manual © 2005 By Gary Moncrieff(Dazzy), Notes belong to their respective posters