Changeset 558 for Common/UCommon.pas


Ignore:
Timestamp:
Apr 25, 2022, 6:32:09 PM (3 years ago)
Author:
chronos
Message:
  • Modified: Updated Common package to version 0.10.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Common/UCommon.pas

    r557 r558  
    11unit UCommon;
    2 
    3 {$mode delphi}
    42
    53interface
     
    86  {$IFDEF WINDOWS}Windows,{$ENDIF}
    97  {$IFDEF UNIX}baseunix,{$ENDIF}
    10   Classes, SysUtils, StrUtils, Dialogs, Process, LCLIntf,
     8  Classes, SysUtils, StrUtils, Dialogs, Process, LCLIntf, Graphics,
    119  FileUtil; //, ShFolder, ShellAPI;
    1210
     
    3432  DLLHandle1: HModule;
    3533
    36 {$IFDEF WINDOWS}
    37   GetUserNameEx: procedure (NameFormat: DWORD;
    38     lpNameBuffer: LPSTR; nSize: PULONG); stdcall;
    39 {$ENDIF}
     34  {$IFDEF WINDOWS}
     35    GetUserNameEx: procedure (NameFormat: DWORD;
     36      lpNameBuffer: LPSTR; nSize: PULONG); stdcall;
     37  {$ENDIF}
     38
     39const
     40  clLightBlue = TColor($FF8080);
     41  clLightGreen = TColor($80FF80);
     42  clLightRed = TColor($8080FF);
    4043
    4144function AddLeadingZeroes(const aNumber, Length : integer) : string;
Note: See TracChangeset for help on using the changeset viewer.