This commit was generated by cvs2svn to compensate for changes in r13732,
[u/mrichter/AliRoot.git] / EVE / Reve / Pad.cxx
1 // $Header$
2
3 #include "Pad.h"
4
5 #include <THashList.h>
6
7 //______________________________________________________________________
8 // Pad
9 //
10 // This was intended as a TPad wrapper to allow smart updates of
11 // groups of pads. Uses THashList instead of TList for faster removal
12 // of objects from the pad.
13 // Currently not used ...
14
15 using namespace Reve;
16
17 ClassImp(Pad)
18
19 Pad::Pad()
20 {
21   fPrimitives = new THashList;
22 }
23
24 Pad::Pad(const char *name, const char *title, Double_t xlow,
25          Double_t ylow, Double_t xup, Double_t yup,
26          Color_t color, Short_t bordersize, Short_t bordermode)
27   : TPad(name,title,xlow,ylow,xup,yup,color,bordersize,bordermode)
28 {
29   delete fPrimitives;
30   fPrimitives = new THashList;
31 }