/usr/share/doc/root/test/guiviewer.h is in root-system-doc 5.34.14-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | // @(#)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
};
|