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

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

#ifndef DLinesHPP
#define DLinesHPP
#include <Classes.hpp>
#include <SysInit.hpp>
#include <System.hpp>

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

namespace Dlines
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TRVDrawLineInfo;
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:
	/* TObject.Create */ __fastcall TRVDrawLineInfo(void) : System::TObject() { }
	/* TObject.Destroy */ __fastcall virtual ~TRVDrawLineInfo(void) { }
	
};

typedef System::TMetaClass*TRVDrawLineInfoClass;

class DELPHICLASS TRVDrawLines;
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);
	System::AnsiString __fastcall GetString(int Index, Classes::TStringList* Lines);
	System::AnsiString __fastcall GetSubString(int Index, Classes::TStringList* Lines, int AStartIndex, 
		int ALength);
	System::AnsiString __fastcall GetRightString(int Index, Classes::TStringList* Lines, int AStartIndex
		);
	__property TRVDrawLineInfo* Items[int Index] = {read=Get, write=Put/*, default*/};
public:
	/* TList.Destroy */ __fastcall virtual ~TRVDrawLines(void) { }
	
};

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

}	/* namespace Dlines */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Dlines;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// DLines
