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