Ignore:
Timestamp:
May 9, 2020, 4:02:07 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Improved HighDPI branch. Imported new changes from trunk branch.
File:
1 edited

Legend:

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

    r179 r210  
    55
    66uses
    7   ScreenTools, BaseWin, Protocol, ClientTools, Term, LCLIntf, LCLType,
     7  UDpiControls, ScreenTools, BaseWin, Protocol, ClientTools, Term, LCLIntf, LCLType,
    88
    99  SysUtils, Classes, Graphics, Controls, Forms,
     
    4545  EnhanceDlg: TEnhanceDlg;
    4646
    47 
    4847implementation
    4948
    50 uses
    51   Help, UDpiControls;
     49uses Help;
    5250
    5351{$R *.lfm}
     
    9896  for i := 0 to ControlCount - 1 do
    9997    if Controls[i] is TButtonC then
    100       DpiBitBlt(Canvas.Handle, Controls[i].Left + 2, Controls[i].Top - 11, 8, 8,
    101         GrExt[HGrSystem].Data.Canvas.Handle, 121 + Controls[i].Tag mod 7 * 9,
    102         1 + Controls[i].Tag div 7 * 9, SRCCOPY);
     98      DpiBitCanvas(Canvas, Controls[i].Left + 2, Controls[i].Top - 11, 8, 8,
     99        GrExt[HGrSystem].Data.Canvas, 121 + Controls[i].Tag mod 7 * 9,
     100        1 + Controls[i].Tag div 7 * 9);
    103101end;
    104102
Note: See TracChangeset for help on using the changeset viewer.