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();
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
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
TGButton* fBackButton; ///< navigation back
TGButton* fForwardButton; ///< navigation forward
TGLabel* fGroupTitle; ///< top title
+ TGButton* fPrintMeButton; ///< print button
+ TGButton* fPrintAsButton; ///< print... button
TArrayI fNavigation; ///< navigation "history"