Subversion Repositories f9daq

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
130 f9daq 1
#ifndef __ROOT_APP_H__
2
#define __ROOT_APP_H__
3
 
4
#define winWidth 900
5
#define winHeight 600
6
#define WINDOW_NAME "Fieldpoint FP RTD 122 temperature sensor"
7
 
8
#include "root_include.h"
9
 
10
class TGAppMainFrame
11
{
12
RQ_OBJECT("TGAppMainFrame")
13
 
14
protected:
15
   TGMainFrame *fMain;
16
 
17
   void AppLayout();
18
 
19
public:
20
   TGAppMainFrame(const TGWindow *p, int w, int h);
21
   virtual ~TGAppMainFrame();
22
 
23
   void CloseWindow();
24
 
25
   TRootEmbeddedCanvas *displayCanvas;
26
   TGComboBox    *tempCh;
27
   TGComboBox    *tempDay[2];
28
   TGComboBox    *tempMonth[2];
29
   TGComboBox    *tempYear[2];
30
   TGComboBox    *tempHour[2];
31
   TGComboBox    *tempMinute[2];
32
   TGComboBox    *tempSecond[2];
33
   TGCheckButton *tempEndOn;
34
   TGComboBox    *datSettings;
35
   TGTextButton  *updateTemp;
36
   TGTextButton  *exportTemp;
37
   TGTextButton  *closeTemp;
38
 
39
   void fieldpoint(int *timerange, int selch);
40
   void UpdateTempPlot();
41
   void TempEndToggle();
42
   void ExportTempPlot();
43
};
44
 
45
#endif