#include <NueGui.h>
Public Member Functions | |
| NueGroupFrame (NueGui *p, const char *) | |
| ~NueGroupFrame () | |
| Bool_t | ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2) |
|
||||||||||||
|
Definition at line 264 of file NueGui.cxx. 00265 : TGGroupFrame(p,title)
00266 {
00267 }
|
|
|
Definition at line 69 of file NueGui.h. 00069 {}
|
|
||||||||||||||||
|
Definition at line 269 of file NueGui.cxx. References Background::EBackground, Selection::ESelection, Systematic::ESystematic, and NueGui::UnCheckAllBut(). 00270 {
00271 switch (GET_MSG(msg)) {
00272 case kC_COMMAND:
00273 switch (GET_SUBMSG(msg)) {
00274 case kCM_CHECKBUTTON:
00275 if(parm1 < 100) {
00276 //this is background
00277 Background::Background_t bg = Background::EBackground(parm1-50);
00278 NueGui *ng = (NueGui*) this->GetParent();
00279 ng->UnCheckAllBut(bg);
00280 }
00281 else if (parm1 >= 100 && parm1<150) {
00282 //this is systematic
00283 Systematic::Systematic_t sys = Systematic::ESystematic(parm1-100);
00284 NueGui *ng = (NueGui*) this->GetParent();
00285 ng->UnCheckAllBut(sys);
00286 }
00287 if (parm1 >= 150 && parm1<200) {
00288 //this is selection
00289 Selection::Selection_t sel = Selection::ESelection(parm1-150);
00290 NueGui *ng = (NueGui*) this->GetParent();
00291 ng->UnCheckAllBut(sel);
00292 }
00293 break;
00294 default:
00295 break;
00296 }
00297 default:
00298 break;
00299 }
00300 return kTRUE;
00301 }
|
1.3.9.1