/[PAMELA software]/eventviewer/flight/src/FEVpamevcontrol.cpp
ViewVC logotype

Diff of /eventviewer/flight/src/FEVpamevcontrol.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by mocchiut, Thu Nov 8 14:00:53 2007 UTC revision 1.8 by mocchiut, Tue Oct 14 09:21:27 2008 UTC
# Line 569  void PAMevcontrol::SetFilename() { Line 569  void PAMevcontrol::SetFilename() {
569      TGTextEntry *entry = (TGTextEntry*)gTQSender;      TGTextEntry *entry = (TGTextEntry*)gTQSender;
570      TString text = entry->GetText();      TString text = entry->GetText();
571      cvar->thefilename=text.Data();      cvar->thefilename=text.Data();
572        cvar->i = 0;
573      cvar->nevents = 0;      cvar->nevents = 0;
574      cvar->firstevno = 0;      cvar->firstevno = 0;
575      cvar->lastevno = 0;      cvar->lastevno = 0;
# Line 759  void PAMevcontrol::StopSearching() { Line 760  void PAMevcontrol::StopSearching() {
760  void PAMevcontrol::RefreshButtons() {  void PAMevcontrol::RefreshButtons() {
761    if ( cvar->jumprog ){    if ( cvar->jumprog ){
762      jbwc1->SetState(kButtonDown);      jbwc1->SetState(kButtonDown);
763        jbwc0->SetState(kButtonUp);
764    } else {    } else {
765        jbwc1->SetState(kButtonUp);
766      jbwc0->SetState(kButtonDown);      jbwc0->SetState(kButtonDown);
767    };    };
768    if ( cvar->fl0 ){    if ( cvar->fl0 ){
# Line 770  void PAMevcontrol::RefreshButtons() { Line 773  void PAMevcontrol::RefreshButtons() {
773    //  if ( cvar->tracknds4) ftrks4->SetState(kButtonDown);    //  if ( cvar->tracknds4) ftrks4->SetState(kButtonDown);
774    if ( cvar->bw ){    if ( cvar->bw ){
775      bwc1->SetState(kButtonDown);      bwc1->SetState(kButtonDown);
776        bwc0->SetState(kButtonUp);
777    } else {    } else {
778      bwc0->SetState(kButtonDown);      bwc0->SetState(kButtonDown);
779        bwc1->SetState(kButtonUp);
780    };    };
781    if ( cvar->PALETTE) fchkpalette->SetState(kButtonDown); else fchkpalette->SetState(kButtonUp);    if ( cvar->PALETTE) fchkpalette->SetState(kButtonDown); else fchkpalette->SetState(kButtonUp);
782    if ( cvar->VINFOS ) fchknames->SetState(kButtonDown); else fchknames->SetState(kButtonUp);    if ( cvar->VINFOS ) fchknames->SetState(kButtonDown); else fchknames->SetState(kButtonUp);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.23