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) 'Plottoolbar.pas' rev: 3.00
-
- #ifndef PlottoolbarHPP
- #define PlottoolbarHPP
- #include <Plottooledit.hpp>
- #include <Misc.hpp>
- #include <Plot.hpp>
- #include <Plotdefs.hpp>
- #include <Dialogs.hpp>
- #include <Controls.hpp>
- #include <ComCtrls.hpp>
- #include <Windows.hpp>
- #include <SysUtils.hpp>
- #include <Classes.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Plottoolbar
- {
- //-- type declarations -------------------------------------------------------
- class DELPHICLASS TPlotToolBar;
- class PASCALIMPLEMENTATION TPlotToolBar : public Comctrls::TToolBar
- {
- typedef Comctrls::TToolBar inherited;
-
- private:
- bool FCanConfigure;
- Plot::TPlot* FPlot;
- bool __fastcall ToolButtonExists(int ATag, System::AnsiString ACaption);
-
- protected:
- virtual Plot::TPlot* __fastcall GetPlot(System::TObject* Target);
- void __fastcall SetPlot(Plot::TPlot* Value);
- virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
- );
- void __fastcall CreateToolButtons(void);
- void __fastcall DidMouseDown(System::TObject* Sender, Controls::TMouseButton Button, Classes::TShiftState
- Shift, int X, int Y);
- DYNAMIC void __fastcall MouseDown(Controls::TMouseButton Button, Classes::TShiftState Shift, int X,
- int Y);
-
- public:
- __fastcall virtual TPlotToolBar(Classes::TComponent* AOwner);
- __fastcall virtual ~TPlotToolBar(void);
- void __fastcall ApplyChanges(System::TObject* Sender);
- void __fastcall ApplyOptions(Plotdefs::TPopupOptions* Value);
-
- __published:
- __property bool CanConfigure = {read=FCanConfigure, write=FCanConfigure, nodefault};
- __property Plot::TPlot* Plot = {read=FPlot, write=SetPlot};
- public:
- /* TWinControl.CreateParented */ __fastcall TPlotToolBar(HWND ParentWindow) : Comctrls::TToolBar(ParentWindow
- ) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Plottoolbar */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Plottoolbar;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // Plottoolbar
-