// CodeGear C++Builder
// Copyright (c) 1995, 2014 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'XBookDrawChart2.pas' rev: 28.00 (Windows)

#ifndef Xbookdrawchart2HPP
#define Xbookdrawchart2HPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.Classes.hpp>	// Pascal unit
#include <System.SysUtils.hpp>	// Pascal unit
#include <Xc12Utils5.hpp>	// Pascal unit
#include <XBook_System_2.hpp>	// Pascal unit
#include <XBookWindows2.hpp>	// Pascal unit
#include <XBookSkin2.hpp>	// Pascal unit

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

namespace Xbookdrawchart2
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TXSSDrwChartData;
#pragma pack(push,4)
class PASCALIMPLEMENTATION TXSSDrwChartData : public System::TObject
{
	typedef System::TObject inherited;
	
protected:
	Xbookskin2::TXLSBookSkin* FSkin;
	
public:
	__fastcall TXSSDrwChartData(Xbookskin2::TXLSBookSkin* ASkin);
	virtual int __fastcall CvtX(const double AX) = 0 ;
	virtual int __fastcall CvtY(const double AY) = 0 ;
	virtual int __fastcall CvtW(const double AW) = 0 ;
	virtual int __fastcall CvtH(const double AH) = 0 ;
public:
	/* TObject.Destroy */ inline __fastcall virtual ~TXSSDrwChartData(void) { }
	
};

#pragma pack(pop)

class DELPHICLASS TXSSDrawObject;
#pragma pack(push,4)
class PASCALIMPLEMENTATION TXSSDrawObject : public System::TObject
{
	typedef System::TObject inherited;
	
protected:
	TXSSDrwChartData* FData;
	
public:
	__fastcall TXSSDrawObject(TXSSDrwChartData* AData);
public:
	/* TObject.Destroy */ inline __fastcall virtual ~TXSSDrawObject(void) { }
	
};

#pragma pack(pop)

class DELPHICLASS TXSSDrwChartLayout;
class PASCALIMPLEMENTATION TXSSDrwChartLayout : public TXSSDrawObject
{
	typedef TXSSDrawObject inherited;
	
private:
	Xc12utils5::PXc12Color __fastcall GetColor(void);
	
protected:
	double FX;
	double FY;
	double FW;
	double FH;
	Xc12utils5::TXc12Color FColor;
	
public:
	__fastcall TXSSDrwChartLayout(TXSSDrwChartData* AData);
	void __fastcall Paint(void);
	__property double X = {read=FX, write=FX};
	__property double Y = {read=FY, write=FY};
	__property double W = {read=FW, write=FW};
	__property double H = {read=FH, write=FH};
	__property Xc12utils5::PXc12Color Color = {read=GetColor};
public:
	/* TObject.Destroy */ inline __fastcall virtual ~TXSSDrwChartLayout(void) { }
	
};


class DELPHICLASS TXSSDrwChartPlotArea;
#pragma pack(push,4)
class PASCALIMPLEMENTATION TXSSDrwChartPlotArea : public TXSSDrawObject
{
	typedef TXSSDrawObject inherited;
	
protected:
	TXSSDrwChartLayout* FLayout;
	
public:
	__fastcall TXSSDrwChartPlotArea(TXSSDrwChartData* AData);
	__fastcall virtual ~TXSSDrwChartPlotArea(void);
	void __fastcall Paint(void);
};

#pragma pack(pop)

class DELPHICLASS TXSSDrwChart;
#pragma pack(push,4)
class PASCALIMPLEMENTATION TXSSDrwChart : public TXSSDrwChartData
{
	typedef TXSSDrwChartData inherited;
	
protected:
	int FX1;
	int FY1;
	int FX2;
	int FY2;
	TXSSDrwChartPlotArea* FPlotArea;
	
public:
	__fastcall TXSSDrwChart(const int AX1, const int AY1, const int AX2, const int AY2);
	__fastcall virtual ~TXSSDrwChart(void);
	void __fastcall Paint(void);
	virtual int __fastcall CvtX(const double AX);
	virtual int __fastcall CvtY(const double AY);
	virtual int __fastcall CvtW(const double AW);
	virtual int __fastcall CvtH(const double AH);
};

#pragma pack(pop)

class DELPHICLASS TXSSDrwChartWin;
class PASCALIMPLEMENTATION TXSSDrwChartWin : public Xbookwindows2::TXSSClientWindow
{
	typedef Xbookwindows2::TXSSClientWindow inherited;
	
private:
	Xc12utils5::PXc12Color __fastcall GetColor(void);
	Xc12utils5::PXc12Color __fastcall GetLineColor(void);
	
protected:
	Xc12utils5::TXc12Color FColor;
	Xc12utils5::TXc12Color FLineColor;
	TXSSDrwChart* FChart;
	
public:
	__fastcall TXSSDrwChartWin(Xbookwindows2::TXSSWindow* AParent);
	__fastcall virtual ~TXSSDrwChartWin(void);
	virtual void __fastcall Paint(void);
	__property Xc12utils5::PXc12Color Color = {read=GetColor};
	__property Xc12utils5::PXc12Color LineColor = {read=GetLineColor};
};


//-- var, const, procedure ---------------------------------------------------
static const int XSSChartColorBackg = int(0xffffff);
static const System::Int8 XSSChartColorLine = System::Int8(0x0);
}	/* namespace Xbookdrawchart2 */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_XBOOKDRAWCHART2)
using namespace Xbookdrawchart2;
#endif
#pragma pack(pop)
#pragma option pop

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