// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'DLines.pas' rev: 4.00

#ifndef DLinesHPP
#define DLinesHPP

#pragma delphiheader begin
#pragma option push -w-
#include <Classes.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Dlines
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TRVDrawLineInfo;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TRVDrawLineInfo : public System::TObject 
{
	typedef System::TObject inherited;
	
public:
	short SpaceBefore;
	int Left;
	int Top;
	int Width;
	int Height;
	int ItemNo;
	int Offs;
	int Length;
	int ExtraSpaceBelow;
	Byte FromNewLine;
	__fastcall TRVDrawLineInfo(int ALeft, int ATop, int AWidth, int AHeight, int AItemNo, Byte AFromNewLine
		);
	virtual void __fastcall SetData(int ALeft, int ATop, int AItemNo, Byte AFromNewLine);
	virtual void __fastcall SetSize(int AWidth, int AHeight);
	DYNAMIC bool __fastcall InitSplit(void);
	DYNAMIC bool __fastcall CanSplitFirst(int Y);
	DYNAMIC bool __fastcall SplitAt(int Y);
public:
	#pragma option push -w-inl
	/* TObject.Create */ inline __fastcall TRVDrawLineInfo(void) : System::TObject() { }
	#pragma option pop
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TRVDrawLineInfo(void) { }
	#pragma option pop
	
};

#pragma pack(pop)

typedef TMetaClass*TRVDrawLineInfoClass;

class DELPHICLASS TRVDrawLines;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TRVDrawLines : public Classes::TList 
{
	typedef Classes::TList inherited;
	
private:
	int FStartDeletedIndex;
	int FDeletedCount;
	HIDESBASE TRVDrawLineInfo* __fastcall Get(int Index);
	HIDESBASE void __fastcall Put(int Index, const TRVDrawLineInfo* Value);
	
public:
	__fastcall TRVDrawLines(void);
	void __fastcall DeleteRange(int Index1, int Index2);
	void __fastcall MarkForDelete(int Index1, int Index2);
	void __fastcall DeleteMarked(void);
	HIDESBASE void __fastcall Insert(int Index, void * Item);
	AnsiString __fastcall GetString(int Index, Classes::TStringList* Lines);
	AnsiString __fastcall GetSubString(int Index, Classes::TStringList* Lines, int AStartIndex, int ALength
		);
	AnsiString __fastcall GetRightString(int Index, Classes::TStringList* Lines, int AStartIndex);
	__property TRVDrawLineInfo* Items[int Index] = {read=Get, write=Put/*, default*/};
public:
	#pragma option push -w-inl
	/* TList.Destroy */ inline __fastcall virtual ~TRVDrawLines(void) { }
	#pragma option pop
	
};

#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------

}	/* namespace Dlines */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Dlines;
#endif
#pragma option pop	// -w-

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// DLines
