From cd1fd37fb74267c05fb8a645a1b1dc330f000a37 Mon Sep 17 00:00:00 2001 From: Fons Rademakers <Fons.Rademakers@cern.ch> Date: Tue, 26 Sep 2006 08:06:49 +0000 Subject: [PATCH] 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 --- gl/inc/TGLSAViewer.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gl/inc/TGLSAViewer.h b/gl/inc/TGLSAViewer.h index 754f70e65b4..b0690f87b01 100644 --- a/gl/inc/TGLSAViewer.h +++ b/gl/inc/TGLSAViewer.h @@ -1,4 +1,4 @@ -// @(#)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 /************************************************************************* @@ -24,7 +24,6 @@ class TGFrame; class TGCompositeFrame; class TGPopupMenu; class TGLSAFrame; -class TGTab; class TGedEditor; class TGLRenderArea; // Remove - replace with TGLManager @@ -93,7 +92,7 @@ public: TGLSAViewer(TGFrame * parent, TVirtualPad * pad); ~TGLSAViewer(); - virtual const char* GetName() const { return "Pupil"; } + virtual const char* GetName() const { return "GLViewer"; } void Show(); void Close(); @@ -101,6 +100,10 @@ public: // GUI events - editors, frame etc 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 }; -- GitLab