TX3DFrame.cxx

Go to the documentation of this file.
00001 // Author: Richard Maunder   04/08/05
00002 
00003 /*************************************************************************
00004  * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers.               *
00005  * All rights reserved.                                                  *
00006  *                                                                       *
00007  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00008  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00009  *************************************************************************/
00010 
00011 //////////////////////////////////////////////////////////////////////////
00012 //                                                                      //
00013 // TX3DFrame                                                            //
00014 //                                                                      //
00015 // Main frame for TViewerX3D                                            //
00016 //                                                                      //
00017 //////////////////////////////////////////////////////////////////////////
00018 
00019 #include "TX3DFrame.h"
00020 #include "TViewerX3D.h"
00021 
00022 //______________________________________________________________________________
00023 TX3DFrame::TX3DFrame(TViewerX3D & viewer, const TGWindow * win, UInt_t width, UInt_t height) :
00024    TGMainFrame(win, width, height),
00025    fViewer(viewer)
00026 {
00027    // TX3DFrame constructor
00028 }
00029 
00030 //______________________________________________________________________________
00031 TX3DFrame::~TX3DFrame()
00032 {
00033    // TX3DFrame destructor
00034 }
00035 
00036 //______________________________________________________________________________
00037 Bool_t TX3DFrame::ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
00038 {
00039    // Process Message
00040    return fViewer.ProcessFrameMessage(msg, parm1, parm2);
00041 }
00042 
00043 //______________________________________________________________________________
00044 void TX3DFrame::CloseWindow()
00045 {
00046    // Close window
00047    fViewer.Close();
00048 }

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