test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
CmsShowCommonPopup Class Reference

#include <CmsShowCommonPopup.h>

Inheritance diagram for CmsShowCommonPopup:
FWParameterSetterEditorBase

Public Member Functions

void changeGeomColor (Color_t)
 
void changeGeomTransparency2D (int)
 
void changeGeomTransparency3D (int)
 
void changeSelectionColorSet (Color_t)
 
 ClassDef (CmsShowCommonPopup, 0)
 
virtual void CloseWindow ()
 
 CmsShowCommonPopup (CmsShowCommon *, const TGWindow *p=0, UInt_t w=1, UInt_t h=1)
 
void colorSetChanged ()
 
TGComboBox * getCombo ()
 
void permuteColors ()
 
void randomizeColors ()
 
void setPaletteGUI ()
 
void switchBackground ()
 
virtual ~CmsShowCommonPopup ()
 
- Public Member Functions inherited from FWParameterSetterEditorBase
 FWParameterSetterEditorBase ()
 
virtual void updateEditor ()
 
virtual ~FWParameterSetterEditorBase ()
 

Private Member Functions

 CmsShowCommonPopup (const CmsShowCommonPopup &)
 
void getColorSetColors (int &hci, int &sci)
 
TGFrame * makeSetter (TGCompositeFrame *frame, FWParameterBase *param)
 
const CmsShowCommonPopupoperator= (const CmsShowCommonPopup &)
 

Private Attributes

TGTextButton * m_backgroundButton
 
FWColorSelectm_colorRnrCtxHighlightWidget
 
FWColorSelectm_colorRnrCtxSelectWidget
 
FWColorSelectm_colorSelectWidget [kFWGeomColorSize]
 
TGComboBox * m_combo
 
CmsShowCommonm_common
 
TGTextButton * m_gammaButton
 
TGHSlider * m_gammaSlider
 
std::vector< boost::shared_ptr
< FWParameterSetterBase > > 
m_setters
 

Detailed Description

Definition at line 25 of file CmsShowCommonPopup.h.

Constructor & Destructor Documentation

CmsShowCommonPopup::CmsShowCommonPopup ( CmsShowCommon model,
const TGWindow *  p = 0,
UInt_t  w = 1,
UInt_t  h = 1 
)

Definition at line 31 of file CmsShowCommonPopup.cc.

References FWGenericParameter< T >::changed_, CmsShowCommon::colorManager(), f, FWColorManager::geomColor(), FWColorManager::geomTransparency(), getColorSetColors(), i, j, relval_2017::k, kFWGeomColorSize, kFWMuonBarrelLineColorIndex, kFWMuonEndcapLineColorIndex, kFWPixelBarrelColorIndex, kFWPixelEndcapColorIndex, kFWTrackerBarrelColorIndex, kFWTrackerEndcapColorIndex, diffTwoXMLs::label, m_backgroundButton, m_colorRnrCtxHighlightWidget, m_colorRnrCtxSelectWidget, m_colorSelectWidget, m_combo, m_common, CmsShowCommon::m_drawBreakPoints, CmsShowCommon::m_energyScale, CmsShowCommon::m_gamma, CmsShowCommon::m_palette, CmsShowCommon::m_trackBreak, makeSetter(), cscdqm::h::names, edmIntegrityCheck::pool, FWColorSelect::SetColorByIndex(), setPaletteGUI(), and AlCaHLTBitMon_QueryRunRegistry::string.

31  :
32  TGTransientFrame(gClient->GetDefaultRoot(),p,w,h),
33  m_common(model),
35  m_gammaSlider(0),
36  m_gammaButton(0),
39  m_combo(0)
40 {
41  SetCleanup(kDeepCleanup);
42 
43  TGGC *fTextGC;
44  const TGFont *font = gClient->GetFont("-adobe-helvetica-bold-r-*-*-14-*-*-*-*-*-iso8859-1");
45  if (!font)
46  font = gClient->GetResourcePool()->GetDefaultFont();
47  GCValues_t gval;
48  gval.fMask = kGCBackground | kGCFont | kGCForeground;
49  gval.fFont = font->GetFontHandle();
50  fTextGC = gClient->GetGC(&gval, kTRUE);
51 
52 
53  TGCompositeFrame* vf2 = new TGVerticalFrame(this);
54  AddFrame(vf2, new TGLayoutHints(kLHintsExpandX, 2, 2, 2, 2));
55  //==============================================================================
56  // scales
57  //
58  {
59  TGLabel* xx = new TGLabel(vf2, "GlobalScales ", fTextGC->GetGC());
60  vf2->AddFrame(xx, new TGLayoutHints(kLHintsLeft, 2,2,4,4));
61  }
63  vf2->AddFrame(scaleEditor);
64  //==============================================================================
65  // Projections
66  //
67  vf2->AddFrame(new TGHorizontal3DLine(vf2), new TGLayoutHints(kLHintsExpandX, 4,8,3,3));
68  {
69  TGLabel* xx = new TGLabel(vf2, "Projections ", fTextGC->GetGC());
70  vf2->AddFrame(xx, new TGLayoutHints(kLHintsLeft, 2,2,4,4));
71  }
72  vf2->AddFrame(new TGLabel(vf2, "Track behavior when crossing y=0 in RhoZ view:"),
73  new TGLayoutHints(kLHintsLeft, 2,2,0,0));
76 
77  //==============================================================================
78  // general colors
79  //
80 
81  vf2->AddFrame(new TGHorizontal3DLine(vf2), new TGLayoutHints(kLHintsExpandX, 4,8,8,2));
82  {
83  TGLabel* xx = new TGLabel(vf2, "General Colors ", fTextGC->GetGC());
84  vf2->AddFrame(xx, new TGLayoutHints(kLHintsLeft,2,2,4,4));
85  }
86  {
87  TGCompositeFrame *hf = new TGHorizontalFrame(vf2);
88  vf2->AddFrame(hf, new TGLayoutHints(kLHintsExpandX));
89 
90  m_backgroundButton = new TGTextButton(hf, "Black/White Background");
91  hf->AddFrame(m_backgroundButton, new TGLayoutHints(kLHintsLeft|kLHintsCenterY, 2,2,2,2));
92  m_backgroundButton->Connect("Clicked()", "CmsShowCommonPopup", this, "switchBackground()");
93 
95  }
96 
97  TGFont* smallFont = 0;
98  FontStruct_t defaultFontStruct = m_backgroundButton->GetDefaultFontStruct();
99  try
100  {
101  TGFontPool *pool = gClient->GetFontPool();
102  TGFont* defaultFont = pool->GetFont(defaultFontStruct);
103  FontAttributes_t attributes = defaultFont->GetFontAttributes();
104  smallFont = pool->GetFont(attributes.fFamily, 8, attributes.fWeight, attributes.fSlant);
105  }
106  catch(...)
107  {
108  // Ignore exceptions.
109  }
110 
111 
112  // color palette swapping
113  if (1) {
114  const TGCompositeFrame* f = static_cast<const TGCompositeFrame*>(makeSetter(vf2, &m_common->m_palette));
115  // MTXXXX combo is at(0) (label on right!) and there is a tgframeelement in between!
116  // for (int i = 0; i < f->GetList()->GetEntries(); ++i)
117  // printf("QWE %d %s\n", i, ((TGFrameElement*)f->GetList()->At(i))->fFrame->ClassName());
118  // m_combo = static_cast<TGComboBox*>(f->GetList()->At(1));
119  m_combo = static_cast<TGComboBox*>(static_cast<TGFrameElement*>(f->GetList()->At(0))->fFrame);
120  m_common->m_palette.changed_.connect(boost::bind(&CmsShowCommonPopup::setPaletteGUI, this));
121 
122  TGCompositeFrame *hf = new TGHorizontalFrame(vf2);
123  vf2->AddFrame(hf, new TGLayoutHints(kLHintsExpandX));
124  {
125  TGButton *butt;
126  butt = new TGTextButton(hf, "Permute Colors");
127  butt->SetToolTipText("Randomize assigned collection colors");
128  hf->AddFrame(butt, new TGLayoutHints(kLHintsLeft|kLHintsCenterY, 2,2,2,2));
129  butt->Connect("Clicked()", "CmsShowCommonPopup", this, "permuteColors()");
130 
131 
132  butt = new TGTextButton(hf, "Randomize Colors");
133  butt->SetToolTipText("Randomize collection colors from full palette");
134  hf->AddFrame(butt, new TGLayoutHints(kLHintsNormal, 0, 0, 2,2));
135  butt->Connect("Clicked()", "CmsShowCommonPopup", this, "randomizeColors()");
136  }
137  }
138 
139  // rnrCtx colorset
140  {
141  int hci, sci;
142  getColorSetColors(hci, sci);
143  TGHorizontalFrame* top = new TGHorizontalFrame(vf2);
144  vf2->AddFrame(top);
145  {
146  TGHorizontalFrame* hf = new TGHorizontalFrame(top);
147  top->AddFrame(hf);
148 
149  m_colorRnrCtxHighlightWidget = new FWColorSelect(hf, "Highlight", 0, m_common->colorManager(), 3);
150  hf->AddFrame(m_colorRnrCtxHighlightWidget);
152  m_colorRnrCtxHighlightWidget->Connect("ColorChosen(Color_t)", "CmsShowCommonPopup", this, "changeSelectionColorSet(Color_t)");
153 
154  TGHorizontalFrame* lf = new TGHorizontalFrame(hf, 45, 16, kFixedSize);
155  TGLabel* label = new TGLabel(lf, "Higlight");
156  label->SetTextFont(smallFont);
157  lf->AddFrame(label);
158  hf->AddFrame(lf, new TGLayoutHints(kLHintsLeft|kLHintsCenterY));
159  }
160 
161  {
162  TGHorizontalFrame* hf = new TGHorizontalFrame(top);
163  top->AddFrame(hf);
164 
165  m_colorRnrCtxSelectWidget = new FWColorSelect(hf, "Selection", 0, m_common->colorManager(), 1);
166  hf->AddFrame(m_colorRnrCtxSelectWidget);
168  m_colorRnrCtxSelectWidget->Connect("ColorChosen(Color_t)", "CmsShowCommonPopup", this, "changeSelectionColorSet(Color_t)");
169 
170  TGHorizontalFrame* lf = new TGHorizontalFrame(hf, 45, 16, kFixedSize);
171  TGLabel* label = new TGLabel(lf, "Selection");
172  label->SetTextFont(smallFont);
173  lf->AddFrame(label);
174  hf->AddFrame(lf, new TGLayoutHints(kLHintsLeft|kLHintsCenterY));
175  }
176  }
177  vf2->AddFrame(new TGHorizontal3DLine(vf2), new TGLayoutHints(kLHintsExpandX, 4,8,8,2));
178 
179  //==============================================================================
180  // geom colors
181  //
182 
183  {
184  TGLabel* xx = new TGLabel(vf2, "DetectorColors ", fTextGC->GetGC());
185  vf2->AddFrame(xx, new TGLayoutHints(kLHintsLeft,2,2,8,0));
186  }
187 
188  TGHSlider* transpWidget2D = 0;
189  TGHSlider* transpWidget3D = 0;
190  TGCompositeFrame* top = new TGVerticalFrame(vf2);
191  vf2->AddFrame(top, new TGLayoutHints(kLHintsNormal, 2, 2, 2, 0));
192 
193  {
194  TGHorizontalFrame* hf = new TGHorizontalFrame(top);
195  hf->AddFrame(new TGLabel(hf, "Tansparency 2D:"), new TGLayoutHints(kLHintsBottom, 2, 2, 3, 3));
196  transpWidget2D = new TGHSlider(hf, 100, kSlider1);
197  hf->AddFrame( transpWidget2D);
198  top->AddFrame(hf,new TGLayoutHints( kLHintsNormal, 0, 0, 2, 2));
199  }
200  {
201  TGHorizontalFrame* hf = new TGHorizontalFrame(top);
202  hf->AddFrame(new TGLabel(hf, "Tansparency 3D:") , new TGLayoutHints(kLHintsBottom,2, 2, 2, 2 ));
203  transpWidget3D = new TGHSlider(hf, 100, kSlider1);
204  hf->AddFrame( transpWidget3D);
205  top->AddFrame(hf, new TGLayoutHints(kLHintsExpandX, 0, 0, 0, 10));
206  }
208  names[kFWPixelBarrelColorIndex ] = "Pixel Barrel";
209  names[kFWPixelEndcapColorIndex ] = "Pixel Endcap" ;
210  names[kFWTrackerBarrelColorIndex ] = "Tracker Barrel";
211  names[kFWTrackerEndcapColorIndex ] = "Tracker Endcap";
212  names[kFWMuonBarrelLineColorIndex] = "Muon Barrel";
213  names[kFWMuonEndcapLineColorIndex] = "Muon Endcap";
214  int i = 0;
215  for (int k = 0; k < 3; ++k)
216  {
217  TGHorizontalFrame* hf = new TGHorizontalFrame(top);
218  top->AddFrame(hf);
219 
220  for (int j = 0; j < 2; ++j)
221  {
222  m_colorSelectWidget[i] = new FWColorSelect(hf, names[i].c_str(), 0, m_common->colorManager(), i);
223  hf->AddFrame(m_colorSelectWidget[i]);
225  m_colorSelectWidget[i]->Connect("ColorChosen(Color_t)", "CmsShowCommonPopup", this, "changeGeomColor(Color_t)");
226 
227  TGHorizontalFrame* lf = new TGHorizontalFrame(hf, 100, 16, kFixedSize);
228  TGLabel* label = new TGLabel(lf, m_colorSelectWidget[i]->label().c_str());
229  label->SetTextFont(smallFont);
230  lf->AddFrame(label);
231  hf->AddFrame(lf, new TGLayoutHints(kLHintsLeft |kLHintsCenterY , 0, 0, 0,0));
232 
233  ++i;
234  }
235  }
236  //==============================================================================
237 
238  transpWidget2D->SetRange(0, 100);
239  transpWidget2D->SetPosition(m_common->colorManager()->geomTransparency(true));
240  transpWidget2D->Connect("PositionChanged(Int_t)", "CmsShowCommonPopup", this, "changeGeomTransparency2D(Int_t)");
241 
242  transpWidget3D->SetRange(0, 100);
243  transpWidget3D->SetPosition(m_common->colorManager()->geomTransparency(false));
244  transpWidget3D->Connect("PositionChanged(Int_t)", "CmsShowCommonPopup", this, "changeGeomTransparency3D(Int_t)");
245 
246  SetWindowName("Common Preferences");
247  MapSubwindows();
248  Resize(GetDefaultSize());
249  Layout();
250  CenterOnParent(kTRUE, TGTransientFrame::kTopRight);
251 }
int i
Definition: DBlmapReader.cc:9
FWColorSelect * m_colorSelectWidget[kFWGeomColorSize]
static const HistoName names[]
Color_t geomTransparency(bool projected) const
const double w
Definition: UKUtility.cc:23
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
void SetColorByIndex(Color_t iColor)
FWBoolParameter m_drawBreakPoints
Definition: CmsShowCommon.h:91
FWGeomColorIndex
TGTextButton * m_gammaButton
sigc::signal< void, T > changed_
const FWColorManager * colorManager() const
TGTextButton * m_backgroundButton
FWLongParameter m_gamma
Definition: CmsShowCommon.h:95
void getColorSetColors(int &hci, int &sci)
int j
Definition: DBlmapReader.cc:9
double f[11][100]
CmsShowCommon * m_common
TGFrame * makeSetter(TGCompositeFrame *frame, FWParameterBase *param)
std::auto_ptr< FWViewEnergyScale > m_energyScale
FWColorSelect * m_colorRnrCtxHighlightWidget
FWColorSelect * m_colorRnrCtxSelectWidget
FWEnumParameter m_trackBreak
Definition: CmsShowCommon.h:90
Color_t geomColor(FWGeomColorIndex) const
FWEnumParameter m_palette
Definition: CmsShowCommon.h:96
CmsShowCommonPopup::~CmsShowCommonPopup ( )
virtual

Definition at line 254 of file CmsShowCommonPopup.cc.

255 {}
CmsShowCommonPopup::CmsShowCommonPopup ( const CmsShowCommonPopup )
private

Member Function Documentation

void CmsShowCommonPopup::changeGeomColor ( Color_t  iColor)

Definition at line 269 of file CmsShowCommonPopup.cc.

References fwrapper::cs, m_common, and CmsShowCommon::setGeomColor().

270 {
271  TGColorSelect *cs = (TGColorSelect *) gTQSender;
272  FWGeomColorIndex cidx = FWGeomColorIndex(cs->WidgetId());
273  m_common->setGeomColor(cidx, iColor);
274 }
auto_ptr< ClusterSequence > cs
FWGeomColorIndex
CmsShowCommon * m_common
void setGeomColor(FWGeomColorIndex, Color_t)
void CmsShowCommonPopup::changeGeomTransparency2D ( int  iTransp)

Definition at line 295 of file CmsShowCommonPopup.cc.

References m_common, and CmsShowCommon::setGeomTransparency().

296 {
297  m_common->setGeomTransparency(iTransp, true);
298 }
void setGeomTransparency(int val, bool projected)
CmsShowCommon * m_common
void CmsShowCommonPopup::changeGeomTransparency3D ( int  iTransp)

Definition at line 301 of file CmsShowCommonPopup.cc.

References m_common, and CmsShowCommon::setGeomTransparency().

302 {
303  m_common->setGeomTransparency(iTransp, false);
304 }
void setGeomTransparency(int val, bool projected)
CmsShowCommon * m_common
void CmsShowCommonPopup::changeSelectionColorSet ( Color_t  idx)

Definition at line 278 of file CmsShowCommonPopup.cc.

References CmsShowCommon::colorManager(), fwrapper::cs, FWColorManager::isColorSetDark(), m_common, and findQualityFiles::v.

279 {
280  TGColorSelect *cs = (TGColorSelect *) gTQSender;
281 
282  //printf("~~~~~ changeSelectionColorSet sel[%d] idx[%d]\n", cs->WidgetId(), idx);
283  for (TEveElement::List_i it = gEve->GetViewers()->BeginChildren(); it != gEve->GetViewers()->EndChildren(); ++it)
284  {
285  TGLViewer* v = ((TEveViewer*)(*it))->GetGLViewer();
286 
287  TGLColorSet& colorset = m_common->colorManager()->isColorSetDark() ? v->RefDarkColorSet():v->RefLightColorSet();
288  colorset.Selection(cs->WidgetId()).SetColor(idx);
289  colorset.Selection(cs->WidgetId()+1).SetColor(idx); // implied selected/higlighted
290  }
291 }
auto_ptr< ClusterSequence > cs
const FWColorManager * colorManager() const
Bool_t isColorSetDark() const
CmsShowCommon * m_common
tuple idx
DEBUGGING if hasattr(process,&quot;trackMonIterativeTracking2012&quot;): print &quot;trackMonIterativeTracking2012 D...
CmsShowCommonPopup::ClassDef ( CmsShowCommonPopup  ,
 
)
virtual void CmsShowCommonPopup::CloseWindow ( )
inlinevirtual

Definition at line 34 of file CmsShowCommonPopup.h.

34 { UnmapWindow(); }
void CmsShowCommonPopup::colorSetChanged ( )

Definition at line 309 of file CmsShowCommonPopup.cc.

References CmsShowCommon::colorManager(), FWColorManager::geomColor(), getColorSetColors(), i, kFWGeomColorSize, m_colorRnrCtxHighlightWidget, m_colorRnrCtxSelectWidget, m_colorSelectWidget, m_common, and FWColorSelect::SetColorByIndex().

Referenced by FWGUIManager::finishUpColorChange().

310 {
311  for (int i = 0 ; i < kFWGeomColorSize; ++i)
312  m_colorSelectWidget[i]->SetColorByIndex(m_common->colorManager()->geomColor(FWGeomColorIndex(i)), kFALSE);
313 
314  int hci, sci;
315  getColorSetColors(hci, sci);
316  // printf("=============== colorSetChanged() dark ? [%d] %d %d \n",m_common->colorManager()->isColorSetDark(), hci, sci);
319 }
int i
Definition: DBlmapReader.cc:9
FWColorSelect * m_colorSelectWidget[kFWGeomColorSize]
void SetColorByIndex(Color_t iColor)
FWGeomColorIndex
const FWColorManager * colorManager() const
void getColorSetColors(int &hci, int &sci)
CmsShowCommon * m_common
FWColorSelect * m_colorRnrCtxHighlightWidget
FWColorSelect * m_colorRnrCtxSelectWidget
Color_t geomColor(FWGeomColorIndex) const
void CmsShowCommonPopup::getColorSetColors ( int &  hci,
int &  sci 
)
private

Definition at line 321 of file CmsShowCommonPopup.cc.

References CmsShowCommon::colorManager(), glc, FWColorManager::isColorSetDark(), m_common, CmsShowCommon::m_darkColorSet, and CmsShowCommon::m_lightColorSet.

Referenced by CmsShowCommonPopup(), and colorSetChanged().

322 {
323  TGLColorSet& colorset = m_common->colorManager()->isColorSetDark() ?
325  {
326  TGLColor& glc = colorset.Selection(3);
327  hci = TColor::GetColor(glc.GetRed(), glc.GetGreen(), glc.GetBlue());
328  // printf("getSHcolors HIGH %d %d %d , [%d]\n", glc.GetRed(), glc.GetGreen(), glc.GetBlue(), hci);
329  }
330  {
331  TGLColor& glc = colorset.Selection(1);
332  sci = TColor::GetColor(glc.GetRed(), glc.GetGreen(), glc.GetBlue());
333  // printf("getSHcolors SEL %d %d %d , [%d]\n", glc.GetRed(), glc.GetGreen(), glc.GetBlue(), sci);
334  }
335 }
TGLColorSet m_lightColorSet
const FWColorManager * colorManager() const
Bool_t isColorSetDark() const
CmsShowCommon * m_common
globcontrol glc
Definition: vlib.cc:6
TGLColorSet m_darkColorSet
TGComboBox* CmsShowCommonPopup::getCombo ( )
inline

Definition at line 47 of file CmsShowCommonPopup.h.

References m_combo.

Referenced by CmsShowCommon::loopPalettes().

47 {return m_combo;}
TGFrame * CmsShowCommonPopup::makeSetter ( TGCompositeFrame *  frame,
FWParameterBase param 
)
private

Definition at line 338 of file CmsShowCommonPopup.cc.

References m_setters, and FWParameterSetterBase::makeSetterFor().

Referenced by CmsShowCommonPopup().

339 {
340  boost::shared_ptr<FWParameterSetterBase> ptr( FWParameterSetterBase::makeSetterFor(param) );
341  ptr->attach(param, this);
342 
343  TGFrame* pframe = ptr->build(frame);
344  frame->AddFrame(pframe, new TGLayoutHints(kLHintsExpandX, 0, 0, 2, 2));
345 
346  m_setters.push_back(ptr);
347  return pframe;
348 }
static boost::shared_ptr< FWParameterSetterBase > makeSetterFor(FWParameterBase *)
std::vector< boost::shared_ptr< FWParameterSetterBase > > m_setters
const CmsShowCommonPopup& CmsShowCommonPopup::operator= ( const CmsShowCommonPopup )
private
void CmsShowCommonPopup::permuteColors ( )

Definition at line 266 of file CmsShowCommonPopup.cc.

References m_common, and CmsShowCommon::permuteColors().

266 { m_common->permuteColors(); }
CmsShowCommon * m_common
void permuteColors()
void CmsShowCommonPopup::randomizeColors ( )

Definition at line 263 of file CmsShowCommonPopup.cc.

References m_common, and CmsShowCommon::randomizeColors().

void randomizeColors()
CmsShowCommon * m_common
void CmsShowCommonPopup::setPaletteGUI ( )

Definition at line 353 of file CmsShowCommonPopup.cc.

References fireworks::Context::colorManager(), FWColorManager::geomColor(), i, kFWGeomColorSize, m_colorSelectWidget, m_common, CmsShowCommon::m_context, FWColorSelect::SetColorByIndex(), and CmsShowCommon::setPalette().

Referenced by CmsShowCommonPopup().

354 {
355  m_common->setPalette();
356 
357  for (int i = 0 ; i < kFWGeomColorSize; ++i) {
359  // m_common->m_geomColors[i]->set(cm->geomColor(FWGeomColorIndex(i)));
361  }
362 }
int i
Definition: DBlmapReader.cc:9
FWColorSelect * m_colorSelectWidget[kFWGeomColorSize]
void SetColorByIndex(Color_t iColor)
FWColorManager * colorManager() const
Definition: Context.h:65
FWGeomColorIndex
CmsShowCommon * m_common
fireworks::Context * m_context
Definition: CmsShowCommon.h:88
Color_t geomColor(FWGeomColorIndex) const
void CmsShowCommonPopup::switchBackground ( )

Definition at line 260 of file CmsShowCommonPopup.cc.

References m_common, and CmsShowCommon::switchBackground().

CmsShowCommon * m_common
void switchBackground()

Member Data Documentation

TGTextButton* CmsShowCommonPopup::m_backgroundButton
private

Definition at line 60 of file CmsShowCommonPopup.h.

Referenced by CmsShowCommonPopup().

FWColorSelect* CmsShowCommonPopup::m_colorRnrCtxHighlightWidget
private

Definition at line 65 of file CmsShowCommonPopup.h.

Referenced by CmsShowCommonPopup(), and colorSetChanged().

FWColorSelect* CmsShowCommonPopup::m_colorRnrCtxSelectWidget
private

Definition at line 66 of file CmsShowCommonPopup.h.

Referenced by CmsShowCommonPopup(), and colorSetChanged().

FWColorSelect* CmsShowCommonPopup::m_colorSelectWidget[kFWGeomColorSize]
private

Definition at line 64 of file CmsShowCommonPopup.h.

Referenced by CmsShowCommonPopup(), colorSetChanged(), and setPaletteGUI().

TGComboBox* CmsShowCommonPopup::m_combo
private

Definition at line 69 of file CmsShowCommonPopup.h.

Referenced by CmsShowCommonPopup(), and getCombo().

CmsShowCommon* CmsShowCommonPopup::m_common
private
TGTextButton* CmsShowCommonPopup::m_gammaButton
private

Definition at line 62 of file CmsShowCommonPopup.h.

TGHSlider* CmsShowCommonPopup::m_gammaSlider
private

Definition at line 61 of file CmsShowCommonPopup.h.

std::vector<boost::shared_ptr<FWParameterSetterBase> > CmsShowCommonPopup::m_setters
private

Definition at line 67 of file CmsShowCommonPopup.h.

Referenced by makeSetter().