Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 ~TGLSAFrame() override;
41
42 Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2) override;
43 void CloseWindow() override;
44
45 ClassDefOverride(TGLSAFrame, 0) // GUI frame for standalone viewer
46};
47
48#endif
long Longptr_t
Definition RtypesCore.h:75
#define ClassDefOverride(name, id)
Definition Rtypes.h:346
Standalone GL Viewer GUI main frame.
Definition TGLSAFrame.h:29
Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2) override
Process GUI message - deferred back up to TGLSAViewer::ProcessFrameMessage()
TGLSAFrame(const TGLSAFrame &)
~TGLSAFrame() override
Destroy the GUI frame.
TGLSAViewer & fViewer
Definition TGLSAFrame.h:31
void CloseWindow() override
Close the GUI frame.
TGLSAFrame & operator=(const TGLSAFrame &)
The top level standalone GL-viewer - created via plugin manager.
Definition TGLSAViewer.h:38
Defines top level windows that interact with the system Window Manager.
Definition TGFrame.h:397
ROOT GUI Window base class.
Definition TGWindow.h:23