Revision e1998afc5ea112f4d3a11f9941ebc009427dec9e authored by Philippe Canal on 21 March 2016, 20:37:55 UTC, committed by Philippe Canal on 21 March 2016, 20:41:03 UTC
1 parent 8c82e30
Raw File
guiviewer.h
// @(#)root/test:$Id$
// 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