// @(#)root/ged:$Id$ // Author: Denis Favre-Miville 08/09/05 /************************************************************************* * Copyright (C) 1995-2004, 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_TStyleManager #define ROOT_TStyleManager #include "TGFrame.h" #include "TGNumberEntry.h" class TGButtonGroup; class TGCheckButton; class TGColorSelect; class TGComboBox; class TGCompositeFrame; class TGedMarkerSelect; class TGedPatternSelect; class TGFileInfo; class TGFontTypeComboBox; class TGHButtonGroup; class TGHorizontal3DLine; class TGHorizontalFrame; class TGLabel; class TGLayoutHints; class TGLineStyleComboBox; class TGLineWidthComboBox; class TGMainFrame; class TGMatrixLayout; class TGMenuBar; class TGPicture; class TGPictureButton; class TGPopupMenu; class TGRadioButton; class TGStatusBar; class TGTab; class TGTextButton; class TGTextEntry; class TGToolBar; class TGVerticalFrame; class TList; class TObject; class TStyle; class TStylePreview; class TVirtualPad; class TStyleManager : public TGMainFrame { private: static TStyleManager *fgStyleManager; ///< singleton style manager TStyle *fCurSelStyle; ///< current selected style Bool_t fLastChoice; ///< kTRUE if the user choose OK in the last TStyleDialog Bool_t fRealTimePreview; ///< kTRUE if auto refreshed preview Int_t fCurTabNum; ///< current opened tab number Int_t fCurTabAxisNum; ///< current opened axis tab number UInt_t fSMWidth; ///< style manager's width UInt_t fSMHeight; ///< style manager's height Bool_t fStyleChanged; ///< kTRUE if the style has been modified Bool_t fMoreAndNotLess; ///< kTRUE when editor is open Bool_t fSigSlotConnected; ///< kTRUE when signal/slots connected Bool_t fAllAndNotCurrent; ///