forked from ja7ude/MMANA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ComLib2.h
35 lines (33 loc) · 786 Bytes
/
ComLib2.h
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
//---------------------------------------------------------------------------
#ifndef ComLib2H
#define ComLib2H
//---------------------------------------------------------------------------
//#include <vcl\comctrls.hpp>
//---------------------------------------------------------------------------
class CAidSpin
{
private:
double Val;
double DW;
double Min;
double Max;
TUpDown *pSpin;
TControl *pCtrl;
public:
CAidSpin(){
pSpin = NULL;
pCtrl = NULL;
Val = 0;
DW = 0.1;
Min = 0;
Max = 9999;
};
double GetValue(void){
return Val;
};
void SetControl(TUpDown *pS, TControl *pC, double val, double min, double max, double dw);
void Init(void);
void OnClick(TUDBtnType Button);
void OnChanging(void);
}
#endif