Skip to content
Snippets Groups Projects
Commit e60e5a3e authored by Rene Brun's avatar Rene Brun
Browse files

Replace argument Text_t *title by const char* title in InfoPad

to remove a compiler warning on Solaris.


git-svn-id: http://root.cern.ch/svn/root/trunk@3580 27541ba8-7e3a-0410-8455-c3a389f83636
parent e7bd02a1
No related branches found
No related tags found
No related merge requests found
// @(#)root/test:$Name: $:$Id: Tetris.cxx,v 1.10 2001/07/15 18:01:39 rdm Exp $
// @(#)root/test:$Name: $:$Id: Tetris.cxx,v 1.11 2001/07/18 16:01:08 rdm Exp $
// Author: Valeriy Onuchin & Fons Rademakers 04/10/98
///////////////////////////////////////////////////////////////////
......@@ -757,7 +757,7 @@ void NewGameButton::ExecuteEvent(Int_t event, Int_t, Int_t)
///////////////////////////////////////////////////////////////////
// InfoPad -
///////////////////////////////////////////////////////////////////
InfoPad::InfoPad(Text_t* title, Float_t xlow, Float_t ylow, Float_t xup, Float_t yup)
InfoPad::InfoPad(const char* title, Float_t xlow, Float_t ylow, Float_t xup, Float_t yup)
: TPad("info_pad",title,xlow,ylow,xup,yup,14,4,-1), TAttText(22,0,2,71,0.65)
{
// InfoPad constructor
......
......@@ -306,7 +306,7 @@ protected:
UInt_t fValue; // value to be displayed
public:
InfoPad(Text_t *title="",Float_t xlow=0, Float_t ylow=0, Float_t xup=0, Float_t yup=0);
InfoPad(const char *title="",Float_t xlow=0, Float_t ylow=0, Float_t xup=0, Float_t yup=0);
virtual ~InfoPad() { }
UInt_t GetValue() { return fValue; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment