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 |
|
|
// magicform.h
|
16 |
|
|
//
|
17 |
|
|
//------------------------------------------------------------
|
18 |
|
|
//------------------------------------------------------------
|
19 |
|
|
// COPYRIGHT 2000
|
20 |
|
|
// Version du 02/03/2006 à 11H25
|
21 |
|
|
//------------------------------------------------------------
|
22 |
|
|
//------------------------------------------------------------
|
23 |
|
|
|
24 |
|
|
#ifndef magicformH
|
25 |
|
|
#define magicformH
|
26 |
|
|
//---------------------------------------------------------------------------
|
27 |
|
|
#include <Classes.hpp>
|
28 |
|
|
#include <Controls.hpp>
|
29 |
|
|
#include <StdCtrls.hpp>
|
30 |
|
|
#include <Forms.hpp>
|
31 |
|
|
#include <ComCtrls.hpp>
|
32 |
|
|
#include <ToolWin.hpp>
|
33 |
|
|
#include <ImgList.hpp>
|
34 |
|
|
#include "CGAUGES.h"
|
35 |
|
|
#include "main.h"
|
36 |
|
|
#include "PERFGRAP.h"
|
37 |
|
|
#include <ExtCtrls.hpp>
|
38 |
|
|
#include <Dialogs.hpp>
|
39 |
|
|
//---------------------------------------------------------------------------
|
40 |
|
|
class TVisuMagicform : public TForm
|
41 |
|
|
{
|
42 |
|
|
__published: // IDE-managed Components
|
43 |
|
|
|
44 |
|
|
TButton *Button1;
|
45 |
|
|
TLabel *Label1;
|
46 |
|
|
TRadioButton *RadioButton1;
|
47 |
|
|
TGroupBox *GroupBox2;
|
48 |
|
|
TEdit *Edit1;
|
49 |
|
|
TEdit *Edit2;
|
50 |
|
|
TLabel *Label2;
|
51 |
|
|
TLabel *Label3;
|
52 |
|
|
TGroupBox *GroupBox3;
|
53 |
|
|
TRadioButton *RadioButton2;
|
54 |
|
|
TRadioButton *RadioButton3;
|
55 |
|
|
TRadioButton *RadioButton4;
|
56 |
|
|
TGroupBox *GroupBox1;
|
57 |
|
|
TRadioButton *RadioButton5;
|
58 |
|
|
TRadioButton *RadioButton6;
|
59 |
|
|
TButton *Button3;
|
60 |
|
|
TOpenDialog *OpenDialog1;
|
61 |
francois |
62 |
TButton *Button2;
|
62 |
|
|
TRadioButton *RadioButton7;
|
63 |
|
|
TGroupBox *GroupBox4;
|
64 |
|
|
TCheckBox *CheckBox2;
|
65 |
|
|
TCheckBox *CheckBox1;
|
66 |
|
|
TTrackBar *TrackBar2;
|
67 |
|
|
TLabel *Label4;
|
68 |
|
|
TComboBox *ComboBox1;
|
69 |
|
|
TLabel *Label5;
|
70 |
|
|
TEdit *Edit7;
|
71 |
|
5 |
TTrackBar *TrackBar1;
|
72 |
|
|
TLabel *Label8;
|
73 |
francois |
62 |
TEdit *Edit3;
|
74 |
|
|
TCheckBox *CheckBox3;
|
75 |
|
|
TEdit *Edit4;
|
76 |
|
|
TButton *Button4;
|
77 |
|
|
TOpenDialog *OpenDialog2;
|
78 |
|
|
TTrackBar *TrackBar3;
|
79 |
|
|
TEdit *Edit5;
|
80 |
francois |
98 |
TRadioButton *RadioButton8;
|
81 |
|
|
TGroupBox *GroupBox5;
|
82 |
|
|
TEdit *Edit6;
|
83 |
|
|
TLabel *Label6;
|
84 |
|
|
TButton *Button5;
|
85 |
|
|
TCheckBox *CheckBox4;
|
86 |
|
|
TGroupBox *GroupBox6;
|
87 |
|
|
TEdit *Edit8;
|
88 |
|
|
TTrackBar *TrackBar4;
|
89 |
|
|
TCheckBox *CheckBox5;
|
90 |
|
5 |
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
|
91 |
|
|
void __fastcall RadioButton1Click(TObject *Sender);
|
92 |
|
|
void __fastcall Button1Click(TObject *Sender);
|
93 |
|
|
void __fastcall RadioButton6Click(TObject *Sender);
|
94 |
|
|
void __fastcall Button3Click(TObject *Sender);
|
95 |
|
|
void __fastcall TrackBar1Change(TObject *Sender);
|
96 |
|
|
void __fastcall Button2Click(TObject *Sender);
|
97 |
francois |
62 |
void __fastcall RadioButton7Click(TObject *Sender);
|
98 |
|
|
void __fastcall TrackBar2Change(TObject *Sender);
|
99 |
|
|
void __fastcall Button4Click(TObject *Sender);
|
100 |
|
|
void __fastcall CheckBox3Click(TObject *Sender);
|
101 |
|
|
void __fastcall TrackBar3Change(TObject *Sender);
|
102 |
francois |
98 |
void __fastcall Button5Click(TObject *Sender);
|
103 |
|
|
void __fastcall TrackBar4Change(TObject *Sender);
|
104 |
|
|
void __fastcall CheckBox5Click(TObject *Sender);
|
105 |
|
5 |
private: // User declarations
|
106 |
|
|
|
107 |
|
|
public: // User declarations
|
108 |
francois |
62 |
__fastcall TVisuMagicform(TComponent* Owner,TMainForm *win,MG_FILE* mgest);
|
109 |
|
5 |
class Thread_maille* maille_process;
|
110 |
|
|
TMainForm* fen;
|
111 |
francois |
62 |
MG_GESTIONNAIRE* gest;
|
112 |
|
5 |
};
|
113 |
|
|
//---------------------------------------------------------------------------
|
114 |
|
|
extern PACKAGE TVisuMagicform *VisuMagicform;
|
115 |
|
|
//---------------------------------------------------------------------------
|
116 |
|
|
#endif
|