// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'ahmtpresentation.pas' rev: 6.00

#ifndef ahmtpresentationHPP
#define ahmtpresentationHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <ahmenhancedconst.hpp>	// Pascal unit
#include <ahmcontrols.hpp>	// Pascal unit
#include <ahmtbackground.hpp>	// Pascal unit
#include <ComCtrls.hpp>	// Pascal unit
#include <ahmenhancedclass.hpp>	// Pascal unit
#include <ExtCtrls.hpp>	// Pascal unit
#include <Buttons.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Ahmtpresentation
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TAHMSlideeffects { efRandom, efNone, efWipeTopToBottom, efWipeBottomToTop, efWipeLeftToRight, efWipeRightToLeft, efStretchUp, efStretchDown, efStretchLeft, efStretchRight, efCloseHorizontalCurtain, efOpenHorizontalCurtain, efCloseVerticalCurtain, efOpenVerticalCurtain, efVerticalInterlace, efHorizontalInterlace, efLeftRightDoppel, efTopBottomDoppel, efRightLeftDoppel, efBottomTopDoppel, efLeftRightDoppelInOut, efTopBottomDoppelInOut, efRightLeftDoppelInOut, efBottomTopDoppelInOut, efLeftTopToRightBottomWipe, efLeftBottomToRightTopWipe, efRightTopToLeftBottomWipe, efRightBottomToLeftTopWipe, efLTRBClosingCurtain, efRTLBClosingCurtain, efQuadVerticalInterlace, efQuadHorizontalInterlace, efDoppelVerticalInterlace, efDoppelHorizontalInterlace, efVerticalQuadUp, efVerticalDoppelDown, efVeticalQuadDown, efVerticalDoppelUp, efWipeEffect1, efWipeEffect2, efWipeEffect3, efBitBlt, efDripVertical, efDripHorizontal, efStepWipeVertical, efStepWipeHorizontal, efScreenOff, efFadeDown, efWipeEffect4, efWipeEffect5
	, efWipeEffect6, efHorizontalQuadLeft, efHorizontalDoppelRight, efHorizontalQuadRight, efHorizontalDoppelLeft };
#pragma option pop

class DELPHICLASS TAHMSlide;
class PASCALIMPLEMENTATION TAHMSlide : public Classes::TCollectionItem 
{
	typedef Classes::TCollectionItem inherited;
	
private:
	AnsiString fID;
	AnsiString ftext;
	int fstyle;
	int feffect;
	Graphics::TBitmap* fbitmap;
	bool FStretch;
	
public:
	__fastcall virtual TAHMSlide(Classes::TCollection* Collection);
	__fastcall virtual ~TAHMSlide(void);
	virtual void __fastcall Assign(Classes::TPersistent* Source);
	
__published:
	__property Graphics::TBitmap* Bitmap = {read=fbitmap, write=fbitmap, stored=true};
	__property int Style = {read=fstyle, write=fstyle, stored=true, nodefault};
	__property int Effect = {read=feffect, write=feffect, stored=true, nodefault};
	__property AnsiString Text = {read=ftext, write=ftext, stored=true};
	__property AnsiString ID = {read=fID, write=fID, stored=true};
	__property bool Stretch = {read=FStretch, write=FStretch, nodefault};
};


class DELPHICLASS TAHMSlides;
class PASCALIMPLEMENTATION TAHMSlides : public Classes::TCollection 
{
	typedef Classes::TCollection inherited;
	
public:
	TAHMSlide* operator[](int Index) { return Items[Index]; }
	
private:
	Classes::TComponent* FOwner;
	int fsel;
	HIDESBASE TAHMSlide* __fastcall GetItem(int Index);
	HIDESBASE void __fastcall SetItem(int Index, TAHMSlide* Value);
	
public:
	__fastcall TAHMSlides(Classes::TComponent* AOwner);
	HIDESBASE TAHMSlide* __fastcall Add(void);
	HIDESBASE bool __fastcall Delete(int number);
	void __fastcall Move(int fromslide, int toslide);
	__property TAHMSlide* Items[int Index] = {read=GetItem, write=SetItem/*, default*/};
	__property int SelectedItem = {read=fsel, write=fsel, nodefault};
	__property Classes::TComponent* TheOwner = {read=FOwner};
public:
	#pragma option push -w-inl
	/* TCollection.Destroy */ inline __fastcall virtual ~TAHMSlides(void) { }
	#pragma option pop
	
};


class DELPHICLASS TAHMPresentation;
class PASCALIMPLEMENTATION TAHMPresentation : public Stdctrls::TCustomLabel 
{
	typedef Stdctrls::TCustomLabel inherited;
	
private:
	Graphics::TBitmap* xspec;
	int timtag;
	Classes::TNotifyEvent fslidedone;
	Classes::TNotifyEvent floopdone;
	bool fasize;
	TAHMSlides* FSlides;
	int fspeed;
	AnsiString FAHMAboutStr;
	bool floop;
	Ahmenhancedclass::TAHMEnhancedTimer32* ftim;
	Ahmenhancedclass::TAHMFont3D* f3D;
	Ahmtbackground::TAHMBackground* fback;
	Ahmtbackground::TAHMBackground* fback2;
	bool hasLooped;
	void __fastcall SetBack(Ahmtbackground::TAHMBackground* value);
	void __fastcall SetBack2(Ahmtbackground::TAHMBackground* value);
	void __fastcall Set3D(Ahmenhancedclass::TAHMFont3D* Value);
	void __fastcall SetSlides(TAHMSlides* Value);
	void __fastcall SetSpeed(int value);
	void __fastcall RunSlides(System::TObject* Sender);
	
protected:
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation);
	
public:
	__fastcall virtual TAHMPresentation(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMPresentation(void);
	virtual void __fastcall Loaded(void);
	virtual void __fastcall Paint(void);
	void __fastcall LoopSlides(void);
	virtual void __fastcall DoOneSlide(int which);
	void __fastcall Stop(void);
	
__published:
	__property AnsiString About = {read=FAHMAboutStr, write=FAHMAboutStr, stored=false};
	__property Anchors  = {default=3};
	__property BiDiMode ;
	__property Constraints ;
	__property DragKind  = {default=0};
	__property ParentBiDiMode  = {default=1};
	__property AutoSize  = {read=fasize, default=0};
	__property Align  = {default=0};
	__property Alignment  = {default=0};
	__property Color  = {default=-2147483643};
	__property Enabled  = {default=1};
	__property FocusControl ;
	__property TAHMSlides* Slides = {read=FSlides, write=SetSlides};
	__property int Speed = {read=fspeed, write=SetSpeed, default=1000};
	__property bool KeepLooping = {read=floop, write=floop, default=0};
	__property Ahmtbackground::TAHMBackground* Background = {read=fback, write=SetBack};
	__property Font ;
	__property Ahmenhancedclass::TAHMFont3D* Font3D = {read=f3D, write=Set3D, stored=true};
	__property Ahmtbackground::TAHMBackground* FontBackground = {read=fback2, write=SetBack2};
	__property Classes::TNotifyEvent OnSlideDone = {read=fslidedone, write=fslidedone};
	__property Classes::TNotifyEvent OnLoopDone = {read=floopdone, write=floopdone};
	__property ShowHint ;
	__property Visible  = {default=1};
	__property WordWrap  = {default=0};
	__property OnClick ;
	__property OnDblClick ;
	__property OnMouseDown ;
	__property OnMouseMove ;
	__property OnMouseUp ;
	__property OnDragDrop ;
	__property OnEndDrag ;
	__property OnStartDrag ;
	__property OnDragOver ;
	__property DragCursor  = {default=-12};
	__property DragMode  = {default=0};
	__property ParentColor  = {default=1};
	__property ParentFont  = {default=1};
	__property ShowAccelChar  = {default=1};
};


class DELPHICLASS TAHMFormSlide;
class PASCALIMPLEMENTATION TAHMFormSlide : public Controls::TCustomControl 
{
	typedef Controls::TCustomControl inherited;
	
private:
	bool IsDrawing;
	Controls::TWinControl* OldParent;
	Graphics::TBitmap* Oldimage;
	bool IsInstance;
	Forms::TForm* xCurrent;
	TAHMSlideeffects FSlideeffect;
	void __fastcall SetSlideEffect(const TAHMSlideeffects Value);
	
public:
	HIDESBASE void __fastcall Show(const Forms::TForm* Value);
	void __fastcall ShowInstance(TMetaClass* Value);
	virtual void __fastcall Paint(void);
	__fastcall virtual TAHMFormSlide(Classes::TComponent* AOwner);
	__fastcall virtual ~TAHMFormSlide(void);
	__property Forms::TForm* CurrentForm = {read=xCurrent};
	
__published:
	__property TAHMSlideeffects SlideEffect = {read=FSlideeffect, write=SetSlideEffect, default=0};
	__property ShowHint ;
	__property Visible  = {default=1};
	__property Align  = {default=0};
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TAHMFormSlide(HWND ParentWindow) : Controls::TCustomControl(ParentWindow) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------
extern PACKAGE void __fastcall AHMPaintEffect(int xeffect, Graphics::TCanvas* xsrc, Graphics::TCanvas* xdst, int xw, int xh);

}	/* namespace Ahmtpresentation */
using namespace Ahmtpresentation;
#pragma option pop	// -w-
#pragma option pop	// -Vx

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