Last change
on this file since 3563 was
1893,
checked in by bensch, 21 years ago
|
orxonox/branches/gui: added guicc: a c++ version of the gui, that should be object-oriented
|
File size:
666 bytes
|
Line | |
---|
1 | #ifndef ORXONOX_CONSOLE_ENTRY_H |
---|
2 | #define ORXONOX_CONSOLE_ENTRY_H |
---|
3 | |
---|
4 | /* standard headers */ |
---|
5 | #include <stdio.h> |
---|
6 | |
---|
7 | /* GTK headers */ |
---|
8 | #include <gtk/gtk.h> |
---|
9 | |
---|
10 | #include "orxonox_console_log.h" |
---|
11 | |
---|
12 | extern int verbose; |
---|
13 | |
---|
14 | class OrxonoxConsoleEntry { |
---|
15 | |
---|
16 | private: |
---|
17 | GtkWidget *frame; |
---|
18 | GtkWidget *entrybox; |
---|
19 | GtkWidget *label; |
---|
20 | GtkWidget *button; |
---|
21 | GtkWidget *entry; |
---|
22 | OrxonoxConsoleLog* consoleLog; |
---|
23 | |
---|
24 | |
---|
25 | |
---|
26 | public: |
---|
27 | OrxonoxConsoleEntry(void); |
---|
28 | OrxonoxConsoleEntry(OrxonoxConsoleLog* log); |
---|
29 | |
---|
30 | GtkWidget* createEntry(void); |
---|
31 | void setLog(OrxonoxConsoleLog* log); |
---|
32 | static void submit(GtkWidget *widget, OrxonoxConsoleEntry* entry); |
---|
33 | void sendtoLog(char* submitText); |
---|
34 | |
---|
35 | }; |
---|
36 | |
---|
37 | |
---|
38 | #endif |
---|
39 | |
---|
Note: See
TracBrowser
for help on using the repository browser.