Units
Class Hierarchy
Classes, Interfaces, Objects and Records
Types
Variables
Constants
Functions and Procedures
Identifiers
Unit dependency graph
Console - Provides Screen/Window management & drawing.
Console
procedure init();
procedure clear();
procedure setdefaultattribute(attribute : uint32);
procedure disable_cursor;
procedure writechar(character : char);
procedure writecharln(character : char);
procedure writecharex(character : char; attributes: uint32);
procedure writecharlnex(character : char; attributes: uint32);
procedure Output(identifier : PChar; str : PChar);
procedure Outputln(identifier : PChar; str : PChar);
procedure writestring(str: PChar);
procedure writestringln(str: PChar);
procedure writestringex(str: PChar; attributes: uint32);
procedure writestringlnex(str: PChar; attributes: uint32);
procedure writeint(i: Integer);
procedure writeintln(i: Integer);
procedure writeintex(i: Integer; attributes: uint32);
procedure writeintlnex(i: Integer; attributes: uint32);
procedure writehexpair(b : uint8);
procedure writehex(i: DWORD);
procedure writehexln(i: DWORD);
procedure writehexex(i : DWORD; attributes: uint32);
procedure writehexlnex(i: DWORD; attributes: uint32);
procedure writebin8(b : uint8);
procedure writebin8ln(b : uint8);
procedure writebin8ex(b : uint8; attributes: uint32);
procedure writebin8lnex(b : uint8; attributes: uint32);
procedure writebin16(b : uint16);
procedure writebin16ln(b : uint16);
procedure writebin16ex(b : uint16; attributes: uint32);
procedure writebin16lnex(b : uint16; attributes: uint32);
procedure writebin32(b : uint32);
procedure writebin32ln(b : uint32);
procedure writebin32ex(b : uint32; attributes: uint32);
procedure writebin32lnex(b : uint32; attributes: uint32);
procedure backspace;
function combinecolors(Foreground, Background : uint16) : uint32;
procedure _increment_x();
procedure _increment_y();
procedure _safeincrement_x();
procedure _safeincrement_y();
procedure _newline();
procedure clearWND(WND : uint32);
procedure clearWNDEx(WND : uint32; attributes : uint32);
procedure writecharWND(character : char; WND : uint32);
procedure writecharlnWND(character : char; WND : uint32);
procedure writecharexWND(character : char; attributes: uint32; WND : uint32);
procedure writecharlnexWND(character : char; attributes: uint32; WND : uint32);
procedure OutputWND(identifier : PChar; str : PChar; WND : uint32);
procedure OutputlnWND(identifier : PChar; str : PChar; WND : uint32);
procedure writestringWND(str: PChar; WND : uint32);
procedure writestringlnWND(str: PChar; WND : uint32);
procedure writestringexWND(str: PChar; attributes: uint32; WND : uint32);
procedure writestringlnexWND(str: PChar; attributes: uint32; WND : uint32);
procedure writeintWND(i: Integer; WND : uint32);
procedure writeintlnWND(i: Integer; WND : uint32);
procedure writeintexWND(i: Integer; attributes: uint32; WND : uint32);
procedure writeintlnexWND(i: Integer; attributes: uint32; WND : uint32);
procedure writehexpairWND(b : uint8; WND : uint32);
procedure writehexpairExWND(b : uint8; Attributes : uint32; WND : uint32);
procedure writehexWND(i: DWORD; WND : uint32);
procedure writehexlnWND(i: DWORD; WND : uint32);
procedure writehexexWND(i : DWORD; attributes: uint32; WND : uint32);
procedure writehexlnexWND(i: DWORD; attributes: uint32; WND : uint32);
procedure writebin8WND(b : uint8; WND : uint32);
procedure writebin8lnWND(b : uint8; WND : uint32);
procedure writebin8exWND(b : uint8; attributes: uint32; WND : uint32);
procedure writebin8lnexWND(b : uint8; attributes: uint32; WND : uint32);
procedure writebin16WND(b : uint16; WND : uint32);
procedure writebin16lnWND(b : uint16; WND : uint32);
procedure writebin16exWND(b : uint16; attributes: uint32; WND : uint32);
procedure writebin16lnexWND(b : uint16; attributes: uint32; WND : uint32);
procedure writebin32WND(b : uint32; WND : uint32);
procedure writebin32lnWND(b : uint32; WND : uint32);
procedure writebin32exWND(b : uint32; attributes: uint32; WND : uint32);
procedure writebin32lnexWND(b : uint32; attributes: uint32; WND : uint32);
procedure backspaceWND(WND : uint32);
procedure setCursorPosWND(x : uint32; y : uint32; WND : HWND);
procedure _increment_x_WND(WND : uint32);
procedure _increment_y_WND(WND : uint32);
procedure _safeincrement_y_WND(WND : uint32);
procedure _safeincrement_x_WND(WND : uint32);
procedure _newlineWND(WND : uint32);
procedure outputChar(c : char; x : uint8; y : uint8; fgcolor : uint16; bgcolor : uint16);
procedure outputCharToScreenSpace(c : char; x : uint32; y : uint32; fgcolor : uint16);
procedure outputCharTransparent(c : char; x : uint8; y : uint8; fgcolor : uint16);
function getPixel(x : uint32; y : uint32) : uint16;
procedure drawPixel(x : uint32; y : uint32; color : uint16);
function getPixel32(x : uint32; y : uint32) : uint32;
procedure drawPixel32(x : uint32; y : uint32; pixel : uint32);
function getPixel64(x : uint32; y : uint32) : uint64;
procedure drawPixel64(x : uint32; y : uint32; pixel : uint64);
procedure setMousePosition(x : uint32; y : uint32);
procedure redrawWindows;
procedure toggleWNDVisible(WND : uint32);
procedure setWNDVisible(WND : uint32; visible : boolean);
procedure closeAllWindows;
function newWindow(x : uint32; y : uint32; Width : uint32; Height : uint32; Title : PChar) : HWND;
function registerEventHandler(WND : HWND; Event : TEventType; Handler : void) : boolean;
procedure forceQuitAll;
procedure closeWindow(WND : HWND);
procedure bordersEnabled(WND : HWND; enabled : boolean);
procedure SetShellWindow(WND : HWND; b : boolean);
function getWindowName(WND : HWND) : pchar;
procedure mouseEnabled(b : boolean);
procedure _MouseDown();
procedure _MouseUp();
procedure _MouseClick(left : boolean);
procedure setWindowColors(colors : uint32);
function getWindowColorPtr : puint32;
TColor = (...);
TEventType = (...);
MAX_WINDOWS = 255;
DefaultWND = 0;
Initialize the Frame Buffer & Window Manager ready for use.
Clear the Frame Buffer.
Clear
Set the default set of attributes to be used when drawing to the screen.
Warning: this symbol is deprecated.
Text mode only! - Disable the cursor/text-caret.
Write a single 8-bit character to the screen.
Write a single 8-bit character to the screen, followed by starting a new line.
Write a single 8-bit character to the screen, specifying custom color attributes.
Write a single 8-bit character to the screen, followed by starting a new line, specifying custom color attributes.
Simple console write for debugging.
output
Simple console writeln for debugging.
Write a NULL terminated string to the console.
Write a NULL terminated string to the console, followed by a new-line.
Write a NULL terminated string to the console, with the specified attributes.
Write a NULL terminated string + new-line to the console, with the specified attributes.
Write a 32-bit value to the console.
Write a 32-bit value to the console followed by a new-line.
Write a 32-bit value to the console, with the specified attributes.
Write a 32-bit value + new-line to the console, with the specified attributes.
Write an 8-bit Hex Pair to the console.
Write a 32-bit value as Hex Pairs to the console.
Write a 32-bit value as Hex Pairs to the console, followed by a new-line.
Write a 32-bit value as Hex Pairs to the console, with the specified attributes.
Write a 32-bit value as Hex Pairs + new-line to the console, with the specified attributes.
Write an 8-bit value as binary to the console.
Write an 8-bit value as binary to the console, followed by a new-line.
Write an 8-bit value as binary to the console, with the specified attributes.
Write an 8-bit value as binary + new-line to the console, with the specified attributes.
Write a 16-bit value as binary to the console.
Write an 16-bit value as binary to the console, followed by a new-line.
Write a 16-bit value as binary to the console, with the specified attributes.
Write a 16-bit value as binary + new-line to the console, with the specified attributes.
Write a 32-bit value as binary to the console.
Write an 32-bit value as binary to the console, followed by a new-line.
Write a 32-bit value as binary to the console, with the specified attributes.
Write a 32-bit value as binary + new-line to the console, with the specified attributes.
Move the caret back 1 position and remove the character within the cell the caret occupies.
Combine two 16-bit values representing Foreground and Background respectively, into a 32-bit value representing an attribute.
A 32-bit value representing an attribute set. (uint32)
Increment the cursor one cell to the right (x+1).
Increment the cursor one cell down (y+1).
Increment the cursor one cell to the right (x+1), wrapping to the next line and performing a Y-Axis scroll when when needed.
Increment the cursor one cell down (y+1), performing a Y-Axis roll when when needed.
Increment the cursor one cell down and reposition it at the first X Cell (y+1, x=0),performing a Y-Axis scroll when needed.
Clear a Window Canvas.
Clear a Window Canvas, with the specified attributes.
Write an ASCII character to a specified Window.
Write a single 8-bit character to a Window, followed by starting a new line.
Write a single 8-bit character to a Window, specifying custom color attributes.
Write a single 8-bit character to a Window, followed by starting a new line, specifying custom color attributes.
Simple console write for debugging to a Window.
Simple console writeln for debugging to a Window.
Write a NULL terminated string to a Window.
Write a NULL terminated string to a Window, followed by a new-line.
Write a NULL terminated string to a Window, with the specified attributes.
Write a NULL terminated string + new-line to a Window, with the specified attributes.
Write a 32-bit value to a Window.
Write a 32-bit value to a Window followed by a new-line.
Write a 32-bit value to a Window, with the specified attributes.
Write a 32-bit value + new-line to a Window, with the specified attributes.
Write an 8-bit Hex Pair to a Window.
Write an 8-bit Hex Pair to a Window, with the specified attributes.
Write a 32-bit value as Hex Pairs to a Window.
Write a 32-bit value as Hex Pairs to a Window, followed by a new-line.
Write a 32-bit value as Hex Pairs to a Window, with the specified attributes.
Write a 32-bit value as Hex Pairs + new-line to a Window, with the specified attributes.
Write an 8-bit value as binary to a Window.
Write an 8-bit value as binary to a Window, followed by a new-line.
Write an 8-bit value as binary to a Window, with the specified attributes.
Write an 8-bit value as binary + new-line to a Window, with the specified attributes.
Write a 16-bit value as binary to a Window.
Write an 16-bit value as binary to a Window, followed by a new-line.
Write a 16-bit value as binary to a Window, with the specified attributes.
Write a 16-bit value as binary + new-line to a Window, with the specified attributes.
Write a 32-bit value as binary to a Window.
Write an 32-bit value as binary to a Window, followed by a new-line.
Write a 32-bit value as binary to a Window, with the specified attributes.
Write a 32-bit value as binary + new-line to a Window, with the specified attributes.
Move a caret belonging to a Window back 1 position and remove the character within the cell the caret occupies.
Set the caret belonging to a Window to a specified position.
Increment the cursor within a Window one cell to the right (x+1).
Increment the cursor within a Window one cell down (y+1).
Increment the cursor within a Window one cell to the right (x+1), wrapping to the next line and performing a Y-Axis scroll when when needed.
Increment the cursor within a Window one cell down and reposition it at the first X Cell (y+1, x=0),performing a Y-Axis scroll when needed.
Draw an ASCII char to raw screen space conforming to cell constraints.
Draw an ASCII char to raw screen space.
Draw an ASCII char without a background to raw screen space conforming to cell constraints.
Get 16-bits of pixel information from the screen position(x,y).
16-bits of Pixel Information
Draw 16-bits of pixel information at the screen position(x,y).
Get 32-bits of pixel information from the screen position(x,y).
32-bits of Pixel Information
Draw 32-bits of pixel information at the screen position(x,y).
Get 64-bits of pixel information from the screen position(x,y).
64-bits of Pixel Information
Draw 64-bits of pixel information at the screen position(x,y).
Set the position of the mouse cursor relative to screen space.
Redraw all of the Window adhearing to Z-Order.
Toggle the visibility of a Window.
Change a Windows visibility.
True
False
Close all open Windows and release handles.
Spawn a new Window at cell(x,y) with specified Width, Height and Title. @retruns(A 32-bit Handle for the new Window.)
Register an Event Handler to a Window
True for success False for failure.
Forcefully close all Windows
Close a Window specified by its Handle
Enable or disable the drawing of the borders surrounding a Window.
Set a specified Window as a Shell Window (Window cannot be moved or closed).
Get the title of a specified Window.
NULL Terminated PChar.
Enable or disable the mouse.
Callback for a MouseDown event.
Callback for a MouseUp event.
Callback for a MouseClick event.
Set the attributes used for drawing the border around Windows.
Get a Pointer to the attribute used for Window Borders.
A 32-bit pointer to the Borders Attribute.
4-bit nibble representing a color.
Window Manager Events.
Maximum number of Windows open.
The Window assigned for output when no Window is specified. (Default).