home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'EsDir.pas' rev: 3.00
-
- #ifndef EsDirHPP
- #define EsDirHPP
- #include <EsUtil.hpp>
- #include <EsData.hpp>
- #include <Messages.hpp>
- #include <Graphics.hpp>
- #include <Controls.hpp>
- #include <Classes.hpp>
- #include <Windows.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Esdir
- {
- //-- type declarations -------------------------------------------------------
- class DELPHICLASS TEsCustomDirectionPicker;
- class PASCALIMPLEMENTATION TEsCustomDirectionPicker : public Controls::TGraphicControl
- {
- typedef Controls::TGraphicControl inherited;
-
- protected:
- int FDirection;
- int FNumDirections;
- Graphics::TBitmap* FSelectedBitmap;
- bool FShowCenter;
- Graphics::TBitmap* FDirectionBitmap;
- Classes::TNotifyEvent FOnChange;
- void __fastcall SetDirection(int Value);
- void __fastcall SetSelectedBitmap(Graphics::TBitmap* Value);
- void __fastcall SetNumDirections(int Value);
- void __fastcall SetShowCenter(bool Value);
- void __fastcall SetDirectionBitmap(Graphics::TBitmap* Value);
- DYNAMIC void __fastcall MouseDown(Controls::TMouseButton Button, Classes::TShiftState Shift, int X,
- int Y);
- virtual void __fastcall Paint(void);
- __property int Direction = {read=FDirection, write=SetDirection, default=0};
- __property int NumDirections = {read=FNumDirections, write=SetNumDirections, default=8};
- __property Graphics::TBitmap* SelectedBitmap = {read=FSelectedBitmap, write=SetSelectedBitmap};
- __property bool ShowCenter = {read=FShowCenter, write=SetShowCenter, default=1};
- __property Graphics::TBitmap* DirectionBitmap = {read=FDirectionBitmap, write=SetDirectionBitmap};
- __property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
-
- public:
- __fastcall virtual TEsCustomDirectionPicker(Classes::TComponent* AComponent);
- __fastcall virtual ~TEsCustomDirectionPicker(void);
- };
-
- class DELPHICLASS TEsDirectionPicker;
- class PASCALIMPLEMENTATION TEsDirectionPicker : public Esdir::TEsCustomDirectionPicker
- {
- typedef Esdir::TEsCustomDirectionPicker inherited;
-
- __published:
- __property Direction ;
- __property Enabled ;
- __property SelectedBitmap ;
- __property NumDirections ;
- __property ShowCenter ;
- __property DirectionBitmap ;
- __property OnChange ;
- __property OnClick ;
- __property OnDblClick ;
- __property OnMouseDown ;
- __property OnMouseMove ;
- __property OnMouseUp ;
- public:
- /* TEsCustomDirectionPicker.Create */ __fastcall virtual TEsDirectionPicker(Classes::TComponent* AComponent
- ) : Esdir::TEsCustomDirectionPicker(AComponent) { }
- /* TEsCustomDirectionPicker.Destroy */ __fastcall virtual ~TEsDirectionPicker(void) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Esdir */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Esdir;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // EsDir
-