]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPainterMasterFrame.h
- update track cuts
[u/mrichter/AliRoot.git] / MUON / AliMUONPainterMasterFrame.h
index 21e3074ab6d6b3d2d321805085ad477cf43131df..55bff6a499910d93c399e92bad8e7740d2f3b379 100644 (file)
@@ -33,7 +33,7 @@ class TObjArray;
 class AliMUONPainterMasterFrame : public TGCompositeFrame
 {
 public:
-  AliMUONPainterMasterFrame(const TGWindow* p, UInt_t w, UInt_t h);
+  AliMUONPainterMasterFrame(const TGWindow* p, UInt_t w, UInt_t h, AliMUONPainterMatrix* matrix);
   virtual ~AliMUONPainterMasterFrame();
 
   void Backward();
@@ -50,7 +50,13 @@ public:
 
   void Update();
 
-  void AttributesChanged(AliMUONAttPainter* newValues);
+  void AttributesChanged(const AliMUONAttPainter* newValues);
+  
+  void SaveAs(const char* filename = "", Option_t* option = "") const;
+  
+  void PrintAs() const;
+
+  void PrintMe() const;
   
 private:
   /// not implemented
@@ -59,12 +65,12 @@ private:
   AliMUONPainterMasterFrame& operator=(const AliMUONPainterMasterFrame& rhs);
   
   void AddPainterMatrix(AliMUONPainterMatrix* group);
-  void MakeTopPainterMatrix(UInt_t w, UInt_t h);
+  void MakeTopPainterMatrix(UInt_t w, UInt_t h, AliMUONPainterMatrix* matrix);
   void SetNavigation(Int_t i);
   void ShowPainterMatrix(AliMUONPainterMatrix* group);  
   void UpdateNavigation();
   void UpdateAttributes(const AliMUONPainterMatrix& painterMatrix);
-
+  
 private:
   TGHorizontalFrame* fNavigationFrame; ///< top frame for navigation
   AliMUONPainterMatrixFrame* fPainterMatrixFrame; ///< main frame with painters
@@ -72,6 +78,8 @@ private:
   TGButton* fBackButton; ///< navigation back 
   TGButton* fForwardButton; ///< navigation forward
   TGLabel* fGroupTitle; ///< top title
+  TGButton* fPrintMeButton; ///< print button
+  TGButton* fPrintAsButton; ///< print... button
   
   TArrayI fNavigation; ///< navigation "history"