⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vrslideshow.hpp

📁 wimax bs simulator对应的GUI程序
💻 HPP
字号:
// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'VrSlideShow.pas' rev: 5.00

#ifndef VrSlideShowHPP
#define VrSlideShowHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Menus.hpp>	// Pascal unit
#include <VrSystem.hpp>	// Pascal unit
#include <VrThreads.hpp>	// Pascal unit
#include <VrSysUtils.hpp>	// Pascal unit
#include <VrControls.hpp>	// Pascal unit
#include <VrClasses.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 Vrslideshow
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TVrTransitionEffect { StretchFromLeft, StretchFromRight, StretchFromTop, StretchFromBottom, StretchFromTopLeft, 
	StretchFromBottomRight, StretchFromXcenter, StretchFromYcenter, PushFromBottom, PushFromLeft, PushFromRight, 
	PushFromTop, SlideFromLeft, SlideFromRight, SlideFromTop, SlideFromBottom, SlideFromTopLeft, SlideFromBottomRight, 
	Zoom };
#pragma option pop

class DELPHICLASS TVrSlideShow;
class PASCALIMPLEMENTATION TVrSlideShow : public Vrcontrols::TVrGraphicImageControl 
{
	typedef Vrcontrols::TVrGraphicImageControl inherited;
	
private:
	bool FActive;
	Vrsystem::TVrBitmapList* FBitmapList;
	Vrcontrols::TVrChangeLink* FBitmapListLink;
	Graphics::TBitmap* FImage1;
	Graphics::TBitmap* FImage2;
	int FImageIndex1;
	int FImageIndex2;
	bool FNewImage;
	int FCurrentStep;
	int FSteps;
	bool FLoop;
	int FSlideCount;
	TVrTransitionEffect FTransition;
	bool FInitSlides;
	Vrthreads::TVrTimer* FTimer;
	Classes::TNotifyEvent FOnNotify;
	Classes::TNotifyEvent FOnNextSlide;
	double sglGrowX;
	double sglGrowY;
	int __fastcall GetInterval(void);
	bool __fastcall GetThreaded(void);
	void __fastcall SetActive(bool Value);
	void __fastcall SetInterval(int Value);
	void __fastcall SetSteps(int Value);
	void __fastcall SetThreaded(bool Value);
	void __fastcall SetImageIndex1(int Value);
	void __fastcall SetImageIndex2(int Value);
	void __fastcall SetBitmapList(Vrsystem::TVrBitmapList* Value);
	void __fastcall TimerEvent(System::TObject* Sender);
	void __fastcall BitmapListChanged(System::TObject* Sender);
	
protected:
	virtual void __fastcall Paint(void);
	virtual void __fastcall Loaded(void);
	void __fastcall UpdateSlide(void);
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
		);
	void __fastcall Step(void);
	void __fastcall Stop(void);
	void __fastcall Next(void);
	Graphics::TBitmap* __fastcall GetBitmap(int Index);
	void __fastcall CheckActive(void);
	
public:
	__fastcall virtual ~TVrSlideShow(void);
	__fastcall virtual TVrSlideShow(Classes::TComponent* AOwner);
	
__published:
	__property bool Threaded = {read=GetThreaded, write=SetThreaded, nodefault};
	__property int Interval = {read=GetInterval, write=SetInterval, nodefault};
	__property Vrsystem::TVrBitmapList* BitmapList = {read=FBitmapList, write=SetBitmapList};
	__property int ImageIndex1 = {read=FImageIndex1, write=SetImageIndex1, default=-1};
	__property int ImageIndex2 = {read=FImageIndex2, write=SetImageIndex2, default=-1};
	__property int Steps = {read=FSteps, write=SetSteps, default=10};
	__property TVrTransitionEffect Transition = {read=FTransition, write=FTransition, nodefault};
	__property bool Loop = {read=FLoop, write=FLoop, default=1};
	__property bool Active = {read=FActive, write=SetActive, default=0};
	__property Classes::TNotifyEvent OnNotify = {read=FOnNotify, write=FOnNotify};
	__property Classes::TNotifyEvent OnNextSlide = {read=FOnNextSlide, write=FOnNextSlide};
	__property Align ;
	__property Anchors ;
	__property Constraints ;
	__property DragCursor ;
	__property DragKind ;
	__property DragMode ;
	__property Hint ;
	__property ParentShowHint ;
	__property PopupMenu ;
	__property ShowHint ;
	__property Visible ;
	__property OnClick ;
	__property OnContextPopup ;
	__property OnDblClick ;
	__property OnDragDrop ;
	__property OnDragOver ;
	__property OnEndDock ;
	__property OnEndDrag ;
	__property OnMouseDown ;
	__property OnMouseMove ;
	__property OnMouseUp ;
	__property OnStartDock ;
	__property OnStartDrag ;
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Vrslideshow */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Vrslideshow;
#endif
#pragma option pop	// -w-
#pragma option pop	// -Vx

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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -