Blame |
Last modification |
View Log
| RSS feed
#ifndef __ROOT_APP_H__
#define __ROOT_APP_H__
#define winWidth 900
#define winHeight 600
#define WINDOW_NAME "Fieldpoint FP RTD 122 temperature sensor"
#include "root_include.h"
class TGAppMainFrame
{
RQ_OBJECT("TGAppMainFrame")
protected:
TGMainFrame *fMain;
void AppLayout();
public:
TGAppMainFrame(const TGWindow *p, int w, int h);
virtual ~TGAppMainFrame();
void CloseWindow();
TRootEmbeddedCanvas *displayCanvas;
TGComboBox *tempCh;
TGComboBox *tempDay[2];
TGComboBox *tempMonth[2];
TGComboBox *tempYear[2];
TGComboBox *tempHour[2];
TGComboBox *tempMinute[2];
TGComboBox *tempSecond[2];
TGCheckButton *tempEndOn;
TGComboBox *datSettings;
TGTextButton *updateTemp;
TGTextButton *exportTemp;
TGTextButton *closeTemp;
void fieldpoint(int *timerange, int selch);
void UpdateTempPlot();
void TempEndToggle();
void ExportTempPlot();
};
#endif