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) 'Axisedit.pas' rev: 3.00
-
- #ifndef AxiseditHPP
- #define AxiseditHPP
- #include <Titles.hpp>
- #include <Plotdefs.hpp>
- #include <Nedit.hpp>
- #include <Misc.hpp>
- #include <Coloredt.hpp>
- #include <Axis.hpp>
- #include <StdCtrls.hpp>
- #include <Graphics.hpp>
- #include <Forms.hpp>
- #include <Controls.hpp>
- #include <Buttons.hpp>
- #include <Windows.hpp>
- #include <TypInfo.hpp>
- #include <SysUtils.hpp>
- #include <Classes.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Axisedit
- {
- //-- type declarations -------------------------------------------------------
- struct TAxisProperty
- {
- bool Visible;
- TLabelFormat LabelFormat;
- Byte LabelDigits;
- Byte LabelPrecision;
- TDirection LabelDirection;
- Graphics::TColor PenColor;
- int PenWidthIndex;
- int PenStyleIndex;
- Byte TickSize;
- TOrientation TickDirection;
- float TickStepSize;
- Byte TickMinors;
- float ScaleMin;
- float ScaleMax;
- float ScaleIntercept;
- bool ScaleAuto;
- bool ScaleLog;
- Byte ArrowSize;
- TAlignment ArrowDirection;
- float LimitLower;
- float LimitUpper;
- bool LimitsVisible;
- Word ZAngle;
- float ZInterceptY;
- Word ZLength;
- } ;
-
- class DELPHICLASS TAxisEditorForm;
- class PASCALIMPLEMENTATION TAxisEditorForm : public Forms::TForm
- {
- typedef Forms::TForm inherited;
-
- __published:
- Buttons::TBitBtn* HelpBitBtn;
- Buttons::TBitBtn* CancelBitBtn;
- Buttons::TBitBtn* OKBitBtn;
- Stdctrls::TCheckBox* VisibleCheckBox;
- Stdctrls::TGroupBox* PenGroupBox;
- Stdctrls::TLabel* PenColorLabel;
- Stdctrls::TLabel* PenWidthLabel;
- Stdctrls::TComboBox* PenWidthComboBox;
- Stdctrls::TComboBox* PenStyleComboBox;
- Stdctrls::TLabel* PenStyleLabel;
- Stdctrls::TGroupBox* LabelsGroupBox;
- Stdctrls::TLabel* DigitsLabel;
- Stdctrls::TLabel* PrecisionLabel;
- Stdctrls::TLabel* FormatLabel;
- Stdctrls::TComboBox* DigitsComboBox;
- Stdctrls::TComboBox* PrecisionComboBox;
- Stdctrls::TComboBox* FormatComboBox;
- Stdctrls::TGroupBox* TickGroupBox;
- Stdctrls::TLabel* TickSizeLabel;
- Stdctrls::TLabel* TickDirectionLabel;
- Stdctrls::TComboBox* TickDirectionComboBox;
- Stdctrls::TLabel* StepSizeLabel;
- Stdctrls::TGroupBox* ScaleGroupBox;
- Stdctrls::TLabel* InterceptLabel;
- Stdctrls::TCheckBox* LogScaleCheckBox;
- Stdctrls::TLabel* MinLabel;
- Stdctrls::TLabel* MaxLabel;
- Stdctrls::TGroupBox* ArrowsGroupBox;
- Stdctrls::TLabel* ArrowSizeLabel;
- Stdctrls::TLabel* ArrowDirectionLabel;
- Stdctrls::TComboBox* ArrowDirectionComboBox;
- Stdctrls::TEdit* TitleEdit;
- Stdctrls::TLabel* TickMinorsLabel;
- Stdctrls::TComboBox* MinorsComboBox;
- Stdctrls::TComboBox* NoComboBox;
- Stdctrls::TLabel* AxisNumberLabel;
- Stdctrls::TCheckBox* AutoScaleCheckBox;
- Nedit::TNEdit* TickSizeNEdit;
- Nedit::TNEdit* StepSizeNEdit;
- Nedit::TNEdit* MinNEdit;
- Nedit::TNEdit* MaxNEdit;
- Nedit::TNEdit* InterceptNEdit;
- Nedit::TNEdit* ArrowSizeNEdit;
- Coloredt::TColorEdit* PenColorEdit;
- Buttons::TBitBtn* ApplyBitBtn;
- Stdctrls::TLabel* LabelDirectionLabel;
- Stdctrls::TComboBox* LabelDirectionComboBox;
- Stdctrls::TGroupBox* ZAxisGroupBox;
- Stdctrls::TLabel* ZAngleLabel;
- Stdctrls::TLabel* ZLengthLabel;
- Nedit::TNEdit* ZAngleNEdit;
- Nedit::TNEdit* ZLengthNEdit;
- Stdctrls::TLabel* ZInterceptLabel;
- Nedit::TNEdit* ZInterceptNEdit;
- Stdctrls::TGroupBox* LimitsGroupBox;
- Stdctrls::TLabel* LowerLimitLabel;
- Stdctrls::TLabel* UpperLimitLabel;
- Nedit::TNEdit* LowerLimitNEdit;
- Nedit::TNEdit* UpperLimitNEdit;
- Stdctrls::TCheckBox* LimitsVisibleCheckBox;
- void __fastcall FormCreate(System::TObject* Sender);
- void __fastcall FormatComboBoxClick(System::TObject* Sender);
- void __fastcall FormClose(System::TObject* Sender, Forms::TCloseAction &Action);
- void __fastcall PenStyleComboBoxClick(System::TObject* Sender);
- void __fastcall FormActivate(System::TObject* Sender);
- void __fastcall FormDestroy(System::TObject* Sender);
- void __fastcall NoComboBoxClick(System::TObject* Sender);
- void __fastcall TitleEditChange(System::TObject* Sender);
- void __fastcall DigitsComboBoxClick(System::TObject* Sender);
- void __fastcall PrecisionComboBoxClick(System::TObject* Sender);
- void __fastcall TickDirectionComboBoxClick(System::TObject* Sender);
- void __fastcall TickSizeNEditChange(System::TObject* Sender);
- void __fastcall StepSizeNEditChange(System::TObject* Sender);
- void __fastcall MinNEditChange(System::TObject* Sender);
- void __fastcall MaxNEditChange(System::TObject* Sender);
- void __fastcall InterceptNEditChange(System::TObject* Sender);
- void __fastcall MinorsComboBoxClick(System::TObject* Sender);
- void __fastcall ArrowDirectionComboBoxClick(System::TObject* Sender);
- void __fastcall ArrowSizeNEditChange(System::TObject* Sender);
- void __fastcall VisibleCheckBoxClick(System::TObject* Sender);
- void __fastcall AutoScaleCheckBoxClick(System::TObject* Sender);
- void __fastcall LogScaleCheckBoxClick(System::TObject* Sender);
- void __fastcall PenWidthComboBoxClick(System::TObject* Sender);
- void __fastcall PenColorEditChange(System::TObject* Sender);
- void __fastcall ApplyBitBtnClick(System::TObject* Sender);
- void __fastcall LabelDirectionComboBoxClick(System::TObject* Sender);
- void __fastcall ZAngleNEditChange(System::TObject* Sender);
- void __fastcall ZLengthNEditChange(System::TObject* Sender);
- void __fastcall ZInterceptNEditChange(System::TObject* Sender);
- void __fastcall LowerLimitNEditChange(System::TObject* Sender);
- void __fastcall UpperLimitNEditChange(System::TObject* Sender);
- void __fastcall LimitsVisibleCheckBoxClick(System::TObject* Sender);
-
- private:
- TAxisProperty *pAXP;
- int CurrentIndex;
-
- public:
- Classes::TList* AxisPropertyList;
- Classes::TStringList* AxisNames;
- bool HistoryMode;
- System::TObject* ThePlot;
- int __fastcall AddAxis(System::AnsiString AName, const TAxisProperty &AnAxisProperty);
- void __fastcall SelectAxis(int Index);
- void __fastcall DoHintsFromResource(void);
- public:
- /* TCustomForm.Create */ __fastcall virtual TAxisEditorForm(Classes::TComponent* AOwner) : Forms::TForm(
- AOwner) { }
- /* TCustomForm.CreateNew */ __fastcall TAxisEditorForm(Classes::TComponent* AOwner, int Dummy) : Forms::
- TForm(AOwner, Dummy) { }
- /* TCustomForm.Destroy */ __fastcall virtual ~TAxisEditorForm(void) { }
-
- public:
- /* TWinControl.CreateParented */ __fastcall TAxisEditorForm(HWND ParentWindow) : Forms::TForm(ParentWindow
- ) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
- extern PACKAGE TAxisEditorForm* AxisEditorForm;
-
- } /* namespace Axisedit */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Axisedit;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // Axisedit
-