18 for (
int i = 0; i <
n; i++) {
19 for (
int j = 0; j <
n; j++) {
20 TBox *
b =
new TBox(n1*j, n1*(n-1-i), n1*(j+1), n1*(n-i));
26 TPad *p =
new TPad(
"p",
"p",0.3, 0.3, 0.7,0.7);
27 const char *guibackground =
gEnv->
GetValue(
"Gui.BackgroundColor",
"");
31 TText *t =
new TText(0.5, 0.5,
"GUI Background Color");
virtual void SetBorderMode(Short_t bordermode)
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
TVirtualPad * cd(Int_t subpadnumber=0)
Set Current pad.
Base class for several text objects.
virtual void Draw(Option_t *option="")
Draw Pad in Current pad (re-parent pad if necessary).
virtual void SetEditable(Bool_t mode=kTRUE)
Set pad editable yes/no If a pad is not editable:
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual Int_t GetValue(const char *name, Int_t dflt)
Returns the integer value for a resource.
The most important graphics class in the ROOT system.
static Int_t GetColor(const char *hexcolor)
Static method returning color number for color specified by hex color string of form: "#rrggbb"...
virtual void Draw(Option_t *option="")
Draw this box with its current attributes.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
virtual void SetTextSize(Float_t tsize=1)
Set the text size.