ROOT
6.08/07
Reference Guide
graf3d
gl
inc
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
#ifndef ROOT_Rtypes
16
#include "
Rtypes.h
"
17
#endif
18
#ifndef ROOT_TGFrame
19
#include "
TGFrame.h
"
20
#endif
21
22
class
TGLSAViewer
;
23
24
//////////////////////////////////////////////////////////////////////////
25
// //
26
// TGLSAFrame //
27
// //
28
// Standalone GL Viewer GUI main frame. Is aggregated in TGLSAViewer - //
29
// top level standalone viewer object. //
30
//////////////////////////////////////////////////////////////////////////
31
32
class
TGLSAFrame
:
public
TGMainFrame
33
{
34
private
:
35
TGLSAViewer
&
fViewer
;
36
37
// non-copyable class
38
TGLSAFrame
(
const
TGLSAFrame
&);
39
TGLSAFrame
&
operator =
(
const
TGLSAFrame
&);
40
41
public
:
42
TGLSAFrame
(
TGLSAViewer
&viewer);
43
TGLSAFrame
(
const
TGWindow
*parent,
TGLSAViewer
&viewer);
44
virtual
~TGLSAFrame
();
45
46
Bool_t
ProcessMessage
(
Long_t
msg,
Long_t
parm1,
Long_t
parm2);
47
void
CloseWindow
();
48
49
ClassDef
(
TGLSAFrame
, 0)
// GUI frame for standalone viewer
50
};
51
52
#endif
TGLSAFrame::CloseWindow
void CloseWindow()
Close the GUI frame.
Definition:
TGLSAFrame.cxx:59
Rtypes.h
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
TGLSAFrame::fViewer
TGLSAViewer & fViewer
Definition:
TGLSAFrame.h:35
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TGLSAFrame::TGLSAFrame
TGLSAFrame(const TGLSAFrame &)
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
TGFrame.h
TGLSAViewer
The top level standalone GL-viewer - created via plugin manager.
Definition:
TGLSAViewer.h:37
TGWindow
Definition:
TGWindow.h:38
TGLSAFrame::~TGLSAFrame
virtual ~TGLSAFrame()
Destroy the GUI frame.
Definition:
TGLSAFrame.cxx:44
TGLSAFrame
Standalone GL Viewer GUI main frame.
Definition:
TGLSAFrame.h:32
Long_t
long Long_t
Definition:
RtypesCore.h:50
TGLSAFrame::operator=
TGLSAFrame & operator=(const TGLSAFrame &)
TGMainFrame
Definition:
TGFrame.h:482