source:
orxonox.OLD/orxonox/branches/gui/console/orxonox_console_log.h
@
1920
Last change on this file since 1920 was 1890, checked in by bensch, 20 years ago | |
---|---|
File size: 545 bytes |
Rev | Line | |
---|---|---|
[1877] | 1 | #ifndef ORXONOX_CONSOLE_LOG_H |
2 | #define ORXONOX_CONSOLE_LOG_H | |
3 | ||
4 | /* standard headers */ | |
5 | #include <stdio.h> | |
6 | #include <stdlib.h> | |
[1880] | 7 | #include <string.h> |
[1877] | 8 | |
9 | /* GTK headers */ | |
[1880] | 10 | #include <gtk/gtk.h> |
[1877] | 11 | |
[1890] | 12 | extern int verbose; |
13 | ||
[1877] | 14 | class OrxonoxConsoleLog { |
15 | ||
16 | private: | |
17 | GtkWidget *frame; | |
[1880] | 18 | GtkWidget *scrollframe; |
[1877] | 19 | GtkWidget *logbox; |
[1882] | 20 | GtkWidget *logView; |
21 | GtkTextBuffer *log; | |
[1877] | 22 | GtkWidget *label; |
[1880] | 23 | |
24 | char *logtext; | |
[1877] | 25 | |
26 | ||
27 | ||
28 | ||
29 | public: | |
[1880] | 30 | |
[1877] | 31 | GtkWidget* createLog(void); |
32 | ||
[1880] | 33 | void OrxonoxConsoleLog::appendText(char* append); |
34 | void OrxonoxConsoleLog::clear(); | |
[1877] | 35 | }; |
36 | ||
37 | #endif | |
38 |
Note: See TracBrowser
for help on using the repository browser.