CMS 3D CMS Logo

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)
 
 ClassDefOverride (CmsShowCommonPopup, 0)
 
void CloseWindow () override
 
 CmsShowCommonPopup (CmsShowCommon *, const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1)
 
void colorSetChanged ()
 
TGComboBox * getCombo ()
 
void permuteColors ()
 
void randomizeColors ()
 
void setPaletteGUI ()
 
void switchBackground ()
 
 ~CmsShowCommonPopup () override
 
- 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< std::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 = nullptr,
UInt_t  w = 1,
UInt_t  h = 1 
)

Definition at line 32 of file CmsShowCommonPopup.cc.

References FWGenericParameter< T >::changed_, CmsShowCommon::colorManager(), f, FWColorManager::geomColor(), FWColorManager::geomTransparency(), getColorSetColors(), CmsShowCommon::getEnergyScale(), photonIsolationHIProducer_cfi::hf, mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, kFWGeomColorSize, kFWMuonBarrelLineColorIndex, kFWMuonEndcapLineColorIndex, kFWPixelBarrelColorIndex, kFWPixelEndcapColorIndex, kFWTrackerBarrelColorIndex, kFWTrackerEndcapColorIndex, label, m_backgroundButton, m_colorRnrCtxHighlightWidget, m_colorRnrCtxSelectWidget, m_colorSelectWidget, m_combo, m_common, CmsShowCommon::m_drawBreakPoints, CmsShowCommon::m_gamma, CmsShowCommon::m_palette, CmsShowCommon::m_trackBreak, makeSetter(), names, dqmiodatasetharvest::pool, FWColorSelect::SetColorByIndex(), setPaletteGUI(), AlCaHLTBitMon_QueryRunRegistry::string, and geometryCSVtoXML::xx.

Referenced by getCombo().

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

Definition at line 247 of file CmsShowCommonPopup.cc.

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

Member Function Documentation

void CmsShowCommonPopup::changeGeomColor ( Color_t  iColor)

Definition at line 257 of file CmsShowCommonPopup.cc.

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

Referenced by CloseWindow().

257  {
258  TGColorSelect* cs = (TGColorSelect*)gTQSender;
259  FWGeomColorIndex cidx = FWGeomColorIndex(cs->WidgetId());
260  m_common->setGeomColor(cidx, iColor);
261 }
unique_ptr< ClusterSequence > cs
FWGeomColorIndex
CmsShowCommon * m_common
void setGeomColor(FWGeomColorIndex, Color_t)
void CmsShowCommonPopup::changeGeomTransparency2D ( int  iTransp)

Definition at line 276 of file CmsShowCommonPopup.cc.

References m_common, and CmsShowCommon::setGeomTransparency().

Referenced by CloseWindow().

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

Definition at line 278 of file CmsShowCommonPopup.cc.

References m_common, and CmsShowCommon::setGeomTransparency().

Referenced by CloseWindow().

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

Definition at line 263 of file CmsShowCommonPopup.cc.

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

Referenced by CloseWindow().

263  {
264  TGColorSelect* cs = (TGColorSelect*)gTQSender;
265 
266  //printf("~~~~~ changeSelectionColorSet sel[%d] idx[%d]\n", cs->WidgetId(), idx);
267  for (TEveElement::List_i it = gEve->GetViewers()->BeginChildren(); it != gEve->GetViewers()->EndChildren(); ++it) {
268  TGLViewer* v = ((TEveViewer*)(*it))->GetGLViewer();
269 
270  TGLColorSet& colorset = m_common->colorManager()->isColorSetDark() ? v->RefDarkColorSet() : v->RefLightColorSet();
271  colorset.Selection(cs->WidgetId()).SetColor(idx);
272  colorset.Selection(cs->WidgetId() + 1).SetColor(idx); // implied selected/higlighted
273  }
274 }
unique_ptr< ClusterSequence > cs
const FWColorManager * colorManager() const
Bool_t isColorSetDark() const
CmsShowCommon * m_common
CmsShowCommonPopup::ClassDefOverride ( CmsShowCommonPopup  ,
 
)

Referenced by getCombo().

void CmsShowCommonPopup::CloseWindow ( )
inlineoverride
void CmsShowCommonPopup::colorSetChanged ( )

Definition at line 281 of file CmsShowCommonPopup.cc.

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

Referenced by CloseWindow(), and FWGUIManager::finishUpColorChange().

281  {
282  for (int i = 0; i < kFWGeomColorSize; ++i)
283  m_colorSelectWidget[i]->SetColorByIndex(m_common->colorManager()->geomColor(FWGeomColorIndex(i)), kFALSE);
284 
285  int hci, sci;
286  getColorSetColors(hci, sci);
287  // printf("=============== colorSetChanged() dark ? [%d] %d %d \n",m_common->colorManager()->isColorSetDark(), hci, sci);
290 }
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 292 of file CmsShowCommonPopup.cc.

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

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

292  {
293  TGLColorSet& colorset =
295  {
296  TGLColor& glc = colorset.Selection(3);
297  hci = TColor::GetColor(glc.GetRed(), glc.GetGreen(), glc.GetBlue());
298  // printf("getSHcolors HIGH %d %d %d , [%d]\n", glc.GetRed(), glc.GetGreen(), glc.GetBlue(), hci);
299  }
300  {
301  TGLColor& glc = colorset.Selection(1);
302  sci = TColor::GetColor(glc.GetRed(), glc.GetGreen(), glc.GetBlue());
303  // printf("getSHcolors SEL %d %d %d , [%d]\n", glc.GetRed(), glc.GetGreen(), glc.GetBlue(), sci);
304  }
305 }
TGLColorSet m_lightColorSet
const FWColorManager * colorManager() const
Bool_t isColorSetDark() const
CmsShowCommon * m_common
globcontrol glc
Definition: vlib.cc:5
TGLColorSet m_darkColorSet
TGComboBox* CmsShowCommonPopup::getCombo ( )
inline
TGFrame * CmsShowCommonPopup::makeSetter ( TGCompositeFrame *  frame,
FWParameterBase param 
)
private

Definition at line 307 of file CmsShowCommonPopup.cc.

References m_setters, and FWParameterSetterBase::makeSetterFor().

Referenced by CmsShowCommonPopup(), and getCombo().

307  {
308  std::shared_ptr<FWParameterSetterBase> ptr(FWParameterSetterBase::makeSetterFor(param));
309  ptr->attach(param, this);
310 
311  TGFrame* pframe = ptr->build(frame);
312  frame->AddFrame(pframe, new TGLayoutHints(kLHintsExpandX, 0, 0, 2, 2));
313 
314  m_setters.push_back(ptr);
315  return pframe;
316 }
std::vector< std::shared_ptr< FWParameterSetterBase > > m_setters
static std::shared_ptr< FWParameterSetterBase > makeSetterFor(FWParameterBase *)
const CmsShowCommonPopup& CmsShowCommonPopup::operator= ( const CmsShowCommonPopup )
private

Referenced by getCombo().

void CmsShowCommonPopup::permuteColors ( )

Definition at line 255 of file CmsShowCommonPopup.cc.

References m_common, and CmsShowCommon::permuteColors().

Referenced by CloseWindow(), and CmsShowCommon::gamma().

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

Definition at line 253 of file CmsShowCommonPopup.cc.

References m_common, and CmsShowCommon::randomizeColors().

Referenced by CloseWindow(), and CmsShowCommon::gamma().

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

Definition at line 318 of file CmsShowCommonPopup.cc.

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

Referenced by CloseWindow(), and CmsShowCommonPopup().

318  {
319  m_common->setPalette();
320 
321  for (int i = 0; i < kFWGeomColorSize; ++i) {
323  // m_common->m_geomColors[i]->set(cm->geomColor(FWGeomColorIndex(i)));
325  }
326 }
FWColorSelect * m_colorSelectWidget[kFWGeomColorSize]
void SetColorByIndex(Color_t iColor)
FWColorManager * colorManager() const
Definition: Context.h:58
FWGeomColorIndex
CmsShowCommon * m_common
fireworks::Context * m_context
Definition: CmsShowCommon.h:92
Color_t geomColor(FWGeomColorIndex) const
void CmsShowCommonPopup::switchBackground ( )

Definition at line 251 of file CmsShowCommonPopup.cc.

References m_common, and CmsShowCommon::switchBackground().

Referenced by CloseWindow(), and CmsShowCommon::gamma().

CmsShowCommon * m_common
void switchBackground()

Member Data Documentation

TGTextButton* CmsShowCommonPopup::m_backgroundButton
private

Definition at line 58 of file CmsShowCommonPopup.h.

Referenced by CmsShowCommonPopup().

FWColorSelect* CmsShowCommonPopup::m_colorRnrCtxHighlightWidget
private

Definition at line 63 of file CmsShowCommonPopup.h.

Referenced by CmsShowCommonPopup(), and colorSetChanged().

FWColorSelect* CmsShowCommonPopup::m_colorRnrCtxSelectWidget
private

Definition at line 64 of file CmsShowCommonPopup.h.

Referenced by CmsShowCommonPopup(), and colorSetChanged().

FWColorSelect* CmsShowCommonPopup::m_colorSelectWidget[kFWGeomColorSize]
private

Definition at line 62 of file CmsShowCommonPopup.h.

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

TGComboBox* CmsShowCommonPopup::m_combo
private

Definition at line 67 of file CmsShowCommonPopup.h.

Referenced by CmsShowCommonPopup(), and getCombo().

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

Definition at line 60 of file CmsShowCommonPopup.h.

TGHSlider* CmsShowCommonPopup::m_gammaSlider
private

Definition at line 59 of file CmsShowCommonPopup.h.

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

Definition at line 65 of file CmsShowCommonPopup.h.

Referenced by makeSetter().