Changeset 254 for branches/highdpi/LocalPlayer/Term.pas
- Timestamp:
- May 23, 2020, 12:55:52 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/Term.pas
r252 r254 4190 4190 offscreen.Canvas.Font.Assign(UniFont[ftSmall]); 4191 4191 rec := Rect(0, 0, MapWidth, MapHeight); 4192 DpiScrollDC(offscreen.Canvas .Handle, (xwd - xw) * (xxt * 2), (ywd - yw) * yyt,4192 DpiScrollDC(offscreen.Canvas, (xwd - xw) * (xxt * 2), (ywd - yw) * yyt, 4193 4193 rec, rec, 0, nil); 4194 4194 for DoInvalidate := false to FastScrolling do … … 4197 4197 begin 4198 4198 rec.Bottom := MapHeight - overlap; 4199 DpiScrollDC(Canvas .Handle, (xwd - xw) * (xxt * 2), (ywd - yw) * yyt, rec,4199 DpiScrollDC(Canvas, (xwd - xw) * (xxt * 2), (ywd - yw) * yyt, rec, 4200 4200 rec, 0, nil); 4201 4201 ProcessOptions := prInvalidate;
Note:
See TracChangeset
for help on using the changeset viewer.