539 TPad *pad=
new TPad(
"pad",
"Pad",0,0.5,0.5,1);
546 TPad *pad2=
new TPad(
"pad2",
"Pad2",0.5,0.5,1,1);
561 Tex.
DrawLatex(0.3,0.81,
"Mariah Carey - Shake it off");
565 Tex.
DrawLatex(0.3,0.71,
"Alicia keys - If I ain't got you");
569 Tex.
DrawLatex(0.3,0.61,
"Michael Jackson - Billie Jean");
573 Tex.
DrawLatex(0.3,0.51,
"Christina Milian - Am to Pm");
577 Tex.
DrawLatex(0.3,0.41,
"Zapp&Roger - Slow and Easy");
581 Tex.
DrawLatex(0.3,0.31,
"Black Eyes Peas - Let's get retarded");
585 Tex.
DrawLatex(0.3,0.21,
"Bosson - One in a Millin");
589 Tex.
DrawLatex(0.2,0.11,
"Click Button!! You Can Listen to Musics");
617 TPad *pad3=
new TPad(
"pad3",
"Pad3",0,0,1,0.5);
627 TPad *pad4=
new TPad(
"pad4",
"Pad4",0.6,0.1,0.9,0.9);
637 Tex.
DrawLatex(0.06,0.85,
"IAudio U3 Mp3 Player");
650 Tex.
DrawLatex(0.06,0.65,
"+ 60mW High Generating Power");
654 Tex.
DrawLatex(0.06,0.55,
"+ GUI Theme Skin");
658 Tex.
DrawLatex(0.06,0.45,
"+ Noble White&Black");
662 Tex.
DrawLatex(0.06,0.35,
"+ Text Viewer+Image Viewer");
666 Tex.
DrawLatex(0.06,0.25,
"+ 20 Hours Playing");
670 Tex.
DrawLatex(0.06,0.15,
"+ The Best Quality of Sound");
682 sprintf(sound,
"cat sound%d.wav > /dev/audio",i);
void SetTopVisible(Bool_t vis=kTRUE)
make top volume visible on screen
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void Draw(Option_t *option="")
Draw this pavetext with its current attributes.
The manager class for any TGeo geometry.
RooArgList L(const RooAbsArg &v1)
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.
virtual void AddNodeOverlap(TGeoVolume *vol, Int_t copy_no, TGeoMatrix *mat=0, Option_t *option="")
Add a TGeoNode to the list of nodes.
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
virtual void Draw(Option_t *option="")
draw top volume according to option
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
virtual TLine * DrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Draw this line with new coordinates.
Class describing translations.
void SetTopVolume(TGeoVolume *vol)
Set the top volume and corresponding node as starting point of the geometry.
Base class describing materials.
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.
TVirtualPad * cd(Int_t subpadnumber=0)
Set Current pad.
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.
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.
virtual void Draw(Option_t *option="")
Draw Pad in Current pad (re-parent pad if necessary).
virtual void SetLineColor(Color_t lcolor)
Set the line color.
R__EXTERN TSystem * gSystem
Class describing rotation + translation.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
The most important graphics class in the ROOT system.
virtual Int_t Exec(const char *shellcmd)
Execute a command.
void CloseGeometry(Option_t *option="d")
Closing geometry implies checking the geometry validity, fixing shapes with negative parameters (run-...
Class describing rotations.
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.
A Pave (see TPave) with text, lines or/and boxes inside.
Media are used to store properties related to tracking and which are useful only when using geometry ...
virtual void SetLineColor(Color_t lcolor)
Set the line color.
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.
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.