source: trunk/Cosy/gui/MGTPoint.h@ 19661

Last change on this file since 19661 was 1692, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MGSTARGUIDER_H
2#define MGSTARGUIDER_H
3
4#ifndef ROOT_TGFrame
5#include <TGFrame.h>
6#endif
7#ifndef CAMERA_H
8#include "Camera.h"
9#endif
10
11#include "MGList.h"
12#include "MGImage.h"
13
14class RaDec;
15
16class TGMenuBar;
17class TGPopupMenu;
18class TGTextEntry;
19
20class MGImage;
21class MGCoordinates;
22
23class StarCatalog;
24
25class MGStarguider : public Camera, public TGMainFrame
26{
27private:
28 MGList *fList;
29
30 TGMenuBar *fMenu;
31 MGImage *fImage;
32
33 TGPopupMenu *fDisplay;
34 TGPopupMenu *fWrite;
35 TGPopupMenu *fFileType;
36 TGPopupMenu *fWriteType;
37 TGPopupMenu *fWriteRate;
38 TGPopupMenu *fSetup;
39 TGPopupMenu *fLimMag;
40
41 MGCoordinates *fCRaDec;
42 MGCoordinates *fCZdAz;
43
44 TGTextEntry *fPixSize;
45
46 StarCatalog *fSao;
47
48 RaDec *fRaDec;
49
50 int fWrtRate;
51
52 void SetPixSize(const double pixsize);
53 void Toggle(TGPopupMenu *p, UInt_t id);
54 void GetCoordinates();
55
56public:
57 MGStarguider();
58 virtual ~MGStarguider();
59
60 //void Update();
61
62 void Layout();
63 void CloseWindow();
64
65 Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
66
67 //
68 // Execution of one frame - this function may be overloaded!
69 //
70 void ProcessFrame(const unsigned long n, byte *img, struct timeval *tm);
71
72 ClassDef(MGStarguider, 0)
73};
74
75#endif
Note: See TracBrowser for help on using the repository browser.