1 // $Id: AliHLTEMCALOnlineDisplayButton.cxx 29824 2008-11-10 13:43:55Z richterm $
3 /**************************************************************************
4 * This file is property of and copyright by the Experimental Nuclear *
5 * Physics Group, Dep. of Physics *
6 * University of Oslo, Norway, 2007 *
8 * Author: Per Thomas Hille <perthi@fys.uio.no> for the ALICE HLT Project.*
9 * Contributors are mentioned in the code where appropriate. *
10 * Please report bugs to perthi@fys.uio.no *
12 * Permission to use, copy, modify and distribute this software and its *
13 * documentation strictly for non-commercial purposes is hereby granted *
14 * without fee, provided that the above copyright notice appears in all *
15 * copies and that both the copyright notice and this permission notice *
16 * appear in the supporting documentation. The authors make no claims *
17 * about the suitability of this software for any purpose. It is *
18 * provided "as is" without express or implied warranty. *
19 **************************************************************************/
20 #include "AliHLTEMCALOnlineDisplayButton.h"
22 #include "AliHLTEMCALOnlineDisplay.h"
27 AliHLTEMCALOnlineDisplayButton::AliHLTEMCALOnlineDisplayButton()
33 //AliHLTEMCALOnlineDisplayButton::AliHLTEMCALOnlineDisplayButton(TGGroupFrame *gfPtr,char opt, char *name)
34 AliHLTEMCALOnlineDisplayButton::AliHLTEMCALOnlineDisplayButton(AliHLTEMCALOnlineDisplay *onlineDisplayPtr, TGMainFrame *gfPtr,char opt, char *name)
35 : TGTextButton(gfPtr, name)
38 fOnlineDisplayPtr = onlineDisplayPtr;
44 AliHLTEMCALOnlineDisplayButton::~AliHLTEMCALOnlineDisplayButton()
52 AliHLTEMCALOnlineDisplayButton::HandleButton(Event_t* event)
54 AllowStayDown(kFALSE);
56 if(event->fType == kButtonPress)
58 AllowStayDown(kFALSE);
62 case 'r': //First get configuration comment
63 cout << "AliHLTEMCALOnlineDisplayButton::HandleButton, getting rawdata"<< endl;
64 // fOnlineDisplayPtr->ShowRawData();
67 // MainGui::DisplayMessage("illegal command");
68 cout << "illegal command" << endl;