Unit Console

From Ultibo.org
Revision as of 06:05, 26 July 2016 by Ultibo (Talk | contribs)

Jump to: navigation, search

Return to Unit Reference


Description


To be documented

Constants


To be documented

Type definitions


To be documented

Public variables


To be documented

Function declarations



Initialization functions

[Expand]

procedure ConsoleInit;


Console functions

[Expand]

function ConsoleDeviceOpen(Console:PConsoleDevice):LongWord;


[Expand]

function ConsoleDeviceClose(Console:PConsoleDevice):LongWord;


[Expand]

function ConsoleDeviceClear(Console:PConsoleDevice;Color:LongWord):LongWord;


[Expand]

function ConsoleDeviceClose(Console:PConsoleDevice):LongWord;


[Expand]

function ConsoleDeviceScroll(Console:PConsoleDevice;X1,Y1,X2,Y2,Count,Direction:LongWord):LongWord;


[Expand]

function ConsoleDeviceDrawBox(Console:PConsoleDevice;X1,Y1,X2,Y2,Color,Width:LongWord):LongWord;


[Expand]

function ConsoleDeviceDrawLine(Console:PConsoleDevice;X1,Y1,X2,Y2,Color,Width:LongWord):LongWord;


[Expand]

function ConsoleDeviceDrawChar(Console:PConsoleDevice;Handle:TFontHandle;Ch:Char;X,Y,Forecolor,Backcolor:LongWord):LongWord;


[Expand]

function ConsoleDeviceDrawText(Console:PConsoleDevice;Handle:TFontHandle;const Text:String;X,Y,Forecolor,Backcolor,Len:LongWord):LongWord;


[Expand]

function ConsoleDeviceDrawPixel(Console:PConsoleDevice;X,Y,Color:LongWord):LongWord;


[Expand]

function ConsoleDeviceDrawBlock(Console:PConsoleDevice;X1,Y1,X2,Y2,Color:LongWord):LongWord;


[Expand]

function ConsoleDeviceDrawImage(Console:PConsoleDevice;X,Y:LongWord;Buffer:Pointer;Width,Height,Format,Skip:LongWord):LongWord;


[Expand]

function ConsoleDeviceDrawWindow(Console:PConsoleDevice;Handle:TWindowHandle):LongWord;


[Expand]

function ConsoleDeviceGetPixel(Console:PConsoleDevice;X,Y:LongWord;var Color:LongWord):LongWord;


[Expand]

function ConsoleDeviceGetImage(Console:PConsoleDevice;X,Y:LongWord;Buffer:Pointer;Width,Height,Format,Skip:LongWord):LongWord;


[Expand]

function ConsoleDeviceCopyImage(Console:PConsoleDevice;const Source,Dest:TConsolePoint;Width,Height:LongWord):LongWord;


[Expand]

function ConsoleDeviceGetPosition(Console:PConsoleDevice;Position:LongWord;var X1,Y1,X2,Y2:LongWord):LongWord;


[Expand]

function ConsoleDeviceGetProperties(Console:PConsoleDevice;Properties:PConsoleProperties):LongWord;


[Expand]

function ConsoleDeviceCheckFlag(Console:PConsoleDevice;Flag:LongWord):Boolean;


[Expand]

function ConsoleDeviceGetMode(Console:PConsoleDevice):LongWord;


[Expand]

function ConsoleDeviceGetState(Console:PConsoleDevice):LongWord;


[Expand]

function ConsoleDeviceCreate:PConsoleDevice;


[Expand]

function ConsoleDeviceCreateEx(Size:LongWord):PConsoleDevice;


[Expand]

function ConsoleDeviceDestroy(Console:PConsoleDevice):LongWord;


[Expand]

function ConsoleDeviceRegister(Console:PConsoleDevice):LongWord;


[Expand]

function ConsoleDeviceDeregister(Console:PConsoleDevice):LongWord;


[Expand]

function ConsoleDeviceFind(ConsoleId:LongWord):PConsoleDevice;


[Expand]

function ConsoleDeviceFindByDevice(Device:PDevice):PConsoleDevice;


[Expand]

function ConsoleDeviceFindByName(const Name:String):PConsoleDevice; inline;


[Expand]

function ConsoleDeviceFindByDescription(const Description:String):PConsoleDevice; inline;


[Expand]

function ConsoleDeviceEnumerate(Callback:TConsoleEnumerate;Data:Pointer):LongWord;


[Expand]

function ConsoleDeviceNotification(Console:PConsoleDevice;Callback:TConsoleNotification;Data:Pointer;Notification,Flags:LongWord):LongWord;



Return to Unit Reference