Ignore:
Timestamp:
Jan 7, 2024, 10:24:51 PM (10 months ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
  • Added: High DPI aware SetWindowPos function.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Select.pas

    r518 r522  
    88  SysUtils, Classes, ButtonB, ButtonBase, Types,
    99  {$IFDEF DPI}Dpi.Graphics, Dpi.Controls, Dpi.Forms, Dpi.ExtCtrls, Dpi.Menus,
    10   System.UITypes{$ELSE}
     10  Dpi.Common, System.UITypes{$ELSE}
    1111  Graphics, Controls, Forms, ExtCtrls, Menus{$ENDIF};
    1212
     
    11151115            for dx := -2 to 2 do
    11161116              for dy := -2 to 2 do
    1117                 if abs(dx) + abs(dy) = 2 then
     1117                if Abs(dx) + Abs(dy) = 2 then
    11181118                begin
    11191119                  Loc1 := dLoc(MyCity[cixProject].Loc, dx, dy);
Note: See TracChangeset for help on using the changeset viewer.