| 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 |
|
|---|
| 15 | class TList;
|
|---|
| 16 | class TCanvas;
|
|---|
| 17 |
|
|---|
| 18 | class MGEmbeddedCanvas : public TRootEmbeddedCanvas
|
|---|
| 19 | {
|
|---|
| 20 | private:
|
|---|
| 21 | Bool_t fModified;
|
|---|
| 22 |
|
|---|
| 23 | protected:
|
|---|
| 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 |
|
|---|
| 34 | public:
|
|---|
| 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.