home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / ahmfreec / _setup.1 / AHMTDigital.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-12-09  |  2.3 KB  |  72 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) 'AHMTDigital.pas' rev: 3.00
  6.  
  7. #ifndef AHMTDigitalHPP
  8. #define AHMTDigitalHPP
  9. #include <AHMFreeware.hpp>
  10. #include <Graphics.hpp>
  11. #include <Controls.hpp>
  12. #include <Classes.hpp>
  13. #include <SysUtils.hpp>
  14. #include <Messages.hpp>
  15. #include <Windows.hpp>
  16. #include <SysInit.hpp>
  17. #include <System.hpp>
  18.  
  19. //-- user supplied -----------------------------------------------------------
  20.  
  21. namespace Ahmtdigital
  22. {
  23. //-- type declarations -------------------------------------------------------
  24. class DELPHICLASS TAHMDigital;
  25. class PASCALIMPLEMENTATION TAHMDigital : public Controls::TGraphicControl 
  26. {
  27.     typedef Controls::TGraphicControl inherited;
  28.     
  29. private:
  30.     Ahmfreeware::TAHMAboutFreeStr FAbout;
  31.     int fi;
  32.     Graphics::TColor fdon;
  33.     Graphics::TColor fdoff;
  34.     Graphics::TColor fback;
  35.     Classes::TNotifyEvent fonn;
  36.     bool fborder;
  37.     System::AnsiString ostr;
  38.     void __fastcall setfi(int value);
  39.     void __fastcall Setfdon(Graphics::TColor value);
  40.     void __fastcall Setfdoff(Graphics::TColor value);
  41.     void __fastcall Setback(Graphics::TColor value);
  42.     void __fastcall SetBorder(bool value);
  43.     
  44. protected:
  45.     virtual void __fastcall Paint(void);
  46.     
  47. public:
  48.     __fastcall virtual TAHMDigital(Classes::TComponent* AOwner);
  49.     __fastcall virtual ~TAHMDigital(void);
  50.     
  51. __published:
  52.     __property Ahmfreeware::TAHMAboutFreeStr About = {read=FAbout, write=FAbout};
  53.     __property OnClick ;
  54.     __property OnDblClick ;
  55.     __property Visible ;
  56.     __property int Number = {read=fi, write=setfi, nodefault};
  57.     __property Graphics::TColor DigitOnColor = {read=fdon, write=Setfdon, nodefault};
  58.     __property Graphics::TColor DigitShadow = {read=fdoff, write=Setfdoff, nodefault};
  59.     __property Graphics::TColor DigitBackground = {read=fback, write=Setback, nodefault};
  60.     __property bool Border3D = {read=fborder, write=SetBorder, nodefault};
  61.     __property Classes::TNotifyEvent OnNewNumber = {read=fonn, write=fonn};
  62. };
  63.  
  64. //-- var, const, procedure ---------------------------------------------------
  65.  
  66. }    /* namespace Ahmtdigital */
  67. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  68. using namespace Ahmtdigital;
  69. #endif
  70. //-- end unit ----------------------------------------------------------------
  71. #endif    // AHMTDigital
  72.