[Overview][Constants][Types][Procedures and functions][Variables] |
Video driver record
Source position: videoh.inc line 28
type TVideoDriver = record |
InitDriver: procedure; |
DoneDriver: procedure; |
UpdateScreen: procedure( |
Force: Boolean |
); |
ClearScreen: procedure; |
SetVideoMode: function( |
const Mode: TVideoMode |
):Boolean; |
GetVideoModeCount: function: Word; |
GetVideoModeData: function( |
Index: Word; |
var Data: TVideoMode |
):Boolean; |
SetCursorPos: procedure( |
NewCursorX: Word; |
NewCursorY: Word |
); |
GetCursorType: function: Word; |
SetCursorType: procedure( |
NewType: Word |
); |
GetCapabilities: function: Word; |
end; |
TVideoDriver record can be used to install a custom video driver, with the SetVideoDriver call.
An explanation of all fields can be found there.