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 |
|
|
// config.h
|
16 |
|
|
//
|
17 |
|
|
//------------------------------------------------------------
|
18 |
|
|
//------------------------------------------------------------
|
19 |
|
|
// COPYRIGHT 2000
|
20 |
|
|
// Version du 02/03/2006 à 11H25
|
21 |
|
|
//------------------------------------------------------------
|
22 |
|
|
//------------------------------------------------------------
|
23 |
|
|
|
24 |
|
|
#ifndef configH
|
25 |
|
|
#define configH
|
26 |
|
|
//---------------------------------------------------------------------------
|
27 |
|
|
#include <Classes.hpp>
|
28 |
|
|
#include <Controls.hpp>
|
29 |
|
|
#include <StdCtrls.hpp>
|
30 |
|
|
#include <Forms.hpp>
|
31 |
|
|
#include <ComCtrls.hpp>
|
32 |
|
|
#include <Dialogs.hpp>
|
33 |
|
|
#include <ComCtrls.hpp>
|
34 |
|
|
#include <Tabnotbk.hpp>
|
35 |
|
|
#include <Dialogs.hpp>
|
36 |
|
|
//---------------------------------------------------------------------------
|
37 |
|
|
class Tconfigwin : public TForm
|
38 |
|
|
{
|
39 |
|
|
__published: // IDE-managed Components
|
40 |
|
|
TPageControl *PageControl1;
|
41 |
|
|
TTabSheet *TabSheet1;
|
42 |
|
|
TTabSheet *TabSheet2;
|
43 |
|
|
TTabSheet *TabSheet3;
|
44 |
|
|
TTabSheet *TabSheet4;
|
45 |
|
|
TTabSheet *TabSheet5;
|
46 |
|
|
TButton *Button1;
|
47 |
|
|
TGroupBox *GroupBox1;
|
48 |
|
|
TLabel *Label4;
|
49 |
|
|
TLabel *Label1;
|
50 |
|
|
TLabel *Label3;
|
51 |
|
|
TColorDialog *ColorDialog1;
|
52 |
|
|
TLabel *Label5;
|
53 |
|
|
TButton *Button2;
|
54 |
|
|
TLabel *Label6;
|
55 |
|
|
TLabel *Label7;
|
56 |
|
|
TButton *Button3;
|
57 |
|
|
TButton *Button4;
|
58 |
|
|
TLabel *Label8;
|
59 |
|
|
TLabel *Label9;
|
60 |
|
|
TUpDown *UpDown1;
|
61 |
|
|
TTabSheet *TabSheet6;
|
62 |
|
|
TGroupBox *GroupBox2;
|
63 |
|
|
TLabel *Label10;
|
64 |
|
|
TButton *Button5;
|
65 |
|
|
TLabel *Label11;
|
66 |
|
|
TLabel *Label12;
|
67 |
|
|
TUpDown *UpDown2;
|
68 |
|
|
TTabSheet *TabSheet7;
|
69 |
|
|
TGroupBox *GroupBox3;
|
70 |
|
|
TGroupBox *GroupBox4;
|
71 |
|
|
TGroupBox *GroupBox5;
|
72 |
|
|
TLabel *Label13;
|
73 |
|
|
TButton *Button6;
|
74 |
|
|
TLabel *Label14;
|
75 |
|
|
TLabel *Label15;
|
76 |
|
|
TLabel *Label16;
|
77 |
|
|
TUpDown *UpDown3;
|
78 |
|
|
TTabSheet *TabSheet8;
|
79 |
|
|
TLabel *Label17;
|
80 |
|
|
TLabel *Label18;
|
81 |
|
|
TLabel *Label19;
|
82 |
|
|
TLabel *Label20;
|
83 |
|
|
TButton *Button7;
|
84 |
|
|
TUpDown *UpDown4;
|
85 |
|
|
TLabel *Label21;
|
86 |
|
|
TLabel *Label22;
|
87 |
|
|
TLabel *Label23;
|
88 |
|
|
TLabel *Label24;
|
89 |
|
|
TButton *Button8;
|
90 |
|
|
TUpDown *UpDown5;
|
91 |
|
|
TLabel *Label25;
|
92 |
|
|
TLabel *Label26;
|
93 |
|
|
TLabel *Label27;
|
94 |
|
|
TLabel *Label28;
|
95 |
|
|
TTabSheet *TabSheet9;
|
96 |
|
|
TGroupBox *GroupBox6;
|
97 |
|
|
TLabel *Label29;
|
98 |
|
|
TLabel *Label30;
|
99 |
|
|
TLabel *Label31;
|
100 |
|
|
TLabel *Label32;
|
101 |
|
|
TButton *Button9;
|
102 |
|
|
TUpDown *UpDown6;
|
103 |
|
|
TGroupBox *GroupBox7;
|
104 |
|
|
TLabel *Label33;
|
105 |
|
|
TLabel *Label34;
|
106 |
|
|
TLabel *Label35;
|
107 |
|
|
TLabel *Label36;
|
108 |
|
|
TButton *Button10;
|
109 |
|
|
TUpDown *UpDown7;
|
110 |
|
|
TGroupBox *GroupBox8;
|
111 |
|
|
TLabel *Label37;
|
112 |
|
|
TLabel *Label38;
|
113 |
|
|
TLabel *Label39;
|
114 |
|
|
TLabel *Label40;
|
115 |
|
|
TButton *Button11;
|
116 |
|
|
TUpDown *UpDown8;
|
117 |
|
|
TLabel *Label41;
|
118 |
|
|
TLabel *Label42;
|
119 |
|
|
TButton *Button12;
|
120 |
|
|
TGroupBox *GroupBox9;
|
121 |
|
|
TLabel *Label43;
|
122 |
|
|
TLabel *Label44;
|
123 |
|
|
TButton *Button13;
|
124 |
|
|
TLabel *Label45;
|
125 |
|
|
TLabel *Label47;
|
126 |
|
|
TLabel *Label48;
|
127 |
|
|
TLabel *Label49;
|
128 |
|
|
TLabel *Label50;
|
129 |
|
|
TLabel *Label51;
|
130 |
|
|
TButton *Button14;
|
131 |
|
|
TButton *Button15;
|
132 |
|
|
TButton *Button16;
|
133 |
|
|
TGroupBox *GroupBox10;
|
134 |
|
|
TLabel *Label46;
|
135 |
|
|
TUpDown *UpDown9;
|
136 |
|
|
TUpDown *UpDown10;
|
137 |
|
|
TLabel *Label52;
|
138 |
|
|
TLabel *Label53;
|
139 |
|
|
TUpDown *UpDown11;
|
140 |
|
|
TCheckBox *CheckBox1;
|
141 |
|
|
TButton *Button17;
|
142 |
|
|
TComboBox *ComboBox1;
|
143 |
|
|
TTabSheet *TabSheet10;
|
144 |
|
|
TGroupBox *GroupBox11;
|
145 |
|
|
TLabel *Label2;
|
146 |
|
|
TButton *Button18;
|
147 |
|
|
TLabel *Label54;
|
148 |
francois |
62 |
TTabSheet *TabSheet11;
|
149 |
|
|
TGroupBox *GroupBox12;
|
150 |
|
|
TLabel *Label57;
|
151 |
|
|
TLabel *Label58;
|
152 |
|
|
TButton *Button19;
|
153 |
|
|
TUpDown *UpDown12;
|
154 |
|
|
TLabel *Label59;
|
155 |
|
|
TLabel *Label60;
|
156 |
|
|
TTabSheet *TabSheet12;
|
157 |
|
|
TGroupBox *GroupBox13;
|
158 |
|
|
TLabel *Label55;
|
159 |
|
|
TLabel *Label56;
|
160 |
|
|
TLabel *Label61;
|
161 |
|
|
TLabel *Label62;
|
162 |
|
|
TLabel *Label63;
|
163 |
|
|
TLabel *Label64;
|
164 |
|
|
TLabel *Label65;
|
165 |
|
|
TLabel *Label66;
|
166 |
|
|
TButton *Button20;
|
167 |
|
|
TButton *Button21;
|
168 |
|
|
TButton *Button22;
|
169 |
|
|
TButton *Button23;
|
170 |
|
|
TButton *Button24;
|
171 |
|
|
TLabel *Label67;
|
172 |
|
|
TLabel *Label68;
|
173 |
|
5 |
void __fastcall Button1Click(TObject *Sender);
|
174 |
|
|
void __fastcall Button2Click(TObject *Sender);
|
175 |
|
|
void __fastcall Button3Click(TObject *Sender);
|
176 |
|
|
void __fastcall Button4Click(TObject *Sender);
|
177 |
|
|
void __fastcall UpDown1Click(TObject *Sender, TUDBtnType Button);
|
178 |
|
|
void __fastcall FormPaint(TObject *Sender);
|
179 |
|
|
void __fastcall Button5Click(TObject *Sender);
|
180 |
|
|
void __fastcall UpDown2Click(TObject *Sender, TUDBtnType Button);
|
181 |
|
|
void __fastcall UpDown3Click(TObject *Sender, TUDBtnType Button);
|
182 |
|
|
void __fastcall Button6Click(TObject *Sender);
|
183 |
|
|
void __fastcall Button7Click(TObject *Sender);
|
184 |
|
|
void __fastcall Button8Click(TObject *Sender);
|
185 |
|
|
void __fastcall UpDown5Click(TObject *Sender, TUDBtnType Button);
|
186 |
|
|
void __fastcall UpDown4Click(TObject *Sender, TUDBtnType Button);
|
187 |
|
|
void __fastcall Button9Click(TObject *Sender);
|
188 |
|
|
void __fastcall UpDown6Click(TObject *Sender, TUDBtnType Button);
|
189 |
|
|
void __fastcall Button10Click(TObject *Sender);
|
190 |
|
|
void __fastcall UpDown7Click(TObject *Sender, TUDBtnType Button);
|
191 |
|
|
void __fastcall Button11Click(TObject *Sender);
|
192 |
|
|
void __fastcall Button12Click(TObject *Sender);
|
193 |
|
|
void __fastcall UpDown8Click(TObject *Sender, TUDBtnType Button);
|
194 |
|
|
void __fastcall Button13Click(TObject *Sender);
|
195 |
|
|
void __fastcall Button14Click(TObject *Sender);
|
196 |
|
|
void __fastcall Button15Click(TObject *Sender);
|
197 |
|
|
void __fastcall Button16Click(TObject *Sender);
|
198 |
|
|
void __fastcall UpDown9Click(TObject *Sender, TUDBtnType Button);
|
199 |
|
|
void __fastcall UpDown10Click(TObject *Sender, TUDBtnType Button);
|
200 |
|
|
void __fastcall UpDown11Click(TObject *Sender, TUDBtnType Button);
|
201 |
|
|
void __fastcall Button17Click(TObject *Sender);
|
202 |
|
|
void __fastcall FormShow(TObject *Sender);
|
203 |
|
|
void __fastcall ComboBox1Change(TObject *Sender);
|
204 |
|
|
void __fastcall Button18Click(TObject *Sender);
|
205 |
francois |
62 |
void __fastcall UpDown12Click(TObject *Sender, TUDBtnType Button);
|
206 |
|
|
void __fastcall Button19Click(TObject *Sender);
|
207 |
|
|
void __fastcall Button20Click(TObject *Sender);
|
208 |
|
|
void __fastcall Button21Click(TObject *Sender);
|
209 |
|
|
void __fastcall Button22Click(TObject *Sender);
|
210 |
|
|
void __fastcall Button23Click(TObject *Sender);
|
211 |
|
|
void __fastcall Button24Click(TObject *Sender);
|
212 |
|
5 |
private: // User declarations
|
213 |
|
|
void __fastcall getRGB(int color,double& r,double &g,double& b);
|
214 |
|
|
TColor __fastcall getcolor(double r,double g,double b);
|
215 |
francois |
62 |
int indexdegrade;
|
216 |
|
5 |
public: // User declarations
|
217 |
|
|
__fastcall Tconfigwin(TComponent* Owner);
|
218 |
|
|
};
|
219 |
|
|
//---------------------------------------------------------------------------
|
220 |
|
|
extern PACKAGE Tconfigwin *configwin;
|
221 |
|
|
//---------------------------------------------------------------------------
|
222 |
|
|
#endif
|