Changeset 10312 for trunk/FACT++/src
- Timestamp:
- 04/07/11 16:36:33 (14 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/LocalControl.h
r10310 r10312 52 52 { } 53 53 54 //bool PrintGeneralHelp() 55 //bool PrintKeyBindings() 54 bool PrintGeneralHelp() 55 { 56 T::PrintGeneralHelp(); 57 lout << " " << kUnderline << "Specific commands:" << endl; 58 lout << kBold << " st,states " << kReset << "Display a list of the available states with description." << endl; 59 lout << endl; 60 return true; 61 } 56 62 bool PrintCommands() 57 63 { … … 65 71 bool Process(const std::string &str) 66 72 { 73 if (str=="states" || str=="st") 74 { 75 if (fStateMachine) 76 fStateMachine->PrintListOfStates(lout); 77 return true; 78 } 79 67 80 if (T::Process(str)) 68 81 return true; -
trunk/FACT++/src/RemoteControl.h
r10310 r10312 152 152 T::PrintGeneralHelp(); 153 153 lout << " " << kUnderline << "Specific commands:" << endl; 154 lout << kBold << " s,servers" << kReset << "List all servers which are connected." << endl;155 lout << kBold << " svc,services" << kReset << "List all services in the network." << endl;154 lout << kBold << " s,servers " << kReset << "List all servers which are connected." << endl; 155 lout << kBold << " svc,services " << kReset << "List all services in the network." << endl; 156 156 lout << endl; 157 157 return true; -
trunk/FACT++/src/Shell.cc
r10305 r10312 423 423 } 424 424 425 bool Shell::PrintKeyBindings() 426 { 427 ReadlineColor::PrintKeyBindings(win); 428 win << " " << kUnderline << "Special key bindings:" << endl << endl;; 429 win << kBold << " F1 " << kReset << "Toggle visibility of upper panel" << endl; 430 win << endl; 431 return true; 432 } 433 434 bool Shell::PrintGeneralHelp() 435 { 436 ReadlineColor::PrintGeneralHelp(win, GetName()); 437 win << kBold << " hide " << kReset << "Hide upper panel." << endl; 438 win << kBold << " show " << kReset << "Show upper panel." << endl; 439 win << kBold << " height <h> " << kReset << "Set height of upper panel to h." << endl; 440 win << endl; 441 return true; 442 } 443 425 444 // -------------------------------------------------------------------------- 426 445 // -
trunk/FACT++/src/Shell.h
r10305 r10312 57 57 void Refresh() { ShowHide(-2); } 58 58 59 bool Print GeneralHelp() { return ReadlineColor::PrintGeneralHelp(win, GetName()); }60 bool Print Commands() { return ReadlineColor::PrintCommands(win); }61 bool PrintKeyBindings() { return ReadlineColor::PrintKeyBindings(win); }59 bool PrintCommands() { return ReadlineColor::PrintCommands(win); } 60 bool PrintGeneralHelp(); 61 bool PrintKeyBindings(); 62 62 63 63 bool Process(const std::string &str);
Note:
See TracChangeset
for help on using the changeset viewer.