TEveJetConeEditor.cxx

Go to the documentation of this file.
00001 // @(#)root/eve:$Id: TEveJetConeEditor.cxx 27299 2009-01-29 21:54:57Z matevz $
00002 // Author: Matevz Tadel, Jochen Thaeder 2009
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #include "TEveJetConeEditor.h"
00013 #include "TEveJetCone.h"
00014 
00015 #include "TVirtualPad.h"
00016 #include "TColor.h"
00017 
00018 // Cleanup these includes:
00019 #include "TGLabel.h"
00020 #include "TGButton.h"
00021 #include "TGNumberEntry.h"
00022 #include "TGColorSelect.h"
00023 #include "TGDoubleSlider.h"
00024 
00025 
00026 //______________________________________________________________________________
00027 // GUI editor for TEveJetCone.
00028 //
00029 
00030 ClassImp(TEveJetConeEditor);
00031 
00032 //______________________________________________________________________________
00033 TEveJetConeEditor::TEveJetConeEditor(const TGWindow *p, Int_t width, Int_t height,
00034                                      UInt_t options, Pixel_t back) :
00035    TGedFrame(p, width, height, options | kVerticalFrame, back),
00036    fM(0)
00037    // Initialize widget pointers to 0
00038 {
00039    // Constructor.
00040 
00041    MakeTitle("TEveJetCone");
00042 
00043    // Create widgets
00044    // fXYZZ = new TGSomeWidget(this, ...);
00045    // AddFrame(fXYZZ, new TGLayoutHints(...));
00046    // fXYZZ->Connect("SignalName()", "Reve::TEveJetConeEditor", this, "DoXYZZ()");
00047 }
00048 
00049 /******************************************************************************/
00050 
00051 //______________________________________________________________________________
00052 void TEveJetConeEditor::SetModel(TObject* obj)
00053 {
00054    // Set model object.
00055 
00056    fM = dynamic_cast<TEveJetCone*>(obj);
00057 
00058    // Set values of widgets
00059    // fXYZZ->SetValue(fM->GetXYZZ());
00060 }
00061 
00062 /******************************************************************************/
00063 
00064 // Implements callback/slot methods
00065 
00066 //______________________________________________________________________________
00067 // void TEveJetConeEditor::DoXYZZ()
00068 // {
00069 //    // Slot for XYZZ.
00070 //
00071 //    fM->SetXYZZ(fXYZZ->GetValue());
00072 //    Update();
00073 // }

Generated on Tue Jul 5 14:16:12 2011 for ROOT_528-00b_version by  doxygen 1.5.1