home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 September / Chip_2001-09_cd1.bin / zkuste / delphi / kolekce / d12345 / CHEMPLOT.ZIP / TPlot / Axisedit.hpp < prev    next >
C/C++ Source or Header  |  2001-06-01  |  6KB  |  176 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) 'Axisedit.pas' rev: 3.00
  6.  
  7. #ifndef AxiseditHPP
  8. #define AxiseditHPP
  9. #include <Coloredt.hpp>
  10. #include <Nedit.hpp>
  11. #include <Titles.hpp>
  12. #include <Misc.hpp>
  13. #include <Axis.hpp>
  14. #include <StdCtrls.hpp>
  15. #include <Graphics.hpp>
  16. #include <Forms.hpp>
  17. #include <Controls.hpp>
  18. #include <Buttons.hpp>
  19. #include <Windows.hpp>
  20. #include <TypInfo.hpp>
  21. #include <SysUtils.hpp>
  22. #include <Classes.hpp>
  23. #include <SysInit.hpp>
  24. #include <System.hpp>
  25.  
  26. //-- user supplied -----------------------------------------------------------
  27.  
  28. namespace Axisedit
  29. {
  30. //-- type declarations -------------------------------------------------------
  31. struct TAxisProperty
  32. {
  33.     bool Visible;
  34.     TLabelFormat LabelFormat;
  35.     Byte LabelDigits;
  36.     Byte LabelPrecision;
  37.     TDirection LabelDirection;
  38.     Graphics::TColor PenColor;
  39.     int PenWidthIndex;
  40.     int PenStyleIndex;
  41.     Byte TickSize;
  42.     TOrientation TickDirection;
  43.     float TickStepSize;
  44.     Byte TickMinors;
  45.     float ScaleMin;
  46.     float ScaleMax;
  47.     float ScaleIntercept;
  48.     bool ScaleAuto;
  49.     bool ScaleLog;
  50.     Byte ArrowSize;
  51.     TAlignment ArrowDirection;
  52.     Word ZAngle;
  53.     Word ZLength;
  54. } ;
  55.  
  56. class DELPHICLASS TAxisEditorForm;
  57. class PASCALIMPLEMENTATION TAxisEditorForm : public Forms::TForm 
  58. {
  59.     typedef Forms::TForm inherited;
  60.     
  61. __published:
  62.     Buttons::TBitBtn* HelpBitBtn;
  63.     Buttons::TBitBtn* CancelBitBtn;
  64.     Buttons::TBitBtn* OKBitBtn;
  65.     Stdctrls::TCheckBox* VisibleCheckBox;
  66.     Stdctrls::TGroupBox* PenGroupBox;
  67.     Stdctrls::TLabel* Label2;
  68.     Stdctrls::TLabel* Label4;
  69.     Stdctrls::TComboBox* PenWidthComboBox;
  70.     Stdctrls::TComboBox* PenStyleComboBox;
  71.     Stdctrls::TLabel* Label5;
  72.     Stdctrls::TGroupBox* GroupBox1;
  73.     Stdctrls::TLabel* Label6;
  74.     Stdctrls::TLabel* Label7;
  75.     Stdctrls::TLabel* Label9;
  76.     Stdctrls::TComboBox* DigitsComboBox;
  77.     Stdctrls::TComboBox* PrecisionComboBox;
  78.     Stdctrls::TComboBox* FormatComboBox;
  79.     Stdctrls::TGroupBox* GroupBox2;
  80.     Stdctrls::TLabel* Label10;
  81.     Stdctrls::TLabel* Label11;
  82.     Stdctrls::TComboBox* TickDirectionComboBox;
  83.     Stdctrls::TLabel* StepSizeLabel;
  84.     Stdctrls::TGroupBox* GroupBox3;
  85.     Stdctrls::TLabel* InterceptLabel;
  86.     Stdctrls::TCheckBox* LogScaleCheckBox;
  87.     Stdctrls::TLabel* MinLabel;
  88.     Stdctrls::TLabel* MaxLabel;
  89.     Stdctrls::TGroupBox* GroupBox4;
  90.     Stdctrls::TLabel* Label1;
  91.     Stdctrls::TLabel* Label3;
  92.     Stdctrls::TComboBox* ArrowDirectionComboBox;
  93.     Stdctrls::TEdit* TitleEdit;
  94.     Stdctrls::TLabel* Label13;
  95.     Stdctrls::TComboBox* MinorsComboBox;
  96.     Stdctrls::TComboBox* NoComboBox;
  97.     Stdctrls::TLabel* AxisNumberLabel;
  98.     Stdctrls::TCheckBox* AutoScaleCheckBox;
  99.     Nedit::TNEdit* TickSizeNEdit;
  100.     Nedit::TNEdit* StepSizeNEdit;
  101.     Nedit::TNEdit* MinNEdit;
  102.     Nedit::TNEdit* MaxNEdit;
  103.     Nedit::TNEdit* InterceptNEdit;
  104.     Nedit::TNEdit* ArrowSizeNEdit;
  105.     Coloredt::TColorEdit* PenColorEdit;
  106.     Buttons::TBitBtn* ApplyBitBtn;
  107.     Stdctrls::TLabel* Label8;
  108.     Stdctrls::TComboBox* LabelDirectionComboBox;
  109.     Stdctrls::TGroupBox* ZAxisGroupBox;
  110.     Stdctrls::TLabel* ZAngleLabel;
  111.     Stdctrls::TLabel* ZLengthLabel;
  112.     Nedit::TNEdit* ZAngleNEdit;
  113.     Nedit::TNEdit* ZLengthNEdit;
  114.     void __fastcall FormCreate(System::TObject* Sender);
  115.     void __fastcall FormatComboBoxClick(System::TObject* Sender);
  116.     void __fastcall FormClose(System::TObject* Sender, Forms::TCloseAction &Action);
  117.     void __fastcall PenStyleComboBoxClick(System::TObject* Sender);
  118.     void __fastcall FormActivate(System::TObject* Sender);
  119.     void __fastcall FormDestroy(System::TObject* Sender);
  120.     void __fastcall NoComboBoxClick(System::TObject* Sender);
  121.     void __fastcall TitleEditChange(System::TObject* Sender);
  122.     void __fastcall DigitsComboBoxClick(System::TObject* Sender);
  123.     void __fastcall PrecisionComboBoxClick(System::TObject* Sender);
  124.     void __fastcall TickDirectionComboBoxClick(System::TObject* Sender);
  125.     void __fastcall TickSizeNEditChange(System::TObject* Sender);
  126.     void __fastcall StepSizeNEditChange(System::TObject* Sender);
  127.     void __fastcall MinNEditChange(System::TObject* Sender);
  128.     void __fastcall MaxNEditChange(System::TObject* Sender);
  129.     void __fastcall InterceptNEditChange(System::TObject* Sender);
  130.     void __fastcall MinorsComboBoxClick(System::TObject* Sender);
  131.     void __fastcall ArrowDirectionComboBoxClick(System::TObject* Sender);
  132.     void __fastcall ArrowSizeNEditChange(System::TObject* Sender);
  133.     void __fastcall VisibleCheckBoxClick(System::TObject* Sender);
  134.     void __fastcall AutoScaleCheckBoxClick(System::TObject* Sender);
  135.     void __fastcall LogScaleCheckBoxClick(System::TObject* Sender);
  136.     void __fastcall PenWidthComboBoxClick(System::TObject* Sender);
  137.     void __fastcall PenColorEditChange(System::TObject* Sender);
  138.     void __fastcall ApplyBitBtnClick(System::TObject* Sender);
  139.     void __fastcall LabelDirectionComboBoxClick(System::TObject* Sender);
  140.     void __fastcall ZAngleNEditChange(System::TObject* Sender);
  141.     void __fastcall ZLengthNEditChange(System::TObject* Sender);
  142.     
  143. private:
  144.     TAxisProperty *pAXP;
  145.     int CurrentIndex;
  146.     
  147. public:
  148.     Classes::TList* AxisPropertyList;
  149.     Classes::TStringList* AxisNames;
  150.     bool HistoryMode;
  151.     System::TObject* ThePlot;
  152.     int __fastcall AddAxis(System::AnsiString AName, const TAxisProperty &AnAxisProperty);
  153.     void __fastcall SelectAxis(int Index);
  154. public:
  155.     /* TCustomForm.Create */ __fastcall virtual TAxisEditorForm(Classes::TComponent* AOwner) : Forms::TForm(
  156.         AOwner) { }
  157.     /* TCustomForm.CreateNew */ __fastcall TAxisEditorForm(Classes::TComponent* AOwner, int Dummy) : Forms::
  158.         TForm(AOwner, Dummy) { }
  159.     /* TCustomForm.Destroy */ __fastcall virtual ~TAxisEditorForm(void) { }
  160.     
  161. public:
  162.     /* TWinControl.CreateParented */ __fastcall TAxisEditorForm(HWND ParentWindow) : Forms::TForm(ParentWindow
  163.         ) { }
  164.     
  165. };
  166.  
  167. //-- var, const, procedure ---------------------------------------------------
  168. extern PACKAGE TAxisEditorForm* AxisEditorForm;
  169.  
  170. }    /* namespace Axisedit */
  171. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  172. using namespace Axisedit;
  173. #endif
  174. //-- end unit ----------------------------------------------------------------
  175. #endif    // Axisedit
  176.