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 >
Wrap
C/C++ Source or Header
|
2001-06-01
|
4KB
|
135 lines
// Borland C++ Builder
// Copyright (c) 1995, 1998 by Borland International
// All rights reserved
// (DO NOT EDIT: machine generated header) 'Seredit.pas' rev: 3.00
#ifndef SereditHPP
#define SereditHPP
#include <Coloredt.hpp>
#include <Plotdefs.hpp>
#include <Nedit.hpp>
#include <Misc.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 Seredit
{
//-- type declarations -------------------------------------------------------
struct TSeriesProperty
{
Graphics::TColor PenColor;
int PenWidthIndex;
int PenStyleIndex;
Graphics::TColor BrushColor;
int BrushStyleIndex;
int SymbolIndex;
int SymbolSize;
Byte YAxisIndex;
int DeltaX;
int DeltaY;
bool XDataIndependent;
bool ExternalXSeries;
bool Visible;
} ;
class DELPHICLASS TSeriesEditorForm;
class PASCALIMPLEMENTATION TSeriesEditorForm : public Forms::TForm
{
typedef Forms::TForm inherited;
__published:
Buttons::TBitBtn* HelpBitBtn;
Buttons::TBitBtn* CancelBitBtn;
Buttons::TBitBtn* OKBitBtn;
Stdctrls::TLabel* Label1;
Stdctrls::TLabel* Label3;
Stdctrls::TCheckBox* VisibleCheckBox;
Stdctrls::TComboBox* SymbolComboBox;
Stdctrls::TGroupBox* PenGroupBox;
Stdctrls::TLabel* Label2;
Stdctrls::TLabel* Label4;
Stdctrls::TComboBox* PenWidthComboBox;
Stdctrls::TComboBox* PenStyleComboBox;
Stdctrls::TLabel* Label5;
Stdctrls::TComboBox* NoComboBox;
Stdctrls::TGroupBox* GroupBox1;
Stdctrls::TLabel* Label6;
Stdctrls::TLabel* Label7;
Stdctrls::TLabel* Label8;
Stdctrls::TLabel* NoLabel;
Stdctrls::TEdit* NameEdit;
Stdctrls::TLabel* Label10;
Stdctrls::TComboBox* YAxisComboBox;
Stdctrls::TCheckBox* XDataIndependentCheckBox;
Stdctrls::TGroupBox* BrushGroupBox;
Stdctrls::TLabel* Label11;
Stdctrls::TLabel* Label13;
Stdctrls::TComboBox* BrushStyleComboBox;
Nedit::TNEdit* SymbolSizeNEdit;
Nedit::TNEdit* DeltaXNEdit;
Nedit::TNEdit* DeltaYNEdit;
Coloredt::TColorEdit* PenColorEdit;
Coloredt::TColorEdit* BrushColorEdit;
Buttons::TBitBtn* ApplyBitBtn;
void __fastcall FormCreate(System::TObject* Sender);
void __fastcall FormDestroy(System::TObject* Sender);
void __fastcall NoComboBoxClick(System::TObject* Sender);
void __fastcall PenWidthComboBoxClick(System::TObject* Sender);
void __fastcall PenStyleComboBoxClick(System::TObject* Sender);
void __fastcall SymbolComboBoxClick(System::TObject* Sender);
void __fastcall VisibleCheckBoxClick(System::TObject* Sender);
void __fastcall YAxisComboBoxClick(System::TObject* Sender);
void __fastcall DeltaXNEditChange(System::TObject* Sender);
void __fastcall DeltaYNEditChange(System::TObject* Sender);
void __fastcall SymbolSizeNEditChange(System::TObject* Sender);
void __fastcall NameEditChange(System::TObject* Sender);
void __fastcall XDataIndependentCheckBoxClick(System::TObject* Sender);
void __fastcall PenColorEditChange(System::TObject* Sender);
void __fastcall BrushColorEditChange(System::TObject* Sender);
void __fastcall ApplyBitBtnClick(System::TObject* Sender);
private:
TSeriesProperty *pASP;
int CurrentIndex;
public:
Classes::TList* SeriesPropertyList;
Classes::TStringList* SeriesNames;
System::TObject* ThePlot;
int __fastcall AddSeries(System::AnsiString AName, const TSeriesProperty &ASeriesProperty);
void __fastcall SelectSeries(int Index);
public:
/* TCustomForm.Create */ __fastcall virtual TSeriesEditorForm(Classes::TComponent* AOwner) : Forms::
TForm(AOwner) { }
/* TCustomForm.CreateNew */ __fastcall TSeriesEditorForm(Classes::TComponent* AOwner, int Dummy) :
Forms::TForm(AOwner, Dummy) { }
/* TCustomForm.Destroy */ __fastcall virtual ~TSeriesEditorForm(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TSeriesEditorForm(HWND ParentWindow) : Forms::TForm(ParentWindow
) { }
};
//-- var, const, procedure ---------------------------------------------------
extern PACKAGE TSeriesEditorForm* SeriesEditorForm;
} /* namespace Seredit */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Seredit;
#endif
//-- end unit ----------------------------------------------------------------
#endif // Seredit