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
18class 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
28class TGLSAFrame : public TGMainFrame
29{
30private:
32
33 // non-copyable class
36
37public:
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
long Long_t
Definition: RtypesCore.h:52
#define ClassDef(name, id)
Definition: Rtypes.h:322
Standalone GL Viewer GUI main frame.
Definition: TGLSAFrame.h:29
void CloseWindow()
Close the GUI frame.
Definition: TGLSAFrame.cxx:59
TGLSAFrame(const TGLSAFrame &)
TGLSAViewer & fViewer
Definition: TGLSAFrame.h:31
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
virtual ~TGLSAFrame()
Destroy the GUI frame.
Definition: TGLSAFrame.cxx:44
TGLSAFrame & operator=(const TGLSAFrame &)
The top level standalone GL-viewer - created via plugin manager.
Definition: TGLSAViewer.h:38