Libraries
Text Source Code
 previous   up   next 

Types
text
Interface type for line/column oriented files.

text

const type: text

Interface type for line/column oriented files. The text interface is implemented with console_file, graph_file, window_file, pixmapFontFile, striText and many other types.


Function Summary
integer
height (in text: aText)
Get the height of aText.
integer
width (in text: aTExt)
Get the width of aText.
integer
line (in text: aText)
Determine the current line of aText.
integer
column (in text: aText)
Determine the current column of aText.
void
clear (inout text: aText, in integer: upper, in integer: left, in integer: lower, in integer: right)
Clear an area of aText with the background color.
void
clear (inout text: aText)
Clear the area of aText with the background color.
void
color (inout text: aText, in color: foreground)
Set the current foreground color of aText.
void
color (inout text: aText, in color: foreground, in color: background)
Set the current foreground and background color of aText.
void
setPos (inout text: aText, in integer: line, in integer: column)
Set the current position of aText to line and column.
void
setPosXY (inout text: aText, in integer: xPos, in integer: yPos)
Set the current position of aText to the coordinates (xPos, yPos).
void
setLine (inout text: aText, in integer: line)
Set the line of the current position of aText.
void
setColumn (inout text: aText, in integer: column)
Set the column of the current position of aText.

Function Detail

height

const func integer: height (in text: aText)

Get the height of aText.

Returns:
the height of aText.

width

const func integer: width (in text: aTExt)

Get the width of aText.

Returns:
the width of aText.

line

const func integer: line (in text: aText)

Determine the current line of aText.

Returns:
the current line of aText.

column

const func integer: column (in text: aText)

Determine the current column of aText.

Returns:
the current column of aText.

clear

const proc: clear (inout text: aText, in integer: upper, in integer: left, in integer: lower, in integer: right)

Clear an area of aText with the background color. The area is specified in (line, column) coordinates and is between the (upper, left) and (lower, right).


clear

const proc: clear (inout text: aText)

Clear the area of aText with the background color.


color

const proc: color (inout text: aText, in color: foreground)

Set the current foreground color of aText.


color

const proc: color (inout text: aText, in color: foreground, in color: background)

Set the current foreground and background color of aText.


setPos

const proc: setPos (inout text: aText, in integer: line, in integer: column)

Set the current position of aText to line and column.


setPosXY

const proc: setPosXY (inout text: aText, in integer: xPos, in integer: yPos)

Set the current position of aText to the coordinates (xPos, yPos).


setLine

const proc: setLine (inout text: aText, in integer: line)

Set the line of the current position of aText.


setColumn

const proc: setColumn (inout text: aText, in integer: column)

Set the column of the current position of aText.



 previous   up   next