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

#ifndef uMainH
#define uMainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ActnList.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
//---------------------------------------------------------------------------
class TMainForm : public TForm
{
__published:	// IDE-managed Components
	TSplitter *VSplitter;
	TSplitter *HSplitter;
	TCoolBar *CoolBar1;
	TToolBar *ToolBar1;
	TToolButton *ToolButton13;
	TToolButton *ToolButton16;
	TToolButton *btnToolBar1;
	TToolButton *btnToolBar2;
	TToolBar *ToolBar2;
	TToolButton *ToolButton1;
	TToolButton *ToolButton2;
	TToolButton *ToolButton3;
	TToolButton *ToolButton5;
	TToolButton *ToolButton6;
	TToolButton *ToolButton7;
	TToolButton *ToolButton4;
	TPanel *LeftDockPanel;
	TPanel *BottomDockPanel;
	TActionList *ActionList1;
	TAction *ViewToolBar1;
	TAction *ViewToolBar2;
	TAction *ViewWhiteWindow;
	TAction *ExitAction;
	TAction *ViewBlueWindow;
	TAction *ViewGreenWindow;
	TAction *ViewRedWindow;
	TAction *ViewTealWindow;
	TAction *ViewPurpleWindow;
	TAction *ViewLimeWindow;
	TMainMenu *MainMenu1;
	TMenuItem *File2;
	TMenuItem *Exit2;
	TMenuItem *View2;
	TMenuItem *ToolBar11;
	TMenuItem *ToolBar21;
	TMenuItem *N2;
	TMenuItem *White1;
	TMenuItem *Blue1;
	TMenuItem *Green1;
	TMenuItem *Lime1;
	TMenuItem *Purple1;
	TMenuItem *Red1;
	TMenuItem *Teal1;
	void __fastcall FormCreate(TObject *Sender);
	void __fastcall CoolBar1DockOver(TObject *Sender, TDragDockObject *Source,
          int X, int Y, TDragState State, bool &Accept);
	void __fastcall ViewToolBar1Execute(TObject *Sender);
	void __fastcall ViewToolBar2Execute(TObject *Sender);
	void __fastcall LeftDockPanelDockDrop(TObject *Sender, TDragDockObject *Source,
          int X, int Y);
	void __fastcall LeftDockPanelDockOver(TObject *Sender, TDragDockObject *Source,
          int X, int Y, TDragState State, bool &Accept);
	void __fastcall BottomDockPanelDockOver(TObject *Sender,
          TDragDockObject *Source, int X, int Y, TDragState State,
          bool &Accept);
	void __fastcall LeftDockPanelUnDock(TObject *Sender, TControl *Client,
          TWinControl *NewTarget, bool &Allow);
	void __fastcall ExitActionExecute(TObject *Sender);
	void __fastcall ViewWhiteWindowExecute(TObject *Sender);
	void __fastcall LeftDockPanelGetSiteInfo(TObject *Sender, TControl *DockClient,
          TRect &InfluenceRect, TPoint &MousePos, bool &CanDock);
private:	// User declarations
	void __fastcall CreateDockableWindows(void);
public:		// User declarations
	__fastcall TMainForm(TComponent* Owner);
	void __fastcall ShowDockPanel(TPanel *APanel, bool MakeVisible, TControl *Client);
};
//---------------------------------------------------------------------------
extern PACKAGE TMainForm *MainForm;
//---------------------------------------------------------------------------
#endif
