Logo ROOT  
Reference Guide
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:
32 
33  // non-copyable class
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
TGWindow
ROOT GUI Window base class.
Definition: TGWindow.h:23
TGLSAFrame::ProcessMessage
Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Process GUI message - deferred back up to TGLSAViewer::ProcessFrameMessage()
Definition: TGLSAFrame.cxx:51
TGMainFrame
Defines top level windows that interact with the system Window Manager.
Definition: TGFrame.h:398
TGLSAFrame::~TGLSAFrame
virtual ~TGLSAFrame()
Destroy the GUI frame.
Definition: TGLSAFrame.cxx:44
TGLSAViewer
The top level standalone GL-viewer - created via plugin manager.
Definition: TGLSAViewer.h:38
bool
TGLSAFrame::operator=
TGLSAFrame & operator=(const TGLSAFrame &)
TGLSAFrame
Standalone GL Viewer GUI main frame.
Definition: TGLSAFrame.h:29
TGFrame.h
Long_t
long Long_t
Definition: RtypesCore.h:54
TGLSAFrame::CloseWindow
void CloseWindow()
Close the GUI frame.
Definition: TGLSAFrame.cxx:59
TGLSAFrame::fViewer
TGLSAViewer & fViewer
Definition: TGLSAFrame.h:31
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TGLSAFrame::TGLSAFrame
TGLSAFrame(const TGLSAFrame &)
Rtypes.h