528 TPad *pad1 =
new TPad(
"pad1",
"Pad1",0,0.5,0.5,1);
536 TPad *pad2=
new TPad(
"pad2",
"Pad2",0.5,0.5,1,1);
550 Tex.
DrawLatex(0.3,0.81,
"Mariah Carey - Shake it off");
554 Tex.
DrawLatex(0.3,0.71,
"Alicia keys - If I ain't got you");
558 Tex.
DrawLatex(0.3,0.61,
"Michael Jackson - Billie Jean");
562 Tex.
DrawLatex(0.3,0.51,
"Christina Milian - Am to Pm");
566 Tex.
DrawLatex(0.3,0.41,
"Zapp&Roger - Slow and Easy");
570 Tex.
DrawLatex(0.3,0.31,
"Black Eyes Peas - Let's get retarded");
574 Tex.
DrawLatex(0.3,0.21,
"Bosson - One in a Millin");
578 Tex.
DrawLatex(0.2,0.11,
"Click Button!! You Can Listen to Musics");
579 TButton *but1=
new TButton(
"",
"gSystem->Exec(\"cat sound1.wav > /dev/audio\")",0.2,0.8,0.25,0.85);
582 TButton *but2=
new TButton(
"",
"gSystem->Exec(\"cat sound2.wav > /dev/audio\")",0.2,0.7,0.25,.75);
585 TButton *but3=
new TButton(
"",
"gSystem->Exec(\"cat sound3.wav > /dev/audio\")",0.2,0.6,0.25,0.65);
588 TButton *but4=
new TButton(
"",
"gSystem->Exec(\"cat sound4.wav > /dev/audio\")",0.2,0.5,0.25,0.55);
591 TButton *but5=
new TButton(
"",
"gSystem->Exec(\"cat sound5.wav > /dev/audio\")",0.2,0.4,0.25,0.45);
594 TButton *but6=
new TButton(
"",
"gSystem->Exec(\"cat sound6.wav > /dev/audio\")",0.2,0.3,0.25,0.35);
597 TButton *but7=
new TButton(
"",
"gSystem->Exec(\"cat sound7.wav > /dev/audio\")",0.2,0.2,0.25,0.25);
603 TPad *pad3=
new TPad(
"pad3",
"Pad3",0,0,1,0.5);
611 TPad *pad4=
new TPad(
"pad4",
"Pad4",0.6,0.1,0.9,0.9);
620 Tex.
DrawLatex(0.06,0.85,
"IAudio U3 Mp3 Player");
624 L.DrawLine(0.05, 0.83,0.90, 0.83);
632 Tex.
DrawLatex(0.06,0.65,
"+ 60mW High Generating Power");
636 Tex.
DrawLatex(0.06,0.55,
"+ GUI Theme Skin");
640 Tex.
DrawLatex(0.06,0.45,
"+ Noble White&Black");
644 Tex.
DrawLatex(0.06,0.35,
"+ Text Viewer+Image Viewer");
648 Tex.
DrawLatex(0.06,0.25,
"+ 20 Hours Playing");
652 Tex.
DrawLatex(0.06,0.15,
"+ The Best Quality of Sound");
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
TVirtualPad * cd(Int_t subpadnumber=0) override
Set current canvas & pad.
Class describing rotation + translation.
The manager class for any TGeo geometry.
TGeoVolume * MakeTube(const char *name, TGeoMedium *medium, Double_t rmin, Double_t rmax, Double_t dz)
Make in one step a volume pointing to a tube shape with given medium.
void CloseGeometry(Option_t *option="d")
Closing geometry implies checking the geometry validity, fixing shapes with negative parameters (run-...
TGeoVolume * MakeBox(const char *name, TGeoMedium *medium, Double_t dx, Double_t dy, Double_t dz)
Make in one step a volume pointing to a box shape with given medium.
TGeoVolume * MakeSphere(const char *name, TGeoMedium *medium, Double_t rmin, Double_t rmax, Double_t themin=0, Double_t themax=180, Double_t phimin=0, Double_t phimax=360)
Make in one step a volume pointing to a sphere shape with given medium.
void SetTopVolume(TGeoVolume *vol)
Set the top volume and corresponding node as starting point of the geometry.
void SetTopVisible(Bool_t vis=kTRUE)
make top volume visible on screen
TGeoVolume * MakeTubs(const char *name, TGeoMedium *medium, Double_t rmin, Double_t rmax, Double_t dz, Double_t phi1, Double_t phi2)
Make in one step a volume pointing to a tube segment shape with given medium.
Base class describing materials.
Media are used to store properties related to tracking and which are useful only when using geometry ...
Class describing rotations.
Class describing translations.
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.
void Draw(Option_t *option="") override
draw top volume according to option
virtual void AddNodeOverlap(TGeoVolume *vol, Int_t copy_no, TGeoMatrix *mat=nullptr, Option_t *option="")
Add a TGeoNode to the list of nodes.
void SetLineColor(Color_t lcolor) override
Set the line color.
To draw Mathematical Formula.
TLatex * DrawLatex(Double_t x, Double_t y, const char *text)
Make a copy of this object with the new parameters And copy object attributes.
Use the TLine constructor to create a simple line.
The most important graphics class in the ROOT system.
TVirtualPad * cd(Int_t subpadnumber=0) override
Set Current pad.
void Draw(Option_t *option="") override
Draw Pad in Current pad (re-parent pad if necessary).
A Pave (see TPave) with text, lines or/and boxes inside.
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
void Draw(Option_t *option="") override
Draw this pavetext with its current attributes.
RooArgList L(Args_t &&... args)