]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Reve/Pad.h
Separate import of standard macros into a special function so that
[u/mrichter/AliRoot.git] / EVE / Reve / Pad.h
1 // $Header$
2
3 #ifndef REVE_Pad_H
4 #define REVE_Pad_H
5
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
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
26   ClassDef(Pad, 1); // Wrapper for TPad
27 };
28
29 }
30
31 #endif