gdi__bounds | rect | Holds the effected rectangle of the attached device in screen coordinates. |
gdi__channels | string/list | The digilines channel/s of the attached device. |
gdi__device | interface | The peripheral interface for the attached device. |
gdi__device_type | string | Type of attached device: "term" "monitor" "printer" |
gdi__stored_bg_color | number/nil | Stored background color. |
gdi__stored_blink | boolean/nil | Stored blink state (cursor is visible). |
gdi__stored_bounds | rect |
Stored bounds rectangle. |
gdi__stored_cursor_x | number/nil | Stored cursor x coordinate, nil when not stored. |
gdi__stored_cursor_y | number/nil | Stored cursor y coordinate, nil when not stored. |
gdi__stored_fg_color | number/nil | Stored foreground color. |
gdi__stored_x_org | number/nil | Stored x coordinate offset for drawing. |
gdi__stored_y_org | number/nil | Stored y coordinate offset for drawing. |
gdi__type | number | Value indicating the type of device. Will be
one of the following: private.GDI_TERM private.GDI_MONITOR private.GDI_PRINTER |
gdi__width | number | Display width for multi-monitor devices. |
gdi__wnd | window/nil | Window this GDI is associated with, nil for printer. |
gdi__x_org | number | x coordinate offset for drawing. |
gdi__y_org | number | y coordinate offset for drawing. |
rt | rect | The rectangle to add to the GDI's bounds, in screen coordinates. |
none |
device_type | string | Type of device. Can be: "term" "monitor" "printer" |
dir | string | Desktop directory under /win/devices
or digilines channel for printers. |
wnd | window/nil | Window object associated with this GDI object, or nil for none. |
width | number |
Display width for multi-monitor devices.
Ignored for others. |
channels | string/list | The digilines channel/s of the attached device. |
gdi | GDI | The instantiated and attached GDI object, or nil on failure. |
gdi | GDI |
The GDI to copy from. |
wnd | window |
The window for this GDI. |
result | boolean |
True if successful, false if not. |
none |
result | boolean |
True if cursor is currently visible, false if
not. |
clear | boolean | Resets the GDI's bounds rectangle to empty if true. If false the rectangle is unaffected. |
rt | rect | A rectangle of the drawing effected bounds of the device in screen coordinates. |
none |
fgcolor | number |
foreground color |
bgcolor | number | background color |
none |
x | number | Horizontal cursor position. |
y | number | Vertical cursor position. |
none |
dir | string | The desktop directory or printer's channel. |
none |
x | number | x coordinate offset for drawing. |
y | number | y coordinate offset for drawing. |
none |
width | number | Drawing width of the device. |
height | number | Drawing height of the device. |
none |
result | boolean | true if associated with a monitor, false if not. |
none |
result | boolean | true if associated with a printer, false if not. |
none |
result | boolean | true if associated with the terminal, false if not. |
channel | string |
Digilines channel of the devices sending the
message. |
msg | any |
The digilines message. |
x |
number/nil | The monitor's x character coordinate touched
or nil if not from this monitor. |
y |
number/nil | The monitor's y character coordinate touched or nil if not from this monitor. |
none |
none |
blink | boolean |
True to display cursor, false to hide. |
none |
fgcolor | number/nil |
The foreground color to set, or nil for no
change. |
bgcolor | number/nil | The background color to set, or nil for no change. |
none |
x | number | Horizontal cursor position. |
y | number | Vertical cursor position. |
none |
device_type | string | Type of device. Can be: "term" "monitor" "printer" |
dir | string | Desktop directory under /win/devices or digilines channel for printers. |
width | number | Display width for multi-monitor devices. Ignored for others. |
channels | string/list | The digilines channel/s of the attached device. |
result |
x | number | x coordinate offset for drawing. |
y | number | y coordinate offset for drawing. |
none |
scale | number | The scale to set (1 to 5). |
none |
none |
none |
none |
none |
x | number | Left position of the rectangle. |
y | number | Top position of the rectangle. |
width | number | Width of the rectangle. |
height | number | Height of the rectangle. |
none |
x | number | Left position of the rectangle. |
y | number | Top position of the rectangle. |
width | number | Width of the rectangle. |
height | number | Height of the rectangle. |
none |
x | number | x coordinate of the pixel (character). |
y | number | y coordinate of the pixel (character). |
color | number | Color to draw the pixel. |
none |
x | number | x coordinate of the pixel (character). |
y | number | y coordinate of the pixel (character). |
color | number | Color to draw the pixel. |
none |
text | string | The text to draw. |
x | number | x coordinate to draw the text. |
y | number | y coordinate to draw the text. |
none |
text | string | The text to draw. |
x | number | x coordinate to draw the text. |
y | number | y coordinate to draw the text. |
none |
none |
none |
none |
level | number/nil | Printer ink level, or nil if the device is not a printer. |
none |
width | number/nil | Drawing width of the page, or nil if not a printer. |
height | number/nil | Drawing height of the page, or nil if not a printer. |
none |
paper |
number/nil | Number of paper pages available, or nil if not a printer. |
none |
status | string/nil | One of: "ready" - the printer is ready to print. "printing" - the printer is currently printing. "no ink" - printer is out of ink. "no paper" - printer is out of paper. "tray full" - printer output tray is full. nil - not a printer or printer didn't respond. |
channel | string |
The digilines channel of the printer. |
gdi |
GDI |
The new GDI object, or nil if failed. |
title | string | The title of the page. If nil or empty string
"untitled" is used. |
pageno | number |
The page number for this page. If > 1 the
page number is append to the title. |
none |