Ignore:
Timestamp:
Dec 3, 2023, 11:28:08 AM (6 months ago)
Author:
chronos
Message:
  • Added: High DPI support integrated into trunk branch. It can be enabled by adding DPI define to compiler parameters for main project and packages.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Rates.pas

    r460 r468  
    55
    66uses
    7   Protocol, ScreenTools, BaseWin, LCLIntf, LCLType, SysUtils, Classes, Graphics,
    8   Controls, Forms, ButtonB, ButtonC;
     7  Protocol, ScreenTools, BaseWin, LCLIntf, LCLType, SysUtils, Classes, ButtonB,
     8  ButtonC,
     9  {$IFDEF DPI}Dpi.Graphics, Dpi.Controls, Dpi.Forms{$ELSE}
     10  Graphics, Controls, Forms{$ENDIF};
    911
    1012type
     
    124126      Brush.Color := $000000;
    125127      FillRect(Rect(X, Y, X + Max - current, Y + 7));
    126       Brush.Style := bsClear;
     128      Brush.Style := TBrushStyle.bsClear;
    127129    end;
    128130
Note: See TracChangeset for help on using the changeset viewer.