home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 September / Chip_2001-09_cd1.bin / zkuste / delphi / kolekce / d12345 / CHEMPLOT.ZIP / TPlot / Seredit.hpp < prev    next >
C/C++ Source or Header  |  2001-06-01  |  4KB  |  135 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. } ;
  46.  
  47. class DELPHICLASS TSeriesEditorForm;
  48. class PASCALIMPLEMENTATION TSeriesEditorForm : public Forms::TForm 
  49. {
  50.     typedef Forms::TForm inherited;
  51.     
  52. __published:
  53.     Buttons::TBitBtn* HelpBitBtn;
  54.     Buttons::TBitBtn* CancelBitBtn;
  55.     Buttons::TBitBtn* OKBitBtn;
  56.     Stdctrls::TLabel* Label1;
  57.     Stdctrls::TLabel* Label3;
  58.     Stdctrls::TCheckBox* VisibleCheckBox;
  59.     Stdctrls::TComboBox* SymbolComboBox;
  60.     Stdctrls::TGroupBox* PenGroupBox;
  61.     Stdctrls::TLabel* Label2;
  62.     Stdctrls::TLabel* Label4;
  63.     Stdctrls::TComboBox* PenWidthComboBox;
  64.     Stdctrls::TComboBox* PenStyleComboBox;
  65.     Stdctrls::TLabel* Label5;
  66.     Stdctrls::TComboBox* NoComboBox;
  67.     Stdctrls::TGroupBox* GroupBox1;
  68.     Stdctrls::TLabel* Label6;
  69.     Stdctrls::TLabel* Label7;
  70.     Stdctrls::TLabel* Label8;
  71.     Stdctrls::TLabel* NoLabel;
  72.     Stdctrls::TEdit* NameEdit;
  73.     Stdctrls::TLabel* Label10;
  74.     Stdctrls::TComboBox* YAxisComboBox;
  75.     Stdctrls::TCheckBox* XDataIndependentCheckBox;
  76.     Stdctrls::TGroupBox* BrushGroupBox;
  77.     Stdctrls::TLabel* Label11;
  78.     Stdctrls::TLabel* Label13;
  79.     Stdctrls::TComboBox* BrushStyleComboBox;
  80.     Nedit::TNEdit* SymbolSizeNEdit;
  81.     Nedit::TNEdit* DeltaXNEdit;
  82.     Nedit::TNEdit* DeltaYNEdit;
  83.     Coloredt::TColorEdit* PenColorEdit;
  84.     Coloredt::TColorEdit* BrushColorEdit;
  85.     Buttons::TBitBtn* ApplyBitBtn;
  86.     void __fastcall FormCreate(System::TObject* Sender);
  87.     void __fastcall FormDestroy(System::TObject* Sender);
  88.     void __fastcall NoComboBoxClick(System::TObject* Sender);
  89.     void __fastcall PenWidthComboBoxClick(System::TObject* Sender);
  90.     void __fastcall PenStyleComboBoxClick(System::TObject* Sender);
  91.     void __fastcall SymbolComboBoxClick(System::TObject* Sender);
  92.     void __fastcall VisibleCheckBoxClick(System::TObject* Sender);
  93.     void __fastcall YAxisComboBoxClick(System::TObject* Sender);
  94.     void __fastcall DeltaXNEditChange(System::TObject* Sender);
  95.     void __fastcall DeltaYNEditChange(System::TObject* Sender);
  96.     void __fastcall SymbolSizeNEditChange(System::TObject* Sender);
  97.     void __fastcall NameEditChange(System::TObject* Sender);
  98.     void __fastcall XDataIndependentCheckBoxClick(System::TObject* Sender);
  99.     void __fastcall PenColorEditChange(System::TObject* Sender);
  100.     void __fastcall BrushColorEditChange(System::TObject* Sender);
  101.     void __fastcall ApplyBitBtnClick(System::TObject* Sender);
  102.     
  103. private:
  104.     TSeriesProperty *pASP;
  105.     int CurrentIndex;
  106.     
  107. public:
  108.     Classes::TList* SeriesPropertyList;
  109.     Classes::TStringList* SeriesNames;
  110.     System::TObject* ThePlot;
  111.     int __fastcall AddSeries(System::AnsiString AName, const TSeriesProperty &ASeriesProperty);
  112.     void __fastcall SelectSeries(int Index);
  113. public:
  114.     /* TCustomForm.Create */ __fastcall virtual TSeriesEditorForm(Classes::TComponent* AOwner) : Forms::
  115.         TForm(AOwner) { }
  116.     /* TCustomForm.CreateNew */ __fastcall TSeriesEditorForm(Classes::TComponent* AOwner, int Dummy) : 
  117.         Forms::TForm(AOwner, Dummy) { }
  118.     /* TCustomForm.Destroy */ __fastcall virtual ~TSeriesEditorForm(void) { }
  119.     
  120. public:
  121.     /* TWinControl.CreateParented */ __fastcall TSeriesEditorForm(HWND ParentWindow) : Forms::TForm(ParentWindow
  122.         ) { }
  123.     
  124. };
  125.  
  126. //-- var, const, procedure ---------------------------------------------------
  127. extern PACKAGE TSeriesEditorForm* SeriesEditorForm;
  128.  
  129. }    /* namespace Seredit */
  130. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  131. using namespace Seredit;
  132. #endif
  133. //-- end unit ----------------------------------------------------------------
  134. #endif    // Seredit
  135.