Ignore:
Timestamp:
May 23, 2020, 12:55:52 AM (4 years ago)
Author:
chronos
Message:
  • Fixed: Build DpiScrollDC under Linux.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/highdpi/LocalPlayer/Term.pas

    r252 r254  
    41904190    offscreen.Canvas.Font.Assign(UniFont[ftSmall]);
    41914191    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,
    41934193      rec, rec, 0, nil);
    41944194    for DoInvalidate := false to FastScrolling do
     
    41974197      begin
    41984198        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,
    42004200          rec, 0, nil);
    42014201        ProcessOptions := prInvalidate;
Note: See TracChangeset for help on using the changeset viewer.