mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 20:40:20 +02:00
* Remove useless Unix specific hack.
git-svn-id: trunk@3777 -
This commit is contained in:
parent
5835891a89
commit
18c6d4f4de
@ -885,11 +885,12 @@ procedure TProgram.SetScreenVideoMode(const Mode: TVideoMode);
|
||||
var
|
||||
R: TRect;
|
||||
begin
|
||||
DoneMouse;
|
||||
{ DoneMemory;}
|
||||
hidemouse;
|
||||
{ DoneMouse;
|
||||
DoneMemory;}
|
||||
ScreenMode:=Mode;
|
||||
InitMouse;
|
||||
{ InitMemory;}
|
||||
{ InitMouse;
|
||||
InitMemory;}
|
||||
InitScreen;
|
||||
Video.SetVideoMode(Mode);
|
||||
ScreenWidth:=Video.ScreenWidth;
|
||||
|
@ -828,12 +828,12 @@ VAR
|
||||
{ PRIVATE INTERNAL ROUTINES }
|
||||
{***************************************************************************}
|
||||
|
||||
PROCEDURE ShowMouseCursor;
|
||||
PROCEDURE ShowMouseCursor;inline;
|
||||
BEGIN
|
||||
ShowMouse;
|
||||
END;
|
||||
|
||||
PROCEDURE HideMouseCursor;
|
||||
PROCEDURE HideMouseCursor;inline;
|
||||
BEGIN
|
||||
HideMouse;
|
||||
END;
|
||||
@ -870,7 +870,7 @@ end;
|
||||
|
||||
{---------------------------------------------------------------------------}
|
||||
{ DetectMouse -> Platforms DOS/DPMI/WIN/NT/OS2 - Updated 19May98 LdB }
|
||||
FUNCTION DetectMouse: Byte;
|
||||
FUNCTION DetectMouse: Byte;inline;
|
||||
begin
|
||||
DetectMouse:=Mouse.DetectMouse;
|
||||
end;
|
||||
|
@ -859,7 +859,7 @@ procedure DrawScreenBuf(force:boolean);
|
||||
begin
|
||||
if (GetLockScreenCount=0) then
|
||||
begin
|
||||
If MouseUsesVideoBuf then
|
||||
{ If MouseUsesVideoBuf then
|
||||
begin
|
||||
LockScreenUpdate;
|
||||
HideMouse;
|
||||
@ -867,10 +867,10 @@ begin
|
||||
UnlockScreenUpdate;
|
||||
end
|
||||
else
|
||||
HideMouse;
|
||||
HideMouse;}
|
||||
UpdateScreen(force);
|
||||
If not MouseUsesVideoBuf then
|
||||
ShowMouse;
|
||||
{ If not MouseUsesVideoBuf then
|
||||
ShowMouse;}
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user