Changeset 210 for branches/highdpi/LocalPlayer/Enhance.pas
- Timestamp:
- May 9, 2020, 4:02:07 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/Enhance.pas
r179 r210 5 5 6 6 uses 7 ScreenTools, BaseWin, Protocol, ClientTools, Term, LCLIntf, LCLType,7 UDpiControls, ScreenTools, BaseWin, Protocol, ClientTools, Term, LCLIntf, LCLType, 8 8 9 9 SysUtils, Classes, Graphics, Controls, Forms, … … 45 45 EnhanceDlg: TEnhanceDlg; 46 46 47 48 47 implementation 49 48 50 uses 51 Help, UDpiControls; 49 uses Help; 52 50 53 51 {$R *.lfm} … … 98 96 for i := 0 to ControlCount - 1 do 99 97 if Controls[i] is TButtonC then 100 DpiBit Blt(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); 103 101 end; 104 102
Note:
See TracChangeset
for help on using the changeset viewer.