diff --git a/test/hworld.cxx b/test/hworld.cxx index aeebe2579c62b13055fa2bbd82c110f8e86e6255..91f2c8b885fbca03948180693abcaa895aa10a19 100644 --- a/test/hworld.cxx +++ b/test/hworld.cxx @@ -1,4 +1,4 @@ -// @(#)root/test:$Name: $:$Id: hworld.cxx,v 1.3 2001/03/14 08:03:36 brun Exp $ +// @(#)root/test:$Name: $:$Id: hworld.cxx,v 1.4 2001/04/20 17:56:50 rdm Exp $ // Author: Fons Rademakers 04/04/97 // This small demo shows the traditional "Hello World". Its main use is @@ -18,6 +18,8 @@ int main(int argc, char **argv) TPaveLabel *hello = new TPaveLabel(0.2,0.4,0.8,0.6,"Hello World"); hello->Draw(); + TPaveLabel *quit = new TPaveLabel(0.2,0.2,0.8,0.3,"Close via menu File/Quit"); + quit->Draw(); c->Update(); // Enter event loop, one can now interact with the objects in @@ -27,6 +29,7 @@ int main(int argc, char **argv) TLine *l = new TLine(0.1,0.2,0.5,0.9); l->Draw(); + quit->SetLabel("Select File/Quit again to exit app"); c->Update(); // Here we don't return from the eventloop. "Exit ROOT" will quit the app.