Ignore:
Timestamp:
Dec 3, 2023, 11:28:08 AM (5 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/Diagram.pas

    r460 r468  
    55
    66uses
    7   BaseWin, LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms,
    8   ButtonB, Menus;
     7  BaseWin, LCLIntf, LCLType, SysUtils, Classes, ButtonB,
     8{$IFDEF DPI}Dpi.Graphics, Dpi.Controls, Dpi.Forms, Dpi.Menus{$ELSE}
     9Graphics, Controls, Forms, Menus{$ENDIF};
    910
    1011type
     
    6061  Canvas.Brush.Color := $000000;
    6162  Canvas.FillRect(Rect(Left, Top, Left + Width, Top + 200));
    62   Canvas.Brush.Style := bsClear;
     63  Canvas.Brush.Style := TBrushStyle.bsClear;
    6364    ScreenTools.Frame(Canvas, Left - 1, Top - 1, Left + Width, Top + 200,
    6465      MainTexture.ColorBevelShade, MainTexture.ColorBevelLight);
     
    202203      Brush.Color := $000000;
    203204      FillRect(Rect(0, 0, InnerWidth, InnerHeight));
    204       Brush.Style := bsClear;
     205      Brush.Style := TBrushStyle.bsClear;
    205206      Pen.Color := $606060;
    206207      MoveTo(Border, InnerHeight - Border);
Note: See TracChangeset for help on using the changeset viewer.