forked from skutsaev/hellweg2d
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOptimizerResults.h
More file actions
54 lines (51 loc) · 1.67 KB
/
OptimizerResults.h
File metadata and controls
54 lines (51 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//---------------------------------------------------------------------------
#ifndef OptimizerResultsH
#define OptimizerResultsH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.Buttons.hpp>
#include <VCLTee.Chart.hpp>
#include <VCLTee.Series.hpp>
#include <VclTee.TeeGDIPlus.hpp>
#include <VCLTee.TeEngine.hpp>
#include <VCLTee.TeeProcs.hpp>
#include "Optimizer.h"
//---------------------------------------------------------------------------
class TOptForm : public TForm
{
__published: // IDE-managed Components
TPanel *MainPanel;
TPanel *BottomPanel;
TChart *MainChart;
TLineSeries *LineSeries;
TButton *CloseButton;
TSpeedButton *EnergyButton;
TLineSeries *AddSeries;
TSpeedButton *CaptureButton;
TPanel *InfoPanel;
TSpeedButton *SpectrumButton;
TSpeedButton *PhaseButton;
void __fastcall CloseButtonClick(TObject *Sender);
void __fastcall EnergyButtonClick(TObject *Sender);
void __fastcall CaptureButtonClick(TObject *Sender);
void __fastcall SpectrumButtonClick(TObject *Sender);
void __fastcall PhaseButtonClick(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
private: // User declarations
void ClearChart();
void DrawEnergy();
void DrawCapture();
void DrawSpectrum();
void DrawPhase();
public: // User declarations
__fastcall TOptForm(TComponent* Owner);
TOptimizer Optimizer;
};
//---------------------------------------------------------------------------
extern PACKAGE TOptForm *OptForm;
//---------------------------------------------------------------------------
#endif