Ignore:
Timestamp:
Nov 30, 2023, 10:16:14 PM (5 months ago)
Author:
chronos
Message:
  • Modified: Updated high dpi branch from trunk.
  • Modified: Use generics.collections instead of fgl.
  • Modified: Compile with Delphi syntax.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/highdpi/Back.pas

    r349 r465  
    5151begin
    5252  if Assigned(Img) then
    53     DpiBitCanvas(Canvas, DpiScreen.Width - Img.Width - (DpiScreen.Width - 800) *
     53    DpiBitBltCanvas(Canvas, DpiScreen.Width - Img.Width - (DpiScreen.Width - 800) *
    5454      3 div 8, (DpiScreen.Height - 600) div 3, Img.Width, Img.Height,
    5555      Img.Canvas, 0, 0);
     
    7070      if FileExists(FileName) then begin
    7171        Img := TDpiBitmap.Create;
    72         LoadGraphicFile(img, FileName);
     72        LoadGraphicFile(Img, FileName);
     73        Repaint;
    7374      end;
    7475    end;
Note: See TracChangeset for help on using the changeset viewer.