Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TTreeInput.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/gui:$Id$
0002 // Author: David Gonzalez Maline  21/10/2008
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TTreeInput
0013 #define ROOT_TTreeInput
0014 
0015 
0016 #include "TGFrame.h"
0017 
0018 class TGLabel;
0019 class TGTextEntry;
0020 class TGTextButton;
0021 
0022 class TTreeInput : public TGTransientFrame {
0023 
0024 private:
0025    TGTextEntry      *fTEVars;   ///< text entry widget for variables
0026    TGTextEntry      *fTECuts;   ///< text entry widget for cuts
0027    TGTextButton     *fOk;       ///< ok button
0028    TGTextButton     *fCancel;   ///< cancel button
0029    char             *fStrvars;  ///< address to store variables string
0030    char             *fStrcuts;  ///< address to store cuts string
0031 
0032    TTreeInput(const TTreeInput&);  // Not implemented
0033    TTreeInput &operator= (const TTreeInput&); // Not implemented
0034 
0035 public:
0036    TTreeInput(const TGWindow *p, const TGWindow *main,
0037               char *strvars, char* strcuts);
0038    ~TTreeInput() override;
0039    Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t) override;
0040 
0041    ClassDefOverride(TTreeInput, 0)  // Simple input dialog
0042 
0043 };
0044 
0045 #endif