You've already forked lazarus-ccr
tvplanit: Remove some old debugging code from DayViewPainter
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4833 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -711,9 +711,6 @@ var
|
||||
EventArray: TVpDvEventArray;
|
||||
EventList: TList;
|
||||
IconRect: TRect;
|
||||
{$IFDEF DEBUGDV}
|
||||
SL : TStringList;
|
||||
{$ENDIF}
|
||||
|
||||
procedure VerifyMaxWidthDivisors;
|
||||
var
|
||||
@ -858,26 +855,6 @@ begin
|
||||
{Make one last pass, to make sure that we have set up the width divisors properly }
|
||||
VerifyMaxWidthDivisors;
|
||||
|
||||
/////// Debug Code /////////
|
||||
{ Dump a debug report to drive C }
|
||||
{$IFDEF DEBUGDV}
|
||||
SL := TStringList.Create;
|
||||
try
|
||||
I := 0;
|
||||
while EventArray[I].Event <> nil do begin
|
||||
SL.Add('Description: ' + TVpEvent(EventArray[I].Event).Description
|
||||
+ #13#10 + ' Level: ' + IntToStr(EventArray[I].Level)
|
||||
+ #13#10 + ' OLLevels: ' + IntToStr(EventArray[I].OLLevels)
|
||||
+ #13#10 + ' WidthDivisor: ' + IntToStr(EventArray[I].WidthDivisor));
|
||||
Inc(I);
|
||||
end;
|
||||
SL.SaveToFile('C:\EventList' + IntToStr(Col) + '.txt');
|
||||
finally
|
||||
Sl.Free;
|
||||
end;
|
||||
{$ENDIF}
|
||||
/////// Debug Code /////////
|
||||
|
||||
{ Time to paint 'em. Let's see if we calculated their placements correctly }
|
||||
IconRect := Rect(0, 0, 0, 0);
|
||||
CreateBitmaps;
|
||||
|
Reference in New Issue
Block a user