// @(#)root/gui:$Id$
// Author: David Gonzalez Maline  21/10/2008

/*************************************************************************
 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TTreeInput
#define ROOT_TTreeInput

///////////////////////////////////////////////////////////////////////////
//                                                                       //
// Tree Input Dialog Widget                                              //
//                                                                       //
// An input dialog box to select the variables and the cuts from         //
// a TTree                                                               //
//                                                                       //
///////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TGFrame
#include "TGFrame.h"
#endif

class TGLabel;
class TGTextEntry;
class TGTextButton;

class TTreeInput : public TGTransientFrame {

private:
   TGTextEntry      *fTEVars;  // text entry widget for variables
   TGTextEntry      *fTECuts;  // text entry widget for cuts
   TGTextButton     *fOk;      // ok button
   TGTextButton     *fCancel;  // cancel button
   char             *fStrvars;  // address to store variables string
   char             *fStrcuts;  // address to store cuts string

   TTreeInput(const TTreeInput&);  // Not implemented
   TTreeInput &operator= (const TTreeInput&); // Not implemented

public:
   TTreeInput(const TGWindow *p, const TGWindow *main,
              char *strvars, char* strcuts);
   ~TTreeInput();
   virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t);

   ClassDef(TTreeInput, 0)  // Simple input dialog

};

#endif
 TTreeInput.h:1
 TTreeInput.h:2
 TTreeInput.h:3
 TTreeInput.h:4
 TTreeInput.h:5
 TTreeInput.h:6
 TTreeInput.h:7
 TTreeInput.h:8
 TTreeInput.h:9
 TTreeInput.h:10
 TTreeInput.h:11
 TTreeInput.h:12
 TTreeInput.h:13
 TTreeInput.h:14
 TTreeInput.h:15
 TTreeInput.h:16
 TTreeInput.h:17
 TTreeInput.h:18
 TTreeInput.h:19
 TTreeInput.h:20
 TTreeInput.h:21
 TTreeInput.h:22
 TTreeInput.h:23
 TTreeInput.h:24
 TTreeInput.h:25
 TTreeInput.h:26
 TTreeInput.h:27
 TTreeInput.h:28
 TTreeInput.h:29
 TTreeInput.h:30
 TTreeInput.h:31
 TTreeInput.h:32
 TTreeInput.h:33
 TTreeInput.h:34
 TTreeInput.h:35
 TTreeInput.h:36
 TTreeInput.h:37
 TTreeInput.h:38
 TTreeInput.h:39
 TTreeInput.h:40
 TTreeInput.h:41
 TTreeInput.h:42
 TTreeInput.h:43
 TTreeInput.h:44
 TTreeInput.h:45
 TTreeInput.h:46
 TTreeInput.h:47
 TTreeInput.h:48
 TTreeInput.h:49
 TTreeInput.h:50
 TTreeInput.h:51
 TTreeInput.h:52
 TTreeInput.h:53
 TTreeInput.h:54
 TTreeInput.h:55