Changeset 179 for branches/highdpi/LocalPlayer/Rates.pas
- Timestamp:
- Jun 23, 2019, 9:12:54 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/Rates.pas
r61 r179 29 29 RatesDlg: TRatesDlg; 30 30 31 31 32 implementation 32 33 33 34 uses 34 ClientTools, Term, Tribes ;35 ClientTools, Term, Tribes, UDpiControls; 35 36 36 37 {$R *.lfm} … … 95 96 GlowFrame(Offscreen, ClientWidth div 2 - xSizeBig div 2, 52, xSizeBig, 96 97 ySizeBig, Tribe[me].Color); 97 BitBlt(Offscreen.Canvas.Handle, ClientWidth div 2 - xSizeBig div 2, 52,98 DpiBitBlt(Offscreen.Canvas.Handle, ClientWidth div 2 - xSizeBig div 2, 52, 98 99 xSizeBig, ySizeBig, BigImp.Canvas.Handle, (woLiberty mod 7) * xSizeBig, 99 100 (woLiberty div 7 + SystemIconLines) * ySizeBig, SRCCOPY); … … 122 123 begin 123 124 for i := 0 to current div 8 - 1 do 124 BitBlt(Handle, x + max - 8 - i * 8, y, 8, 7,125 DpiBitBlt(Handle, x + max - 8 - i * 8, y, 8, 7, 125 126 GrExt[HGrSystem].Data.Canvas.Handle, 104, 9 + 8 * 2, SRCCOPY); 126 BitBlt(Handle, x + max - current, y, current - 8 * (current div 8), 7,127 DpiBitBlt(Handle, x + max - current, y, current - 8 * (current div 8), 7, 127 128 GrExt[HGrSystem].Data.Canvas.Handle, 104, 9 + 8 * 2, SRCCOPY); 128 129 Brush.Color := $000000;
Note:
See TracChangeset
for help on using the changeset viewer.