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

Last change on this file since 1621 was 1111, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 919 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 UInt_t fWidth; // const: rootcint/TMemberInspector
29 Float_t fRange; // const: rootcint/TMemberInspector
30 Float_t fPix; // const: rootcint/TMemberInspector
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 ClassDef(MGEmbeddedCanvas, 0)
44};
45
46#endif // MGSKYPOSITION_H
Note: See TracBrowser for help on using the repository browser.