Skip to content
Snippets Groups Projects
Commit cd1fd37f authored by Fons Rademakers's avatar Fons Rademakers
Browse files

From Matevz:

Added get-methods needed when embedding the stand-alone viewer
into another main-frame.


git-svn-id: http://root.cern.ch/svn/root/trunk@16345 27541ba8-7e3a-0410-8455-c3a389f83636
parent 2049a8b5
No related branches found
No related tags found
No related merge requests found
// @(#)root/gl:$Name: $:$Id: TGLSAViewer.h,v 1.14 2006/08/23 14:39:40 brun Exp $ // @(#)root/gl:$Name: $:$Id: TGLSAViewer.h,v 1.15 2006/09/25 13:43:21 rdm Exp $
// Author: Richard Maunder / Timur Pocheptsov // Author: Richard Maunder / Timur Pocheptsov
/************************************************************************* /*************************************************************************
...@@ -24,7 +24,6 @@ class TGFrame; ...@@ -24,7 +24,6 @@ class TGFrame;
class TGCompositeFrame; class TGCompositeFrame;
class TGPopupMenu; class TGPopupMenu;
class TGLSAFrame; class TGLSAFrame;
class TGTab;
class TGedEditor; class TGedEditor;
class TGLRenderArea; // Remove - replace with TGLManager class TGLRenderArea; // Remove - replace with TGLManager
...@@ -93,7 +92,7 @@ public: ...@@ -93,7 +92,7 @@ public:
TGLSAViewer(TGFrame * parent, TVirtualPad * pad); TGLSAViewer(TGFrame * parent, TVirtualPad * pad);
~TGLSAViewer(); ~TGLSAViewer();
virtual const char* GetName() const { return "Pupil"; } virtual const char* GetName() const { return "GLViewer"; }
void Show(); void Show();
void Close(); void Close();
...@@ -101,6 +100,10 @@ public: ...@@ -101,6 +100,10 @@ public:
// GUI events - editors, frame etc // GUI events - editors, frame etc
Bool_t ProcessFrameMessage(Long_t msg, Long_t parm1, Long_t); Bool_t ProcessFrameMessage(Long_t msg, Long_t parm1, Long_t);
TGLSAFrame* GetFrame() const { return fFrame; }
TGCompositeFrame* GetLeftVerticalFrame() const { return fLeftVerticalFrame; }
TGedEditor* GetGedEditor() const { return fGedEditor; }
ClassDef(TGLSAViewer, 0) // Standalone GL viewer ClassDef(TGLSAViewer, 0) // Standalone GL viewer
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment