00001 void demoshelp() {
00002
00003 new TCanvas("chelp","Help to run demos",200,10,700,500);
00004
00005 TPaveText *welcome = new TPaveText(.1,.8,.9,.97);
00006 welcome->AddText("Welcome to the ROOT demos");
00007 welcome->SetTextFont(32);
00008 welcome->SetTextColor(4);
00009 welcome->SetFillColor(24);
00010 welcome->Draw();
00011
00012 TPaveText *hdemo = new TPaveText(.05,.05,.95,.7);
00013 hdemo->SetTextAlign(12);
00014 hdemo->SetTextFont(52);
00015 hdemo->AddText("- Run demo hsimple.C first. Then in any order");
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(" .... Use right button to get an object sensitive pop-up");
00025 hdemo->AddText(" ");
00026 hdemo->SetAllWith("....","color",2);
00027 hdemo->SetAllWith("....","font",72);
00028 hdemo->SetAllWith("....","size",0.04);
00029
00030 hdemo->Draw();
00031 }