/usr/include/root/TGraphEditor.h is in libroot-gui-ged-dev 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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | // @(#)root/ged:$Id$
// Author: Carsten Hof 28/07/04
/*************************************************************************
* Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TGraphEditor
#define ROOT_TGraphEditor
//////////////////////////////////////////////////////////////////////////
// //
// TGraphEditor //
// //
// Editor for changing Graph attributes. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TGedFrame
#include "TGedFrame.h"
#endif
class TGraph;
class TGButtonGroup;
class TGTextEntry;
class TGCheckButton;
class TGRadioButton;
class TGLineWidthComboBox;
class TGraphEditor : public TGedFrame {
protected:
char fDrawShape; // Shape of the Graph (simple, smooth, bar)
TGTextEntry *fTitle; // Contains the title of the graph
Int_t fTitlePrec; // font precision level
TGraph *fGraph; // Graph object
TGButtonGroup *fgr; // Group the Radiobuttons:
TGRadioButton *fShape; // just draw unconnected points
TGRadioButton *fShape0; // set smooth graph curve
TGRadioButton *fShape1; // set simple poly-line between every graph point
TGRadioButton *fShape2; // set graph draw mode to bar chart
TGRadioButton *fShape3; // set graph draw mode to fill area
TGLayoutHints *fShape1lh; // layout-hints for fShape1
TGCheckButton *fMarkerOnOff; // set Marker visible/unvisible
TGLineWidthComboBox *fWidthCombo; // Exclusion zone width
TGCheckButton *fExSide; // set the exclusion zone side
virtual void ConnectSignals2Slots();
public:
TGraphEditor(const TGWindow *p = 0,
Int_t width = 140, Int_t height = 30,
UInt_t options = kChildFrame,
Pixel_t back = GetDefaultFrameBackground());
virtual ~TGraphEditor();
virtual void SetModel(TObject* obj);
// slots related to graph attributes
virtual void DoShape();
virtual void DoMarkerOnOff(Bool_t on);
virtual void DoTitle(const char *text);
virtual void DoGraphLineWidth();
ClassDef(TGraphEditor,0) // graph editor
};
#endif
|