Changeset 19358
- Timestamp:
- 11/07/18 20:46:51 (6 years ago)
- Location:
- trunk/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mbase/MStatusDisplay.cc
r19328 r19358 774 774 AddStatusBar(); 775 775 776 BindKey(this, gVirtualX->KeysymToKeycode(' '), 0); 777 776 778 // 777 779 // set the smallest and biggest size of the Main frame … … 3550 3552 } 3551 3553 3554 Bool_t MStatusDisplay::HandleKey(Event_t *event) 3555 { 3556 if (event->fType==kGKeyPress && 3557 event->fCode==gVirtualX->KeysymToKeycode(' ') && 3558 fStatus==(Status_t)kLoopPause) 3559 fStatus = (Status_t)kLoopStep; 3560 3561 return kTRUE; 3562 } 3563 3552 3564 Bool_t MStatusDisplay::HandleEvent(Event_t *event) 3553 3565 { -
trunk/Mars/mbase/MStatusDisplay.h
r17146 r19358 308 308 void EventInfo(Int_t event, Int_t px, Int_t py, TObject *selected); 309 309 Bool_t HandleEvent(Event_t *event); 310 Bool_t HandleKey(Event_t *event); 310 311 311 312 // Public helper functions
Note:
See TracChangeset
for help on using the changeset viewer.