#include "TVirtualPad.h"
#include "X3DBuffer.h"
#include "TClass.h"
Size3D gVarSize3D;
Size3D* gFuncSize3D(){ return &gVarSize3D; }
void **(*gThreadTsd)(void*,Int_t) = 0;
Int_t (*gThreadXAR)(const char *xact, Int_t nb, void **ar, Int_t *iret) = 0;
TVirtualPad *&TVirtualPad::Pad()
{
static TVirtualPad *currentPad = 0;
if (!gThreadTsd)
return currentPad;
else
return *(TVirtualPad**)(*gThreadTsd)(¤tPad,0);
}
ClassImp(TVirtualPad)
TVirtualPad::TVirtualPad() : TAttPad()
{
fResizing = kFALSE;
}
TVirtualPad::TVirtualPad(const char *, const char *, Double_t,
Double_t, Double_t, Double_t, Color_t color, Short_t , Short_t)
: TAttPad()
{
fResizing = kFALSE;
SetFillColor(color);
SetFillStyle(1001);
}
TVirtualPad::~TVirtualPad()
{
}
void TVirtualPad::Streamer(TBuffer &R__b)
{
if (R__b.IsReading()) {
UInt_t R__s, R__c;
Version_t R__v = R__b.ReadVersion(&R__s, &R__c);
if (R__v > 1) {
R__b.ReadClassBuffer(TVirtualPad::Class(), this, R__v, R__s, R__c);
return;
}
TObject::Streamer(R__b);
TAttLine::Streamer(R__b);
TAttFill::Streamer(R__b);
TAttPad::Streamer(R__b);
} else {
R__b.WriteClassBuffer(TVirtualPad::Class(),this);
}
}
Last change: Wed Jun 25 08:54:57 2008
Last generated: 2008-06-25 08:54
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.