Difference between revisions of "Unit Console"

From Ultibo.org
Jump to: navigation, search
Line 25: Line 25:
 
----
 
----
  
'''Initialization Functions'''
+
 
 +
'''Initialization functions'''
  
 
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;">
 
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;">
Line 39: Line 40:
 
<br />
 
<br />
  
'''Console Functions'''
+
'''Console functions'''
  
 
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;">
 
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;">

Revision as of 06:05, 26 July 2016

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

procedure ConsoleInit;

Description To be documented


Console functions

function ConsoleDeviceOpen(Console:PConsoleDevice):LongWord;

Description To be documented


function ConsoleDeviceClose(Console:PConsoleDevice):LongWord;

Description To be documented


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

Description To be documented


function ConsoleDeviceClose(Console:PConsoleDevice):LongWord;

Description To be documented


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

Description To be documented


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

Description To be documented


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

Description To be documented


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

Description To be documented


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

Description To be documented


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

Description To be documented


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

Description To be documented


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

Description To be documented


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

Description To be documented


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

Description To be documented


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

Description To be documented


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

Description To be documented


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

Description To be documented


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

Description To be documented


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

Description To be documented


function ConsoleDeviceGetMode(Console:PConsoleDevice):LongWord;

Description To be documented


function ConsoleDeviceGetState(Console:PConsoleDevice):LongWord;

Description To be documented


function ConsoleDeviceCreate:PConsoleDevice;

Description Create a new Console entry
Return Pointer to new Console entry or nil if Console could not be created


function ConsoleDeviceCreateEx(Size:LongWord):PConsoleDevice;

Description Create a new Console entry
Size Size in bytes to allocate for new Console (Including the Console entry)
Return Pointer to new Console entry or nil if Console could not be created


function ConsoleDeviceDestroy(Console:PConsoleDevice):LongWord;

Description Destroy an existing Console entry


function ConsoleDeviceRegister(Console:PConsoleDevice):LongWord;

Description Register a new Console in the Console table


function ConsoleDeviceDeregister(Console:PConsoleDevice):LongWord;

Description Deregister a Console from the Console table


function ConsoleDeviceFind(ConsoleId:LongWord):PConsoleDevice;

Description To be documented


function ConsoleDeviceFindByDevice(Device:PDevice):PConsoleDevice;

Description To be documented


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

Description To be documented


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

Description To be documented


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

Description To be documented


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

Description To be documented



Return to Unit Reference