source: trunk/MagicSoft/Cosy/gui/MGEmbeddedCanvas.h@ 971

Last change on this file since 971 was 913, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 792 bytes
Line 
1#ifndef MGEMBEDDEDCANVAS_H
2#define MGEMBEDDEDCANVAS_H
3
4//
5// This File contains the declaration of the MGCoordinates-class
6//
7// Author: Thomas Bretz
8// Version: V1.0 (1-8-2000)
9
10
11#ifndef ROOT_TRootEmbeddedCanvas
12#include <TRootEmbeddedCanvas.h>
13#endif
14
15class TList;
16class TCanvas;
17
18class MGEmbeddedCanvas : public TRootEmbeddedCanvas
19{
20private:
21 Bool_t fModified;
22
23protected:
24
25 TCanvas *fCanvas;
26 TList *fList;
27
28 const UInt_t fWidth;
29 const Float_t fRange;
30 const Float_t fPix;
31
32 void InitCanvas();
33
34public:
35 MGEmbeddedCanvas(const char *name, const TGWindow* p,
36 const UInt_t width, const Float_t range);
37 ~MGEmbeddedCanvas();
38
39 void UpdateCanvas();
40
41 void SetModified() { fModified = kTRUE; }
42};
43
44#endif // MGSKYPOSITION_H
Note: See TracBrowser for help on using the repository browser.