//---------------------------------------------------------------------------
#ifndef CPanelH
#define CPanelH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <ImgList.hpp>
#include <ToolWin.hpp>
//---------------------------------------------------------------------------


//---------------------------------------------------------------------------

enum CP_TYPES{
  CP_ARROW = 0,
  CP_ERASE = 1,
  CP_WALSH = 2,
  CP_CNOT  = 3,
  CP_CCNOT  = 4,
  CP_TEXTBOX  = 5,
  CP_MESURE  = 6,
  CP_PAULI_X = 7,
  CP_PAULI_Y = 8,
  CP_PAULI_Z = 9,
  CP_SWAP = 10,
  CP_CROT = 11,
  CP_NOT  = 12,
  CP_ROT  = 13
};

class TFCPanel : public TForm {
__published:
  TImageList *ImageList;
  TToolBar *ToolBar;
  TToolButton *TBArrow;
  TToolButton *TBWalsh;
  TToolButton *TBCnot;
  TToolButton *TBErase;
  TToolButton *TBCCnot;
  TToolButton *TBMesure;
  TToolButton *TBPauliX;
  TToolButton *TBPauliY;
  TToolButton *TBPauliZ;
  TToolButton *TBSwap;
  TToolButton *ToolButton1;
  TToolButton *TBCRot;
  TToolButton *TBNot;
  TToolButton *TBRot;
private:
public:

  int GetCircuit(void);

  __fastcall TFCPanel(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFCPanel *FCPanel;
//---------------------------------------------------------------------------
#endif
