//---------------------------------------------------------------------------
#ifndef fobraz1H
#define fobraz1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:
    TPanel *Panel1;
    TTrackBar *TrackBar1;
    TLabel *Label1;
    TLabel *Label2;
    TTrackBar *TrackBar2;
    TPaintBox *PaintBox1;
    TButton *Button1;
    void __fastcall Button1Click(TObject *Sender);
    void __fastcall PaintBox1Paint(TObject *Sender);
    
    void __fastcall FormShow(TObject *Sender);
private:
    TScena scena;               //zabudowa sceny
    int jasnosc_proc, il_odbic; //procentowa jasność obrazu i głębokość rekurencji
    void poziomy_kwadrat( TPunkt p, TColor kolor);
public:
    __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
