Changeset 1908 in orxonox.OLD for orxonox/branches/gui/console/orxonox_console_log.cc
- Timestamp:
- Jun 2, 2004, 12:55:48 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/gui/console/orxonox_console_log.cc
r1907 r1908 47 47 gtk_container_add(GTK_CONTAINER(scrollframe), logView); 48 48 gtk_container_add(GTK_CONTAINER(frame),scrollframe); 49 gtk_text_buffer_set_text (log, "Orxonox Console :\n", -1);49 gtk_text_buffer_set_text (log, "Orxonox Console started.\n", -1); 50 50 51 51 } … … 55 55 void OrxonoxConsoleLog::appendText(char* append) 56 56 { 57 GtkTextIter iter; 57 58 if (verbose>=1) 58 59 printf ("appending: %s\n", append); 59 60 strcat (append,"\n"); 61 gtk_text_buffer_get_start_iter (log, &iter); 62 gtk_text_buffer_place_cursor (log, &iter); 60 63 gtk_text_buffer_insert_at_cursor (log, append, -1); 61 64 return;
Note: See TracChangeset
for help on using the changeset viewer.