#include <HistoDisplay.h>
Public Member Functions | |
| HistoDisplaySlideTimer (HistoDisplay *histodisplay, Long_t msec=2000, Bool_t mode=kTRUE) | |
| Bool_t | Notify () |
| void | SetCurrentItem (TGListTreeItem *item) |
| TGListTreeItem * | GetCurrentItem () const |
| void | SetCurrentPad (TVirtualPad *pad) |
| TVirtualPad * | GetCurrentPad () const |
Private Attributes | |
| HistoDisplay * | fHistoDisplay |
| TGListTreeItem * | fCurrentItem |
| TVirtualPad * | fCurrentPad |
|
||||||||||||||||
|
Definition at line 509 of file HistoDisplay.h. References fHistoDisplay. 00511 : TTimer( msec, mode ) { fHistoDisplay = histodisplay; }
|
|
|
Definition at line 518 of file HistoDisplay.h. 00519 { return fCurrentItem; }
|
|
|
Definition at line 524 of file HistoDisplay.h. Referenced by HistoDisplay::ProcessMessage(). 00525 { return fCurrentPad; }
|
|
|
Definition at line 3397 of file HistoDisplay.cxx. References HistoDisplay::CycleSlides(), fCurrentItem, fCurrentPad, fHistoDisplay, HistoDisplay::fHistoListTree, HistoDisplay::fPauseHistoButton, HistoDisplay::fReadFileButton, HistoDisplay::fRestartHistoButton, HistoDisplay::fSelectedItem, HistoDisplay::Green, and HistoDisplay::Running. 03398 {
03399 //cout << " In Notify (Slide Timer ) " << endl;
03400
03401 if ( this &&
03402 !fHistoDisplay->Running ) {
03403
03404 fHistoDisplay->Running = kFALSE;
03405
03406
03407
03408 TurnOff(); // same as Remove();
03409
03410 fHistoDisplay->fPauseHistoButton->SetState( kButtonDisabled );
03411 fHistoDisplay->fRestartHistoButton->SetState( kButtonUp );
03412
03413 fHistoDisplay->fHistoListTree
03414 ->HighlightItem( fHistoDisplay->fSelectedItem );
03415 fHistoDisplay->fClient->NeedRedraw( fHistoDisplay->fHistoListTree );
03416
03417 //cout << "Update done" << endl << endl;
03418 cout << "Slide show stopped" << endl << endl;
03419
03420
03421 } //if ( this &&
03422
03423 //fHistoDisplay->CycleSlides( fCurrentItem );
03424 fHistoDisplay->CycleSlides( fCurrentItem, fCurrentPad );
03425 fHistoDisplay->fReadFileButton->ChangeBackground(fHistoDisplay->Green);
03426 // cout << "Button changed to green\n";
03427 gClient->NeedRedraw(fHistoDisplay->fReadFileButton);
03428 Reset();
03429 return kFALSE;
03430
03431 }
|
|
|
Definition at line 515 of file HistoDisplay.h. References fCurrentItem. 00516 { fCurrentItem = item; }
|
|
|
Definition at line 521 of file HistoDisplay.h. References fCurrentPad. 00522 { fCurrentPad = pad; }
|
|
|
Definition at line 506 of file HistoDisplay.h. Referenced by Notify(), and SetCurrentItem(). |
|
|
Definition at line 507 of file HistoDisplay.h. Referenced by Notify(), and SetCurrentPad(). |
|
|
Definition at line 505 of file HistoDisplay.h. Referenced by HistoDisplaySlideTimer(), and Notify(). |
1.3.9.1