home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 October / Chip_2001-10_cd1.bin / zkuste / delphi / kompon / d123456 / CHEMPLOT.ZIP / TPlot / Seredit.hpp < prev    next >
C/C++ Source or Header  |  2001-07-31  |  5KB  |  139 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) 'Seredit.pas' rev: 3.00
  6.  
  7. #ifndef SereditHPP
  8. #define SereditHPP
  9. #include <Coloredt.hpp>
  10. #include <Plotdefs.hpp>
  11. #include <Nedit.hpp>
  12. #include <Misc.hpp>
  13. #include <StdCtrls.hpp>
  14. #include <Graphics.hpp>
  15. #include <Forms.hpp>
  16. #include <Controls.hpp>
  17. #include <Buttons.hpp>
  18. #include <Windows.hpp>
  19. #include <TypInfo.hpp>
  20. #include <SysUtils.hpp>
  21. #include <Classes.hpp>
  22. #include <SysInit.hpp>
  23. #include <System.hpp>
  24.  
  25. //-- user supplied -----------------------------------------------------------
  26.  
  27. namespace Seredit
  28. {
  29. //-- type declarations -------------------------------------------------------
  30. struct TSeriesProperty
  31. {
  32.     Graphics::TColor PenColor;
  33.     int PenWidthIndex;
  34.     int PenStyleIndex;
  35.     Graphics::TColor BrushColor;
  36.     int BrushStyleIndex;
  37.     int SymbolIndex;
  38.     int SymbolSize;
  39.     Byte YAxisIndex;
  40.     int DeltaX;
  41.     int DeltaY;
  42.     bool XDataIndependent;
  43.     bool ExternalXSeries;
  44.     bool Visible;
  45.     bool ShadeLimits;
  46. } ;
  47.  
  48. class DELPHICLASS TSeriesEditorForm;
  49. class PASCALIMPLEMENTATION TSeriesEditorForm : public Forms::TForm 
  50. {
  51.     typedef Forms::TForm inherited;
  52.     
  53. __published:
  54.     Buttons::TBitBtn* HelpBitBtn;
  55.     Buttons::TBitBtn* CancelBitBtn;
  56.     Buttons::TBitBtn* OKBitBtn;
  57.     Stdctrls::TCheckBox* VisibleCheckBox;
  58.     Stdctrls::TGroupBox* PenGroupBox;
  59.     Stdctrls::TLabel* PenColorLabel;
  60.     Stdctrls::TLabel* PenWidthLabel;
  61.     Stdctrls::TComboBox* PenWidthComboBox;
  62.     Stdctrls::TComboBox* PenStyleComboBox;
  63.     Stdctrls::TLabel* PenStyleLabel;
  64.     Stdctrls::TComboBox* NoComboBox;
  65.     Stdctrls::TGroupBox* DisplacementGroupBox;
  66.     Stdctrls::TLabel* DeltaXLabel;
  67.     Stdctrls::TLabel* DeltaYLabel;
  68.     Stdctrls::TLabel* SeriesNumberLabel;
  69.     Stdctrls::TEdit* NameEdit;
  70.     Stdctrls::TLabel* YAxisLabel;
  71.     Stdctrls::TComboBox* YAxisComboBox;
  72.     Stdctrls::TCheckBox* XDataIndependentCheckBox;
  73.     Stdctrls::TGroupBox* BrushGroupBox;
  74.     Stdctrls::TLabel* BrushColorLabel;
  75.     Stdctrls::TLabel* BrushStyleLabel;
  76.     Stdctrls::TComboBox* BrushStyleComboBox;
  77.     Nedit::TNEdit* DeltaXNEdit;
  78.     Nedit::TNEdit* DeltaYNEdit;
  79.     Coloredt::TColorEdit* PenColorEdit;
  80.     Coloredt::TColorEdit* BrushColorEdit;
  81.     Buttons::TBitBtn* ApplyBitBtn;
  82.     Stdctrls::TGroupBox* SymbolGroupBox;
  83.     Stdctrls::TLabel* SymbolSizeLabel;
  84.     Stdctrls::TComboBox* SymbolComboBox;
  85.     Nedit::TNEdit* SymbolSizeNEdit;
  86.     Stdctrls::TLabel* SymbolTypeLabel;
  87.     Stdctrls::TCheckBox* ShadedCheckBox;
  88.     void __fastcall FormCreate(System::TObject* Sender);
  89.     void __fastcall FormDestroy(System::TObject* Sender);
  90.     void __fastcall NoComboBoxClick(System::TObject* Sender);
  91.     void __fastcall PenWidthComboBoxClick(System::TObject* Sender);
  92.     void __fastcall PenStyleComboBoxClick(System::TObject* Sender);
  93.     void __fastcall SymbolComboBoxClick(System::TObject* Sender);
  94.     void __fastcall VisibleCheckBoxClick(System::TObject* Sender);
  95.     void __fastcall YAxisComboBoxClick(System::TObject* Sender);
  96.     void __fastcall DeltaXNEditChange(System::TObject* Sender);
  97.     void __fastcall DeltaYNEditChange(System::TObject* Sender);
  98.     void __fastcall SymbolSizeNEditChange(System::TObject* Sender);
  99.     void __fastcall NameEditChange(System::TObject* Sender);
  100.     void __fastcall XDataIndependentCheckBoxClick(System::TObject* Sender);
  101.     void __fastcall PenColorEditChange(System::TObject* Sender);
  102.     void __fastcall BrushColorEditChange(System::TObject* Sender);
  103.     void __fastcall ApplyBitBtnClick(System::TObject* Sender);
  104.     void __fastcall ShadedCheckBoxClick(System::TObject* Sender);
  105.     
  106. private:
  107.     TSeriesProperty *pASP;
  108.     int CurrentIndex;
  109.     
  110. public:
  111.     Classes::TList* SeriesPropertyList;
  112.     Classes::TStringList* SeriesNames;
  113.     System::TObject* ThePlot;
  114.     int __fastcall AddSeries(System::AnsiString AName, const TSeriesProperty &ASeriesProperty);
  115.     void __fastcall SelectSeries(int Index);
  116.     void __fastcall DoHintsFromResource(void);
  117. public:
  118.     /* TCustomForm.Create */ __fastcall virtual TSeriesEditorForm(Classes::TComponent* AOwner) : Forms::
  119.         TForm(AOwner) { }
  120.     /* TCustomForm.CreateNew */ __fastcall TSeriesEditorForm(Classes::TComponent* AOwner, int Dummy) : 
  121.         Forms::TForm(AOwner, Dummy) { }
  122.     /* TCustomForm.Destroy */ __fastcall virtual ~TSeriesEditorForm(void) { }
  123.     
  124. public:
  125.     /* TWinControl.CreateParented */ __fastcall TSeriesEditorForm(HWND ParentWindow) : Forms::TForm(ParentWindow
  126.         ) { }
  127.     
  128. };
  129.  
  130. //-- var, const, procedure ---------------------------------------------------
  131. extern PACKAGE TSeriesEditorForm* SeriesEditorForm;
  132.  
  133. }    /* namespace Seredit */
  134. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  135. using namespace Seredit;
  136. #endif
  137. //-- end unit ----------------------------------------------------------------
  138. #endif    // Seredit
  139.