Yellow snow
This commit is contained in:
parent
9338bf2915
commit
3bae11f13b
|
@ -310,8 +310,6 @@ Begin
|
||||||
|
|
||||||
SetTextAttr(OldAttr);
|
SetTextAttr(OldAttr);
|
||||||
CursorXY (OldX, OldY);
|
CursorXY (OldX, OldY);
|
||||||
|
|
||||||
BufFlush;
|
|
||||||
End;
|
End;
|
||||||
|
|
||||||
Procedure TOutputCRT.WriteXYPipe (X, Y, Attr, Pad: Integer; Text: String);
|
Procedure TOutputCRT.WriteXYPipe (X, Y, Attr, Pad: Integer; Text: String);
|
||||||
|
|
|
@ -588,7 +588,7 @@ Var
|
||||||
CountX : Byte;
|
CountX : Byte;
|
||||||
CountY : Byte;
|
CountY : Byte;
|
||||||
BufPos : Integer;
|
BufPos : Integer;
|
||||||
TempBuf : Array[1..SizeOf(TConsoleScreenRec) DIV 4] of LongInt Absolute Image.Data;
|
TempBuf : Array[1..SizeOf(TConsoleScreenRec) DIV 2] of LongInt Absolute Image.Data;
|
||||||
Begin
|
Begin
|
||||||
BufSize.X := Image.X2 - Image.X1 + 1;
|
BufSize.X := Image.X2 - Image.X1 + 1;
|
||||||
BufSize.Y := Image.Y2 - Image.Y1 + 1;
|
BufSize.Y := Image.Y2 - Image.Y1 + 1;
|
||||||
|
@ -697,33 +697,13 @@ Begin
|
||||||
End;
|
End;
|
||||||
|
|
||||||
Function TOutputWindows.ReadCharXY (X, Y: Byte) : Char;
|
Function TOutputWindows.ReadCharXY (X, Y: Byte) : Char;
|
||||||
//Var
|
|
||||||
// Coord : TCoord;
|
|
||||||
// WasRead : ULong;
|
|
||||||
Begin
|
Begin
|
||||||
// Coord.X := X;
|
|
||||||
// Coord.Y := Y - 1;
|
|
||||||
|
|
||||||
// should use buffer instead
|
|
||||||
|
|
||||||
// ReadConsoleOutputCharacter(ConOut, @Result, 1, Coord, WasRead);
|
|
||||||
|
|
||||||
Result := Buffer[Y][X].UnicodeChar;
|
Result := Buffer[Y][X].UnicodeChar;
|
||||||
End;
|
End;
|
||||||
|
|
||||||
Function TOutputWindows.ReadAttrXY (X, Y: Byte) : Byte;
|
Function TOutputWindows.ReadAttrXY (X, Y: Byte) : Byte;
|
||||||
//Var
|
|
||||||
// Coord : TCoord;
|
|
||||||
// WasRead : ULong;
|
|
||||||
Begin
|
Begin
|
||||||
// Coord.X := X;
|
|
||||||
// Coord.Y := Y - 1;
|
|
||||||
|
|
||||||
// should use buffer instead
|
|
||||||
|
|
||||||
Result := Buffer[Y][X].Attributes;
|
Result := Buffer[Y][X].Attributes;
|
||||||
|
|
||||||
// ReadConsoleOutputAttribute(ConOut, @Result, 1, Coord, WasRead);
|
|
||||||
End;
|
End;
|
||||||
|
|
||||||
Procedure TOutputWindows.BufFlush;
|
Procedure TOutputWindows.BufFlush;
|
||||||
|
|
Loading…
Reference in New Issue