NueGroupFrame Class Reference

#include <NueGui.h>

List of all members.

Public Member Functions

 NueGroupFrame (NueGui *p, const char *)
 ~NueGroupFrame ()
Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)

Detailed Description

Definition at line 62 of file NueGui.h.


Constructor & Destructor Documentation

NueGroupFrame::NueGroupFrame ( NueGui p,
const char *  title 
)

Definition at line 264 of file NueGui.cxx.

00265   : TGGroupFrame(p,title)
00266 {
00267 }

NueGroupFrame::~NueGroupFrame (  )  [inline]

Definition at line 69 of file NueGui.h.

00069 {}


Member Function Documentation

Bool_t NueGroupFrame::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
)

Definition at line 269 of file NueGui.cxx.

References 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 }


The documentation for this class was generated from the following files:

Generated on 17 Dec 2018 for loon by  doxygen 1.6.1