home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 October
/
Chip_2001-10_cd1.bin
/
zkuste
/
delphi
/
kompon
/
d123456
/
CHEMPLOT.ZIP
/
Misc
/
Shapeex.hpp
< prev
next >
Wrap
C/C++ Source or Header
|
2001-07-31
|
2KB
|
69 lines
// Borland C++ Builder
// Copyright (c) 1995, 1998 by Borland International
// All rights reserved
// (DO NOT EDIT: machine generated header) 'Shapeex.pas' rev: 3.00
#ifndef ShapeexHPP
#define ShapeexHPP
#include <Graphics.hpp>
#include <Controls.hpp>
#include <Windows.hpp>
#include <SysUtils.hpp>
#include <Classes.hpp>
#include <SysInit.hpp>
#include <System.hpp>
//-- user supplied -----------------------------------------------------------
namespace Shapeex
{
//-- type declarations -------------------------------------------------------
enum TShapeExType { stArrowRight, stArrowLeft, stArrowUp, stArrowDown, stEllipse, stLineHorz, stLineVert,
stRectangle, stRectangleRound, stTriangleUp, stTriangleDown, stTriangleLeft, stTriangleRight };
class DELPHICLASS TShapeEx;
class PASCALIMPLEMENTATION TShapeEx : public Controls::TGraphicControl
{
typedef Controls::TGraphicControl inherited;
private:
TShapeExType FShape;
Graphics::TPen* FPen;
Graphics::TBrush* FBrush;
void __fastcall SetShape(TShapeExType Value);
void __fastcall SetPen(Graphics::TPen* Value);
void __fastcall SetBrush(Graphics::TBrush* Value);
protected:
virtual void __fastcall Paint(void);
DYNAMIC void __fastcall StyleChange(System::TObject* Sender);
public:
__fastcall virtual TShapeEx(Classes::TComponent* AOwner);
__fastcall virtual ~TShapeEx(void);
__published:
__property TShapeExType Shape = {read=FShape, write=SetShape, nodefault};
__property Graphics::TBrush* Brush = {read=FBrush, write=SetBrush};
__property Graphics::TPen* Pen = {read=FPen, write=SetPen};
__property OnClick ;
__property OnDragDrop ;
__property OnEndDrag ;
__property OnMouseMove ;
__property OnDblClick ;
__property OnDragOver ;
__property OnMouseDown ;
__property OnMouseUp ;
};
//-- var, const, procedure ---------------------------------------------------
#define TSHAPEEX_VERSION (Byte)(100)
} /* namespace Shapeex */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Shapeex;
#endif
//-- end unit ----------------------------------------------------------------
#endif // Shapeex