Revision 5b5d22fc27783bd645341f12e906516285c450b4 authored by Rene Brun on 08 March 2004, 17:09:37 UTC, committed by Rene Brun on 08 March 2004, 17:09:37 UTC
instead of this macro, kept for back compatibility


git-svn-id: http://root.cern.ch/svn/root/trunk@8342 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 40d48b0
Raw File
guiviewer.h
// @(#)root/test:$Name:  $:$Id: guiviewer.h,v 1.2 2001/05/09 13:09:12 rdm Exp $
// Author: Brett Viren   04/15/2001

#ifndef ROOT_TGFrame
#include "TGFrame.h"
#endif

class TList;
class TCanvas;
class TRootEmbeddedCanvas;
class TGaxis;
class TGDoubleSlider;


class Viewer : public TGMainFrame {

private:
   TList               *fCleanup;
   TCanvas             *fCanvas;
   TRootEmbeddedCanvas *fHScaleCanvas, *fVScaleCanvas;
   TGaxis              *fHScale, *fVScale;
   TGDoubleSlider      *fHSlider;
   TGDoubleSlider      *fVSlider;

public:
   Viewer(const TGWindow *win);
   virtual ~Viewer();
   void DoButton();
   void DoSlider();
   void SetRange(Float_t xmin, Float_t ymin, Float_t xmax, Float_t ymax,
                 Bool_t move_slider = kTRUE);
   ClassDef(Viewer,0) //GUI example
};
back to top