// CodeGear C++Builder
// Copyright (c) 1995, 2014 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'XBookRects2.pas' rev: 28.00 (Windows)

#ifndef Xbookrects2HPP
#define Xbookrects2HPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.Classes.hpp>	// Pascal unit
#include <System.SysUtils.hpp>	// Pascal unit
#include <Vcl.Controls.hpp>	// Pascal unit
#include <XBookWindows2.hpp>	// Pascal unit
#include <XBookPaintGDI2.hpp>	// Pascal unit
#include <XBookPaint2.hpp>	// Pascal unit
#include <XBookSkin2.hpp>	// Pascal unit
#include <XBookUtils2.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Xbookrects2
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TCornerRect;
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCornerRect : public Xbookwindows2::TXSSClientWindow
{
	typedef Xbookwindows2::TXSSClientWindow inherited;
	
public:
	virtual void __fastcall MouseMove(Xbookwindows2::TXSSShiftState Shift, int X, int Y);
	virtual void __fastcall Paint(void);
public:
	/* TXSSWindow.Create */ inline __fastcall TCornerRect(void)/* overload */ : Xbookwindows2::TXSSClientWindow() { }
	/* TXSSWindow.Create */ inline __fastcall TCornerRect(Xbookskin2::TXLSBookSkin* ASkin)/* overload */ : Xbookwindows2::TXSSClientWindow(ASkin) { }
	/* TXSSWindow.Create */ inline __fastcall TCornerRect(Xbookwindows2::TXSSWindow* AParent)/* overload */ : Xbookwindows2::TXSSClientWindow(AParent) { }
	/* TXSSWindow.Destroy */ inline __fastcall virtual ~TCornerRect(void) { }
	
};

#pragma pack(pop)

enum DECLSPEC_DENUM TSplitterHandleType : unsigned char { shtHorizontal, shtVertical, shtCenter };

class DELPHICLASS TSplitterHandle;
class PASCALIMPLEMENTATION TSplitterHandle : public Xbookwindows2::TXSSClientWindow
{
	typedef Xbookwindows2::TXSSClientWindow inherited;
	
protected:
	bool FSplitting;
	TSplitterHandleType FSplitterType;
	int FCurrX;
	int FCurrY;
	Xbookutils2::TXPaintLineEvent FPaintLineEvent;
	bool FSmall;
	
public:
	__fastcall TSplitterHandle(Xbookwindows2::TXSSWindow* APArent, TSplitterHandleType SplitterType);
	virtual void __fastcall Paint(void);
	virtual void __fastcall MouseDown(Xbookwindows2::TXSSMouseButton Button, Xbookwindows2::TXSSShiftState Shift, int X, int Y);
	virtual void __fastcall MouseMove(Xbookwindows2::TXSSShiftState Shift, int X, int Y);
	virtual void __fastcall MouseUp(Xbookwindows2::TXSSMouseButton Button, Xbookwindows2::TXSSShiftState Shift, int X, int Y);
	__property Xbookutils2::TXPaintLineEvent OnPaintLine = {read=FPaintLineEvent, write=FPaintLineEvent};
	__property bool Small = {read=FSmall, write=FSmall, nodefault};
public:
	/* TXSSWindow.Destroy */ inline __fastcall virtual ~TSplitterHandle(void) { }
	
};


//-- var, const, procedure ---------------------------------------------------
}	/* namespace Xbookrects2 */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_XBOOKRECTS2)
using namespace Xbookrects2;
#endif
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Xbookrects2HPP
