Changeset 1884 in orxonox.OLD for orxonox/branches/gui/console/orxonox_console_entry.cc
- Timestamp:
- May 10, 2004, 1:22:35 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/gui/console/orxonox_console_entry.cc
r1882 r1884 27 27 #include "orxonox_console_entry.h" 28 28 29 /*OrxonoxConsoleEntry::OrxonoxConsoleEntry(OrxonoxConsoleLog* log) 30 { 29 30 OrxonoxConsoleEntry* OrxonoxConsoleEntry::test = 0; 31 32 /* 33 OrxonoxConsoleEntry::OrxonoxConsoleEntry(OrxonoxConsoleLog* log, 34 OrxonoxConsoleEntry* test) 35 { 31 36 consoleLog = log; 32 }*/ 37 38 } 39 */ 33 40 34 41 GtkWidget* OrxonoxConsoleEntry::createEntry() … … 55 62 } 56 63 57 void OrxonoxConsoleEntry::setLog(OrxonoxConsoleLog* log )64 void OrxonoxConsoleEntry::setLog(OrxonoxConsoleLog* log, OrxonoxConsoleEntry* entry) 58 65 { 59 66 consoleLog = log; 67 test = entry; 60 68 } 61 69 … … 65 73 char* entryText = (char*)gtk_entry_get_text(GTK_ENTRY(entry)); 66 74 printf("%s\n", entryText); 67 //sendtoLog(entryText);75 test->sendtoLog(entryText); 68 76 gtk_entry_set_text(GTK_ENTRY(entry),""); 69 77 // freen entryText;
Note: See TracChangeset
for help on using the changeset viewer.