//---------------------------------------------------------------------------
#ifndef fEntityH
#define fEntityH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "CSPIN.h"
#include <Dialogs.hpp>
#include <ExtCtrls.hpp>
#include <DXFConv.hpp>
#include <DXFImage.hpp>

//---------------------------------------------------------------------------
class TfmCreateEntity : public TForm
{
__published:	// IDE-managed Components
  TPanel *pnlMain;
  TLabel *Label1;
  TLabel *lblColor;
  TLabel *lblWidth;
  TComboBox *cbEntity;
  TPanel *pnlColor;
  TButton *bntColor;
  TMemo *mmCoordinates;
  TCSpinEdit *seWeight;
  TColorDialog *ColorDialog;
  TButton *btnOK;
  TButton *btnCancel;
  void __fastcall FormCreate(TObject *Sender);
  void __fastcall cbEntityChange(TObject *Sender);
  void __fastcall bntColorClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
  __fastcall TfmCreateEntity(TComponent* Owner);
};
TsgDXFEntity * GetEntity(TsgDXFImage * AImage);
//void GetEntity(TsgDXFEntity *Ent);
//---------------------------------------------------------------------------
extern PACKAGE TfmCreateEntity *fmCreateEntity;

//---------------------------------------------------------------------------
#endif
