Changeset 7456 in orxonox.OLD for trunk/src/lib/shell
- Timestamp:
- Apr 29, 2006, 11:23:10 PM (19 years ago)
- Location:
- trunk/src/lib/shell
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command.cc
r7422 r7456 39 39 { 40 40 this->setClassID(CL_SHELL_COMMAND, "ShellCommand"); 41 PRINTF( 5)("create shellcommand %s %s\n", commandName, className);41 PRINTF(4)("create shellcommand '%s' for class '%s'\n", commandName.c_str(), className.c_str()); 42 42 this->setName(commandName); 43 43 -
trunk/src/lib/shell/shell_input.cc
r7455 r7456 29 29 #include "stdlibincl.h" 30 30 #include "key_names.h" 31 32 33 34 35 31 36 32 namespace OrxShell … … 46 42 */ 47 43 ShellInput::ShellInput () 48 : MultiLineText ("") 49 { 50 this->setLineWidth(100); 51 44 : Text ("") 45 { 52 46 this->pressedKey = SDLK_FIRST; 53 47 this->setClassID(CL_SHELL_INPUT, "ShellInput"); -
trunk/src/lib/shell/shell_input.h
r7455 r7456 10 10 #define _SHELL_INPUT_H 11 11 12 #include " multi_line_text.h"12 #include "text.h" 13 13 #include "event_listener.h" 14 14 #include "shell_completion.h" … … 28 28 * [UP] and [DOWN] move through the history of allready given commands. 29 29 */ 30 class ShellInput : public MultiLineText, public EventListener30 class ShellInput : public Text, public EventListener 31 31 { 32 32
Note: See TracChangeset
for help on using the changeset viewer.