TVideoDriver

Video driver record

Declaration

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

Description

TVideoDriver record can be used to install a custom video driver, with the SetVideoDriver call.

An explanation of all fields can be found there.