https://github.com/root-project/root
Raw File
Tip revision: 49ae85f5fe419209f949b04e8253a0015b8946a0 authored by Axel Naumann on 27 November 2023, 18:27:38 UTC
[foundation] Update version file to 6.30.02.
Tip revision: 49ae85f
guiviewer.h
// @(#)root/test:$Id$
// Author: Brett Viren   04/15/2001

#include "TGFrame.h"

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);
   ~Viewer() override;
   void DoButton();
   void DoSlider();
   void SetRange(Float_t xmin, Float_t ymin, Float_t xmax, Float_t ymax,
                 Bool_t move_slider = kTRUE);
   ClassDefOverride(Viewer,0) //GUI example
};
back to top