Revision 5b5d22fc27783bd645341f12e906516285c450b4 authored by Rene Brun on 08 March 2004, 17:09:37 UTC, committed by Rene Brun on 08 March 2004, 17:09:37 UTC
instead of this macro, kept for back compatibility git-svn-id: http://root.cern.ch/svn/root/trunk@8342 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 40d48b0
EditorBar.C
{
TControlBar *ed = new TControlBar("vertical");
ed->AddButton("Arc", "gROOT->SetEditorMode(\"Arc\")", "Create an arc of circle");
ed->AddButton("Arrow", "gROOT->SetEditorMode(\"Arrow\")", "Create an Arrow");
ed->AddButton("Diamond", "gROOT->SetEditorMode(\"Diamond\")", "Create a diamond");
ed->AddButton("Ellipse", "gROOT->SetEditorMode(\"Ellipse\")", "Create an Ellipse");
ed->AddButton("Pad", "gROOT->SetEditorMode(\"Pad\")", "Create a pad");
ed->AddButton("Pave", "gROOT->SetEditorMode(\"Pave\")", "Create a Pave");
ed->AddButton("PaveLabel","gROOT->SetEditorMode(\"PaveLabel\")", "Create a PaveLabel (prompt for label)");
ed->AddButton("PaveText", "gROOT->SetEditorMode(\"PaveText\")", "Create a PaveText");
ed->AddButton("PavesText","gROOT->SetEditorMode(\"PavesText\")", "Create a PavesText");
ed->AddButton("PolyLine", "gROOT->SetEditorMode(\"PolyLine\")", "Create a PolyLine (TGraph)");
ed->AddButton("Text", "gROOT->SetEditorMode(\"Text\")", "Create a Text string");
ed->Show();
}
Computing file changes ...