plandraw.hpp

来自「一个非常棒的控件.做商业软件特别适用.里面的控件涉及面非常的广,有兴趣的话可以下」· HPP 代码 · 共 71 行

HPP
71
字号
// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Plandraw.pas' rev: 10.00

#ifndef PlandrawHPP
#define PlandrawHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Stdctrls.hpp>	// Pascal unit
#include <Planner.hpp>	// Pascal unit
#include <Planutil.hpp>	// Pascal unit

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

namespace Plandraw
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TSimpleShape { ssCircle, ssTriangle, ssHArrow, ssVArrow, ssTriangles, ssCircles, ssSquares };
#pragma option pop

class DELPHICLASS TShapeDrawTool;
class PASCALIMPLEMENTATION TShapeDrawTool : public Planner::TCustomItemDrawTool 
{
	typedef Planner::TCustomItemDrawTool inherited;
	
private:
	TSimpleShape FShape;
	void __fastcall SetShape(const TSimpleShape Value);
	
public:
	virtual void __fastcall DrawItem(Planner::TPlannerItem* PlannerItem, Graphics::TCanvas* Canvas, const Types::TRect &Rect, bool Selected, bool Print);
	
__published:
	__property TSimpleShape Shape = {read=FShape, write=SetShape, nodefault};
public:
	#pragma option push -w-inl
	/* TComponent.Create */ inline __fastcall virtual TShapeDrawTool(Classes::TComponent* AOwner) : Planner::TCustomItemDrawTool(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TComponent.Destroy */ inline __fastcall virtual ~TShapeDrawTool(void) { }
	#pragma option pop
	
};


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

}	/* namespace Plandraw */
using namespace Plandraw;
#pragma pack(pop)
#pragma option pop

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

⌨️ 快捷键说明

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