CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CmsShowCommonPopup.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_CmsShowCommonPopup_h
2 #define Fireworks_Core_CmsShowCommonPopup_h
3 
4 #ifndef __CINT__
5 #include <boost/shared_ptr.hpp>
6 #endif
7 #include "GuiTypes.h"
8 #include "TGFrame.h"
10 #ifndef __CINT__
12 #endif
13 
14 class TGHSlider;
15 class TGLabel;
16 class TGTextButton;
17 class TGCheckButton;
18 class CmsShowCommon;
19 class FWColorManager;
20 class FWColorSelect;
21 class FWParameterBase;
23 
24 class CmsShowCommonPopup : public TGTransientFrame, public FWParameterSetterEditorBase
25 {
26 public:
27  CmsShowCommonPopup( CmsShowCommon*, const TGWindow* p = 0, UInt_t w = 1, UInt_t h = 1);
28  virtual ~CmsShowCommonPopup();
29 
30  // ---------- member functions ---------------------------
31 
32  virtual void CloseWindow() { UnmapWindow(); }
33 
34  void switchBackground();
35  void changeGeomColor(Color_t);
36  void changeGeomTransparency2D(int);
37  void changeGeomTransparency3D(int);
38  void colorSetChanged();
39 
41 
42 private:
45 
46  void makeSetter(TGCompositeFrame* frame, FWParameterBase* param);
47  // ---------- member data --------------------------------
48 
50 
51  TGTextButton *m_backgroundButton;
52  TGHSlider *m_gammaSlider;
53  TGTextButton *m_gammaButton;
54 
55 #ifndef __CINT__
57  std::vector<boost::shared_ptr<FWParameterSetterBase> > m_setters;
58 #endif
59 };
60 
61 
62 #endif
CmsShowCommonPopup(CmsShowCommon *, const TGWindow *p=0, UInt_t w=1, UInt_t h=1)
FWColorSelect * m_colorSelectWidget[kFWGeomColorSize]
const CmsShowCommonPopup & operator=(const CmsShowCommonPopup &)
void makeSetter(TGCompositeFrame *frame, FWParameterBase *param)
ClassDef(CmsShowCommonPopup, 0)
virtual void CloseWindow()
TGTextButton * m_gammaButton
TGTextButton * m_backgroundButton
void changeGeomTransparency2D(int)
void changeGeomTransparency3D(int)
void changeGeomColor(Color_t)
CmsShowCommon * m_common
std::vector< boost::shared_ptr< FWParameterSetterBase > > m_setters
unsigned int UInt_t
Definition: FUTypes.h:12
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4