Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TGLSAFrame.h
Go to the documentation of this file.
1 // @(#)root/gl:$Id$
2 // Author: Richard Maunder 10/08/2005
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TGLSAFrame
13 #define ROOT_TGLSAFrame
14 
15 #include "Rtypes.h"
16 #include "TGFrame.h"
17 
18 class TGLSAViewer;
19 
20 //////////////////////////////////////////////////////////////////////////
21 // //
22 // TGLSAFrame //
23 // //
24 // Standalone GL Viewer GUI main frame. Is aggregated in TGLSAViewer - //
25 // top level standalone viewer object. //
26 //////////////////////////////////////////////////////////////////////////
27 
28 class TGLSAFrame : public TGMainFrame
29 {
30 private:
31  TGLSAViewer & fViewer;
32 
33  // non-copyable class
34  TGLSAFrame(const TGLSAFrame &);
35  TGLSAFrame & operator = (const TGLSAFrame &);
36 
37 public:
38  TGLSAFrame(TGLSAViewer &viewer);
39  TGLSAFrame(const TGWindow *parent, TGLSAViewer &viewer);
40  virtual ~TGLSAFrame();
41 
42  Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
43  void CloseWindow();
44 
45  ClassDef(TGLSAFrame, 0) // GUI frame for standalone viewer
46 };
47 
48 #endif