00001 {
00002
00003 gROOT->Reset();
00004 c1 = new TCanvas("c1","Help to run demos",200,10,700,500);
00005
00006 welcome = new TPaveText(.1,.8,.9,.97);
00007 welcome->AddText("Welcome to the STAR event demos");
00008 welcome->SetTextColor(4);
00009 welcome->SetFillColor(24);
00010 welcome->Draw();
00011
00012 hdemo = new TPaveText(.05,.05,.95,.7);
00013 hdemo->SetTextAlign(12);
00014 hdemo->SetTextFont(61);
00015 hdemo->AddText("- Run either \"Read StEvent\" or any \"Make StEvent\" first. Then some \"draw\" operation");
00016 hdemo->AddText("- Click left mouse button to execute one demo");
00017 hdemo->AddText("- Click right mouse button to see the title of the demo");
00018 hdemo->AddText("- Click on 'Close Bar' to exit from the demo menu");
00019 hdemo->AddText("- Select 'File/Print' to print a Postscript view of the canvas");
00020 hdemo->AddText("- You can execute a demo with the mouse or type commands");
00021 hdemo->AddText("- During the demo (try on this canvas) you can :");
00022 hdemo->AddText(".... Use left button to move/grow/etc objects");
00023 hdemo->AddText(".... Use middle button to pop overlapping objects");
00024 hdemo->AddText(" (with 2-buttons mouse just use left and right buttons simultaneously)");
00025 hdemo->AddText(".... Use right button to get an object sensitive pop-up");
00026 hdemo->SetAllWith("....","color",2);
00027 hdemo->SetAllWith("....","font",72);
00028 hdemo->SetAllWith("(with","color",4);
00029 hdemo->SetAllWith("(with","font",8);
00030
00031 hdemo->Draw();
00032 }