Ignore:
Timestamp:
Apr 26, 2012, 9:12:02 AM (13 years ago)
Author:
chronos
Message:
  • Added: CoolDocking text logging support.
  • Added: CoolDocking update locking on TCDManager descendants update. This fixes tab disappear if tab with regions style conjoinform was switched to another tab.
  • Modified: CoolDocking regions style item layout changed to support aligned forms. Only one region is aligned as alClient. Rest contained regions are aligned to borders.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Docking/CoolDocking/UCDCommon.pas

    r218 r354  
    11unit UCDCommon;
    22
    3 {$mode objfpc}{$H+}
     3{$mode delphi}{$H+}
    44
    55interface
     
    7676function GetUniqueName(BaseName: string): string;
    7777function HeaderPosToTabPos(HeaderPos: THeaderPos): TTabPosition;
     78procedure DebugLog(Text: string); inline;
    7879
    7980implementation
     
    8182var
    8283  UniqueNameCounter: Integer;
     84
     85procedure DebugLog(Text: string); inline;
     86begin
     87  //{$IFDEF DEBUG_COOLDOCK}
     88  WriteLn(FormatDateTime('hh:nn:ss.zzz', Time) + ' ' + Text);
     89  //{$ENDIF}
     90end;
    8391
    8492function GetUniqueName(BaseName: string): string;
Note: See TracChangeset for help on using the changeset viewer.