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) 'Slidebar.pas' rev: 3.00
-
- #ifndef SlidebarHPP
- #define SlidebarHPP
- #include <Graphics.hpp>
- #include <ExtCtrls.hpp>
- #include <Controls.hpp>
- #include <Windows.hpp>
- #include <SysUtils.hpp>
- #include <Classes.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Slidebar
- {
- //-- type declarations -------------------------------------------------------
- class DELPHICLASS TSlideBar;
- class PASCALIMPLEMENTATION TSlideBar : public Controls::TGraphicControl
- {
- typedef Controls::TGraphicControl inherited;
-
- private:
- bool FAutoSlider;
- TPanelBevel FBevelInner;
- TPanelBevel FBevelOuter;
- Extctrls::TBevelWidth FBevelWidth;
- Extctrls::TBorderWidth FBorderWidth;
- Graphics::TColor FColor;
- int FMax;
- int FMin;
- Graphics::TColor FSlideColor;
- int FPageSize;
- int FPosition;
- bool FShowText;
- bool FShowUnits;
- Byte FSliderWidth;
- Byte FSliderHeight;
- Byte FTicks;
- Classes::TNotifyEvent FOnChange;
- Classes::TNotifyEvent FOnChanging;
- int LeftGap;
- int TopGap;
- int StartX;
- int SlideX;
- bool IsSliding;
- Graphics::TFont* __fastcall GetFont(void);
- int __fastcall GetFrequency(void);
- tagPOINT __fastcall GetVertex(Byte Index);
- tagPOINT __fastcall GetInnerVertex(Byte Index);
-
- protected:
- void __fastcall DrawSlider(void);
- void __fastcall SetAutoSlider(bool Value);
- void __fastcall SetBevelInner(Extctrls::TPanelBevel Value);
- void __fastcall SetBevelOuter(Extctrls::TPanelBevel Value);
- void __fastcall SetBevelWidth(Extctrls::TBevelWidth Value);
- void __fastcall SetBorderWidth(Extctrls::TBorderWidth Value);
- HIDESBASE void __fastcall SetColor(Graphics::TColor Value);
- HIDESBASE void __fastcall SetFont(Graphics::TFont* Value);
- void __fastcall SetFrequency(int Value);
- void __fastcall SetMin(int Value);
- void __fastcall SetMax(int Value);
- void __fastcall SetPosition(int Value);
- void __fastcall SetTicks(Byte Value);
- void __fastcall SetShowUnits(bool Value);
- void __fastcall SetSlideColor(Graphics::TColor Value);
- void __fastcall SetSlideHeight(Byte Value);
- void __fastcall SetSlideWidth(Byte Value);
- void __fastcall SetShowText(bool Value);
- void __fastcall DoGeometry(Graphics::TCanvas* ACanvas);
- DYNAMIC void __fastcall DblClick(void);
- DYNAMIC void __fastcall MouseMove(Classes::TShiftState Shift, int X, int Y);
- DYNAMIC void __fastcall MouseDown(Controls::TMouseButton Button, Classes::TShiftState Shift, int X,
- int Y);
- DYNAMIC void __fastcall MouseUp(Controls::TMouseButton Button, Classes::TShiftState Shift, int X, int
- Y);
- virtual void __fastcall Paint(void);
- DYNAMIC void __fastcall DoChange(void);
- DYNAMIC void __fastcall DoChanging(void);
-
- public:
- __fastcall virtual TSlideBar(Classes::TComponent* AOwner);
- __fastcall virtual ~TSlideBar(void);
-
- __published:
- __property bool AutoSlider = {read=FAutoSlider, write=SetAutoSlider, nodefault};
- __property Extctrls::TPanelBevel BevelInner = {read=FBevelInner, write=SetBevelInner, nodefault};
- __property Extctrls::TPanelBevel BevelOuter = {read=FBevelOuter, write=SetBevelOuter, nodefault};
- __property Extctrls::TBevelWidth BevelWidth = {read=FBevelWidth, write=SetBevelWidth, nodefault};
- __property Extctrls::TBorderWidth BorderWidth = {read=FBorderWidth, write=SetBorderWidth, nodefault
- };
- __property Graphics::TColor Color = {read=FColor, write=SetColor, nodefault};
- __property Graphics::TFont* Font = {read=GetFont, write=SetFont};
- __property int Frequency = {read=GetFrequency, write=SetFrequency, nodefault};
- __property int Max = {read=FMax, write=SetMax, nodefault};
- __property int Min = {read=FMin, write=SetMin, nodefault};
- __property int PageSize = {read=FPageSize, write=FPageSize, nodefault};
- __property int Position = {read=FPosition, write=SetPosition, nodefault};
- __property bool ShowText = {read=FShowText, write=SetShowText, nodefault};
- __property bool ShowUnits = {read=FShowUnits, write=SetShowUnits, nodefault};
- __property Byte SliderWidth = {read=FSliderWidth, write=SetSlideWidth, nodefault};
- __property Byte SliderHeight = {read=FSliderHeight, write=SetSlideHeight, nodefault};
- __property Byte Ticks = {read=FTicks, write=SetTicks, nodefault};
- __property Graphics::TColor SlideColor = {read=FSlideColor, write=SetSlideColor, nodefault};
- __property Classes::TNotifyEvent OnChanging = {read=FOnChanging, write=FOnChanging};
- __property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
- __property Align ;
- __property Cursor ;
- __property Enabled ;
- __property Height ;
- __property Hint ;
- __property Left ;
- __property ParentShowHint ;
- __property ShowHint ;
- __property Top ;
- __property Visible ;
- __property Width ;
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Slidebar */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Slidebar;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // Slidebar
-