Ignore:
Timestamp:
Dec 23, 2023, 1:50:31 PM (12 months ago)
Author:
chronos
Message:
  • Fixed: Non-DPI build.
  • Modified: Code cleanup.
File:
1 edited

Legend:

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

    r501 r502  
    100100{$IFNDEF DPI}
    101101function ScaleToNative(Value: Integer): Integer;
     102function ScaleToNativeDist(Base, Value: Integer): Integer;
    102103function ScaleFromNative(Value: Integer): Integer;
    103104{$ENDIF}
     
    16521653end;
    16531654
     1655function ScaleToNativeDist(Base, Value: Integer): Integer;
     1656begin
     1657  Result := Value;
     1658end;
     1659
    16541660function ScaleFromNative(Value: Integer): Integer;
    16551661begin
Note: See TracChangeset for help on using the changeset viewer.