Ignore:
Timestamp:
Dec 4, 2023, 12:08:50 AM (12 months ago)
Author:
chronos
Message:
  • Fixed: More units uses items corrected for high DPI support.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/CevoComponents/DrawDlg.pas

    r468 r471  
    44
    55uses
    6   {$IFDEF DPI}Dpi.Forms, Dpi.Common,{$ELSE}
    7   Forms,{$ENDIF}
    86  Classes, SysUtils, LCLIntf, LCLType, {$IFDEF UNIX}LMessages,{$ENDIF}
    9   Messages, Graphics, Controls, ButtonBase, ButtonA, ButtonB, Area, ScreenTools
    10   {$IFDEF LCLGTK2}, Gtk2Globals{$ENDIF};
     7  Messages, ButtonBase, ButtonA, ButtonB, Area, ScreenTools
     8  {$IFDEF LCLGTK2}, Gtk2Globals{$ENDIF},
     9  {$IFDEF DPI}Dpi.Forms, Dpi.Common, Dpi.Graphics, Dpi.Controls{$ELSE}
     10  Forms, Graphics, Controls{$ENDIF};
    1111
    1212type
     
    9898  Pos: TPoint;
    9999begin
    100   if BorderStyle <> bsNone then
     100  if BorderStyle <> TBorderStyle.bsNone then
    101101    inherited
    102102  else
     
    252252  Left := (Screen.Width - Width) div 2;
    253253  Canvas.Font.Assign(UniFont[ftNormal]);
    254   Canvas.Brush.Style := bsClear;
     254  Canvas.Brush.Style := TBrushStyle.bsClear;
    255255  MessgText := '';
    256256  TopSpace := 0;
Note: See TracChangeset for help on using the changeset viewer.