home *** CD-ROM | disk | FTP | other *** search
/ Delphi 5 for Professionals / DELPHI5.iso / AddOns / Components / Essentials / SETUP.EXE / %MAINDIR% / EsTile.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-11-28  |  2.3 KB  |  78 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'EsTile.pas' rev: 3.00
  6.  
  7. #ifndef EsTileHPP
  8. #define EsTileHPP
  9. #include <EsData.hpp>
  10. #include <EsConst.hpp>
  11. #include <Messages.hpp>
  12. #include <Graphics.hpp>
  13. #include <Forms.hpp>
  14. #include <Controls.hpp>
  15. #include <Classes.hpp>
  16. #include <Windows.hpp>
  17. #include <SysInit.hpp>
  18. #include <System.hpp>
  19.  
  20. //-- user supplied -----------------------------------------------------------
  21.  
  22. namespace Estile
  23. {
  24. //-- type declarations -------------------------------------------------------
  25. class DELPHICLASS TEsCustomTile;
  26. class PASCALIMPLEMENTATION TEsCustomTile : public Controls::TGraphicControl 
  27. {
  28.     typedef Controls::TGraphicControl inherited;
  29.     
  30. protected:
  31.     Graphics::TBitmap* FBitmap;
  32.     void __fastcall tiBitmapChange(System::TObject* Sender);
  33.     System::AnsiString __fastcall GetVersion();
  34.     void __fastcall SetBitmap(Graphics::TBitmap* Value);
  35.     void __fastcall SetVersion(const System::AnsiString Value);
  36.     virtual void __fastcall Paint(void);
  37.     __property Graphics::TBitmap* Bitmap = {read=FBitmap, write=SetBitmap};
  38.     __property System::AnsiString Version = {read=GetVersion, write=SetVersion, stored=false};
  39.     
  40. public:
  41.     __fastcall virtual TEsCustomTile(Classes::TComponent* AComponent);
  42.     __fastcall virtual ~TEsCustomTile(void);
  43.     void __fastcall PaintTo(int DC, const Windows::TRect &R);
  44. };
  45.  
  46. class DELPHICLASS TEsTile;
  47. class PASCALIMPLEMENTATION TEsTile : public Estile::TEsCustomTile 
  48. {
  49.     typedef Estile::TEsCustomTile inherited;
  50.     
  51. __published:
  52.     __property Align ;
  53.     __property Bitmap ;
  54.     __property Version ;
  55.     __property OnClick ;
  56.     __property OnDblClick ;
  57.     __property OnDragDrop ;
  58.     __property OnDragOver ;
  59.     __property OnMouseDown ;
  60.     __property OnMouseMove ;
  61.     __property OnMouseUp ;
  62.     __property OnStartDrag ;
  63. public:
  64.     /* TEsCustomTile.Create */ __fastcall virtual TEsTile(Classes::TComponent* AComponent) : Estile::TEsCustomTile(
  65.         AComponent) { }
  66.     /* TEsCustomTile.Destroy */ __fastcall virtual ~TEsTile(void) { }
  67.     
  68. };
  69.  
  70. //-- var, const, procedure ---------------------------------------------------
  71.  
  72. }    /* namespace Estile */
  73. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  74. using namespace Estile;
  75. #endif
  76. //-- end unit ----------------------------------------------------------------
  77. #endif    // EsTile
  78.