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

#ifndef configuradorH
#define configuradorH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <jpeg.hpp>
#include <Dialogs.hpp>
#include <ExtDlgs.hpp>
#include "estructuras.h"

//---------------------------------------------------------------------------
class TprodConfig : public TForm
{
__published:	// IDE-managed Components
        TImage *img;
        TPanel *Panel1;
        TLabel *Label1;
        TButton *btLoadImage;
        TLabel *Label2;
        TLabel *Label3;
        TLabel *Label4;
        TLabel *Label5;
        TEdit *edDescr;
        TEdit *edPVPmin;
        TEdit *edPVPmax;
        TEdit *edclicks;
        TUpDown *UpDown1;
        TOpenPictureDialog *OpenPictureDialog1;
        TButton *Button1;
        void __fastcall btLoadImageClick(TObject *Sender);
        void __fastcall Button1Click(TObject *Sender);
private:	// User declarations
        AnsiString imgName;
        int idxProducto;
        TProds *producto;

public:		// User declarations
        __fastcall TprodConfig(TComponent* Owner);
        void __fastcall setProd(int idx, TProds *prod);
};
//---------------------------------------------------------------------------
extern PACKAGE TprodConfig *prodConfig;
//---------------------------------------------------------------------------
#endif
