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 >
Wrap
C/C++ Source or Header
|
2001-07-31
|
5KB
|
139 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;
bool ShadeLimits;
} ;
class DELPHICLASS TSeriesEditorForm;
class PASCALIMPLEMENTATION TSeriesEditorForm : 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::TComboBox* NoComboBox;
Stdctrls::TGroupBox* DisplacementGroupBox;
Stdctrls::TLabel* DeltaXLabel;
Stdctrls::TLabel* DeltaYLabel;
Stdctrls::TLabel* SeriesNumberLabel;
Stdctrls::TEdit* NameEdit;
Stdctrls::TLabel* YAxisLabel;
Stdctrls::TComboBox* YAxisComboBox;
Stdctrls::TCheckBox* XDataIndependentCheckBox;
Stdctrls::TGroupBox* BrushGroupBox;
Stdctrls::TLabel* BrushColorLabel;
Stdctrls::TLabel* BrushStyleLabel;
Stdctrls::TComboBox* BrushStyleComboBox;
Nedit::TNEdit* DeltaXNEdit;
Nedit::TNEdit* DeltaYNEdit;
Coloredt::TColorEdit* PenColorEdit;
Coloredt::TColorEdit* BrushColorEdit;
Buttons::TBitBtn* ApplyBitBtn;
Stdctrls::TGroupBox* SymbolGroupBox;
Stdctrls::TLabel* SymbolSizeLabel;
Stdctrls::TComboBox* SymbolComboBox;
Nedit::TNEdit* SymbolSizeNEdit;
Stdctrls::TLabel* SymbolTypeLabel;
Stdctrls::TCheckBox* ShadedCheckBox;
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);
void __fastcall ShadedCheckBoxClick(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);
void __fastcall DoHintsFromResource(void);
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