]>
Commit | Line | Data |
---|---|---|
5a5a1232 | 1 | // $Header$ |
2 | ||
3 | #ifndef REVE_Pad_H | |
4 | #define REVE_Pad_H | |
5 | ||
5a5a1232 | 6 | #include <TPad.h> |
7 | ||
8 | namespace Reve { | |
9 | ||
10 | class Pad : public TPad | |
11 | { | |
12 | public: | |
13 | Pad(); | |
14 | Pad(const char* name, const char* title, | |
15 | Double_t xlow, Double_t ylow, Double_t xup, Double_t yup, | |
16 | Color_t color = -1, Short_t bordersize = -1, Short_t bordermode = -2); | |
17 | virtual ~Pad() {} | |
18 | ||
32e219c2 | 19 | virtual Bool_t IsBatch() const { return kTRUE; } |
20 | ||
21 | virtual void Update() { PaintModified(); } | |
22 | ||
23 | virtual TVirtualViewer3D *GetViewer3D(Option_t * /*type*/ = "") | |
24 | { return fViewer3D; } | |
25 | ||
e9ef1a49 | 26 | ClassDef(Pad, 1); // Internal Reve pad (sub-class of TPad). |
5a5a1232 | 27 | }; |
28 | ||
29 | } | |
30 | ||
31 | #endif |