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

#ifndef MainFormH
#define MainFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <Buttons.hpp>
//---------------------------------------------------------------------------
class TfrmMain : public TForm
{
__published:	// IDE-managed Components
	TPageControl *pgeMain;
	TTabSheet *shtBasic;
	TTabSheet *shtSliders;
	TStatusBar *barStatus;
	TGroupBox *grpValue;
	TCheckBox *chkOne;
	TCheckBox *chkTwo;
	TCheckBox *chkThree;
	TRadioGroup *rgrpColor;
	TGroupBox *grpSize;
	TRadioButton *radMedium;
	TRadioButton *radSmall;
	TEdit *edtZipcode;
	TLabel *lblZipcode;
	TRadioButton *radLarge;
	TLabeledEdit *ledtURL;
	TPanel *pnlMain;
	TPanel *pnlLeft;
	TLabeledEdit *ledtRed;
	TLabeledEdit *ledtGreen;
	TLabeledEdit *ledtBlue;
	TUpDown *spnGreen;
	TUpDown *spnBlue;
	TUpDown *spnRed;
	TSplitter *splitVertical;
	TTrackBar *barRed;
	TTrackBar *barGreen;
	TTrackBar *barBlue;
	TPanel *pnlBottom;
	TTrackBar *barAlphaBlend;
	TLabel *lblAlphaBlend;
	TLabel *lblR;
	TLabel *lblG;
	TLabel *lblB;
	TComboBox *lstMaps;
	TComboBox *lstFind;
	TLabel *lblMap;
	TLabel *Label2;
	TTabSheet *shtMore;
	TGroupBox *grpMaps;
	TCheckBox *chkHangar;
	TCheckBox *chkNuclearPlant;
	TCheckBox *chkToxinRefinery;
	TCheckBox *chkCommandControl;
	TCheckBox *chkPhobosLab;
	TCheckBox *chkCentralProcessing;
	TCheckBox *chkComputerStation;
	TCheckBox *chkPhobosAnomaly;
	TCheckBox *chkMilitaryBase;
	TLabel *lblAvailableMaps;
	TComboBox *lstMaps2;
	TButton *btnSelectAll;
	TButton *btnSelectNone;
	void __fastcall FormCreate(TObject *Sender);
	void __fastcall ColorChange(TObject *Sender);
	void __fastcall ColorSlides(TObject *Sender);
	void __fastcall barAlphaBlendChange(TObject *Sender);
	void __fastcall chkMapsClick(TObject *Sender);
	void __fastcall btnSelectAllClick(TObject *Sender);
	void __fastcall btnSelectNoneClick(TObject *Sender);
private:	// User declarations
	void UpdateMapCount(void);
	void SetChecks(bool state);
public:		// User declarations
	__fastcall TfrmMain(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmMain *frmMain;
//---------------------------------------------------------------------------
#endif
