Revision 6bef5d95c9c192b6cb1ddcb0cc19ca28e897739d authored by Rene Brun on 06 April 2005, 15:56:14 UTC, committed by Rene Brun on 06 April 2005, 15:56:14 UTC
Template implementation should be in header files (especially when the template class contains a ClassDef). git-svn-id: http://root.cern.ch/svn/root/trunk@11511 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 854d6f8
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();
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...