]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/Reve/TrackEditors.h
Cleaned-up by using RGValuators instead of raw ROOT GUI (partial).
[u/mrichter/AliRoot.git] / EVE / Reve / TrackEditors.h
index 6054937b41a370c46d34efbd630a84eeed7f499a..ce5b301f2075c2cdd16703d4777cd795ab4d13ac 100644 (file)
@@ -8,6 +8,7 @@
 class TGCheckButton;
 class TGNumberEntry;
 class TGColorSelect;
+class TGLineWidthComboBox;
 
 namespace Reve {
 
@@ -24,12 +25,14 @@ class TrackListEditor : public TGedFrame
 protected:
   TrackList* fTC; // fModel dynamic-casted to TrackListEditor
 
-  TGNumberEntry*     fMaxR;
-  TGNumberEntry*     fMaxZ;
+  Reve::RGValuator*  fMaxR;
+  Reve::RGValuator*  fMaxZ;
   TGNumberEntry*     fMaxOrbits;
   TGNumberEntry*     fMinAng;
   TGNumberEntry*     fDelta;
 
+  TGLineWidthComboBox* fWidthCombo;
+
   TGCheckButton*     fRnrTracks;
   TGCheckButton*     fRnrMarkers;
 
@@ -39,10 +42,11 @@ protected:
   RGDoubleValuator*  fPtRange;
 
 public:
-  TrackListEditor(const TGWindow* p, Int_t id, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground());
+  TrackListEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
+                 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
   ~TrackListEditor();
 
-  virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event);
+  virtual void SetModel(TObject* obj);
 
   void DoMaxR();
   void DoMaxZ();
@@ -50,6 +54,8 @@ public:
   void DoMinAng();
   void DoDelta();
 
+  void DoLineWidth(Int_t width);
+
   void DoRnrTracks();
   void DoRnrMarkers();