1 |
|
5 |
//------------------------------------------------------------
|
2 |
|
|
//------------------------------------------------------------
|
3 |
|
|
// MAGiC
|
4 |
|
|
// Jean Christophe Cuillière et Vincent FRANCOIS
|
5 |
|
|
// Département de Génie Mécanique - UQTR
|
6 |
|
|
//------------------------------------------------------------
|
7 |
|
|
// Le projet MAGIC est un projet de recherche du département
|
8 |
|
|
// de génie mécanique de l'Université du Québec à
|
9 |
|
|
// Trois Rivières
|
10 |
|
|
// Les librairies ne peuvent être utilisées sans l'accord
|
11 |
|
|
// des auteurs (contact : francois@uqtr.ca)
|
12 |
|
|
//------------------------------------------------------------
|
13 |
|
|
//------------------------------------------------------------
|
14 |
|
|
//
|
15 |
|
|
// visugraph.h
|
16 |
|
|
//
|
17 |
|
|
//------------------------------------------------------------
|
18 |
|
|
//------------------------------------------------------------
|
19 |
|
|
// COPYRIGHT 2000
|
20 |
|
|
// Version du 02/03/2006 à 11H25
|
21 |
|
|
//------------------------------------------------------------
|
22 |
|
|
//------------------------------------------------------------
|
23 |
|
|
|
24 |
|
|
#ifndef visugraphH
|
25 |
|
|
#define visugraphH
|
26 |
|
|
//---------------------------------------------------------------------------
|
27 |
|
|
#include <Classes.hpp>
|
28 |
|
|
#include <Controls.hpp>
|
29 |
|
|
#include <StdCtrls.hpp>
|
30 |
|
|
#include <Forms.hpp>
|
31 |
|
|
#include <Chart.hpp>
|
32 |
|
|
#include <ExtCtrls.hpp>
|
33 |
|
|
#include <Series.hpp>
|
34 |
|
|
#include <TeEngine.hpp>
|
35 |
|
|
#include <TeeProcs.hpp>
|
36 |
|
|
#include <Menus.hpp>
|
37 |
|
|
#include <Dialogs.hpp>
|
38 |
|
|
//---------------------------------------------------------------------------
|
39 |
|
|
class Tgraph : public TForm
|
40 |
|
|
{
|
41 |
|
|
__published: // IDE-managed Components
|
42 |
|
|
TChart *Chart1;
|
43 |
|
|
TFastLineSeries *Series1;
|
44 |
|
|
TPopupMenu *PopupMenu1;
|
45 |
|
|
TMenuItem *Imprimer1;
|
46 |
|
|
TMenuItem *Couleur1;
|
47 |
|
|
TMenuItem *Haut1;
|
48 |
|
|
TMenuItem *Bas1;
|
49 |
|
|
TColorDialog *ColorDialog1;
|
50 |
|
|
TMenuItem *Courbe1;
|
51 |
|
|
TMenuItem *N2;
|
52 |
|
|
TMenuItem *Couleur2;
|
53 |
|
|
TMenuItem *Haut2;
|
54 |
|
|
TMenuItem *Bas2;
|
55 |
|
|
TMenuItem *Courbe2;
|
56 |
|
|
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
|
57 |
|
|
void __fastcall Imprimer1Click(TObject *Sender);
|
58 |
|
|
void __fastcall Haut1Click(TObject *Sender);
|
59 |
|
|
void __fastcall Bas1Click(TObject *Sender);
|
60 |
|
|
void __fastcall Courbe1Click(TObject *Sender);
|
61 |
|
|
void __fastcall FormCreate(TObject *Sender);
|
62 |
|
|
void __fastcall Haut2Click(TObject *Sender);
|
63 |
|
|
void __fastcall Bas2Click(TObject *Sender);
|
64 |
|
|
void __fastcall Courbe2Click(TObject *Sender);
|
65 |
|
|
private: // User declarations
|
66 |
|
|
public: // User declarations
|
67 |
|
|
__fastcall Tgraph(TComponent* Owner);
|
68 |
|
|
};
|
69 |
|
|
//---------------------------------------------------------------------------
|
70 |
|
|
extern PACKAGE Tgraph *graph;
|
71 |
|
|
//---------------------------------------------------------------------------
|
72 |
|
|
#endif
|