home *** CD-ROM | disk | FTP | other *** search
- Unit GVDriver;
-
-
- Interface
-
- Uses MyMouse, Gr, MyFonts, Objects, Drivers, Graph, MetaGr;
-
- { Mouse driver routines }
-
- procedure InitEvents;
- procedure DoneEvents;
- procedure HideMouse;
- procedure ShowMouse;
- procedure GetMouseEvent (var Event: TEvent);
- procedure GetKeyEvent (var Event: TEvent);
- procedure SetCriticalArea (var R: TRect);
- procedure SetCurrentCursor (n: Integer);
-
- { Font routines }
-
- procedure InitFonts;
- procedure DoneFonts;
-
- { Screen routines }
-
- procedure InitVideo;
- procedure DoneVideo;
- procedure SetScreenMode(Mode: Byte);
-
- { System error handler routines }
-
- function SysError (ErrorCode: Integer; Drive: Byte): Integer;
-
- procedure InitSysError;
- procedure DoneSysError;
-
- Const
-
- { System error colors }
-
- BkCol : Byte = Red;
- TextCol1: Byte = White;
- TextCol2: Byte = Yellow;
-
- { Standard Graphics Mode }
-
- StdGrMode: Byte = grVGAHiStd;
-
- { Startup VideoMode }
-
- StartUpMode: Byte = 0;
-
- { Standard mouse cursor }
-
- mcNoCursor = -1;
-
- MCurStandard: Integer = mcStd;
- MCurrent: Integer = mcNoCursor;
-
- Implementation
-