00001 // @(#)root/gl:$Id: TGLSAFrame.h 20882 2007-11-19 11:31:26Z rdm $ 00002 // Author: Richard Maunder 10/08/2005 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2005, 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 #ifndef ROOT_TGLSAFrame 00013 #define ROOT_TGLSAFrame 00014 00015 #ifndef ROOT_Rtypes 00016 #include "Rtypes.h" 00017 #endif 00018 #ifndef ROOT_TGFrame 00019 #include "TGFrame.h" 00020 #endif 00021 00022 class TGLSAViewer; 00023 00024 ////////////////////////////////////////////////////////////////////////// 00025 // // 00026 // TGLSAFrame // 00027 // // 00028 // Standalone GL Viewer GUI main frame. Is aggregated in TGLSAViewer - // 00029 // top level standalone viewer object. // 00030 ////////////////////////////////////////////////////////////////////////// 00031 00032 class TGLSAFrame : public TGMainFrame 00033 { 00034 private: 00035 TGLSAViewer & fViewer; 00036 00037 // non-copyable class 00038 TGLSAFrame(const TGLSAFrame &); 00039 TGLSAFrame & operator = (const TGLSAFrame &); 00040 00041 public: 00042 TGLSAFrame(TGLSAViewer &viewer); 00043 TGLSAFrame(const TGWindow *parent, TGLSAViewer &viewer); 00044 virtual ~TGLSAFrame(); 00045 00046 Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2); 00047 void CloseWindow(); 00048 00049 ClassDef(TGLSAFrame, 0) // GUI frame for standalone viewer 00050 }; 00051 00052 #endif