This macro was created for the evaluation of Computational Physics course in 2006. We thank to Prof. Inkyu Park for his special lecture on ROOT and to all of ROOT team
{
Tex.DrawLatex(0.3, 0.81,
"Mariah Carey - Shake it off");
Tex.DrawLatex(0.3, 0.71,
"Alicia keys - If I ain't got you");
Tex.DrawLatex(0.3, 0.61,
"Michael Jackson - Billie Jean");
Tex.DrawLatex(0.3, 0.51,
"Christina Milian - Am to Pm");
Tex.DrawLatex(0.3, 0.41,
"Zapp&Roger - Slow and Easy");
Tex.DrawLatex(0.3, 0.31,
"Black Eyes Peas - Let's get retarded");
Tex.DrawLatex(0.3, 0.21,
"Bosson - One in a Millin");
Tex.DrawLatex(0.2, 0.11,
"Click Button!! You Can Listen to Musics");
TButton *
but1 =
new TButton(
"",
"gSystem->Exec(\"cat sound1.wav > /dev/audio\")", 0.2, 0.8, 0.25, 0.85);
TButton *
but2 =
new TButton(
"",
"gSystem->Exec(\"cat sound2.wav > /dev/audio\")", 0.2, 0.7, 0.25, .75);
TButton *
but3 =
new TButton(
"",
"gSystem->Exec(\"cat sound3.wav > /dev/audio\")", 0.2, 0.6, 0.25, 0.65);
TButton *
but4 =
new TButton(
"",
"gSystem->Exec(\"cat sound4.wav > /dev/audio\")", 0.2, 0.5, 0.25, 0.55);
TButton *
but5 =
new TButton(
"",
"gSystem->Exec(\"cat sound5.wav > /dev/audio\")", 0.2, 0.4, 0.25, 0.45);
TButton *
but6 =
new TButton(
"",
"gSystem->Exec(\"cat sound6.wav > /dev/audio\")", 0.2, 0.3, 0.25, 0.35);
TButton *
but7 =
new TButton(
"",
"gSystem->Exec(\"cat sound7.wav > /dev/audio\")", 0.2, 0.2, 0.25, 0.25);
Tex.DrawLatex(0.06, 0.85,
"IAudio U3 Mp3 Player");
L.SetLineColor(10);
L.SetLineWidth(3);
L.DrawLine(0.05, 0.83, 0.90, 0.83);
Tex.DrawLatex(0.06, 0.75,
"+ Color LCD");
Tex.DrawLatex(0.06, 0.65,
"+ 60mW High Generating Power");
Tex.DrawLatex(0.06, 0.55,
"+ GUI Theme Skin");
Tex.DrawLatex(0.06, 0.45,
"+ Noble White&Black");
Tex.DrawLatex(0.06, 0.35,
"+ Text Viewer+Image Viewer");
Tex.DrawLatex(0.06, 0.25,
"+ 20 Hours Playing");
Tex.DrawLatex(0.06, 0.15,
"+ The Best Quality of Sound");
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
Class describing rotation + translation.
The manager class for any TGeo geometry.
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.
Use the TLine constructor to create a simple line.
The most important graphics class in the ROOT system.
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.