Libraries |
|
Text | Source Code |
|
|
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 |
| ||||
integer |
| ||||
integer |
| ||||
integer |
| ||||
void |
| ||||
void |
| ||||
void |
| ||||
void |
| ||||
void |
| ||||
void |
| ||||
void |
| ||||
void |
|
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).
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.
|
|